Skip to content

TeamReport spreadsheet generation #7

@spencerng

Description

@spencerng
  • Write a method in TeamReported that returns all of the names of its computed averages, counts, and attempt-success rates as a comma-separated string, in addition to the team number. This should include prefixes such as "avg" to differentiate between these values and raw data points, as this string will become the header of the TeamReport CSV file.
  • Write a method in TeamReport that returns the values of its computed averages, counts, and attempt-success rates as a comma-separated string.
  • Write a method in EventReport that iterates through all TeamReports of the event and outputs a CSV file (with a header) of all computed values. This should implement the methods you wrote before.
    • The format of the file should be the header as the first row, the team number as the first column, and the computed metric names as the remaining columns. The remaining rows should have the values of the computed metrics, with one row for each team at the event.
    • Ensure the file name of this CSV file is TeamReports - <event key>.csv.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions