Difference between revisions of "Results.tsv"

From PC2wiki
Jump to: navigation, search
m (Generating Results.tsv: updated how results file generated)
m (=Using Admin: fixed syntax error)
Line 44: Line 44:
 
==Generating Results.tsv==
 
==Generating Results.tsv==
  
===Using Admin==
+
===Using Admin===
  
 
When a contest is finalized the results.tsv file can be viewed using the [[Export Tab]] (Admin | Run Contest | Export )
 
When a contest is finalized the results.tsv file can be viewed using the [[Export Tab]] (Admin | Run Contest | Export )

Revision as of 16:30, 24 November 2016

A CCS standard TSV file that contains contest results. This file is input to the ICPC CMS

File Format

Per the CCS spec.

A text file consisting of a version line and one line for each team in the contest, sorted in rank order with alphabetical order on team name as tie breaker. Each line has tab separated fields as defined below.

The first line has the following format

Field Description Example Type
1 Label results must be the string constant "results"
2 Version number 1 integer

Then follow several lines with the following format (one per team).

Field Description Example Type
1 External ID 24314 integer
2 Rank in contest 1 integer
3 Award Gold Medal string
4 Number of problems the team has solved 4 integer
5 Total Time 534 integer
6 Time of the last submission 233 integer
7 Group Winner North American string

Generating Results.tsv

Using Admin

When a contest is finalized the results.tsv file can be viewed using the Export Tab (Admin | Run Contest | Export ) and clicking the Save Results button to view the file.

The results.tsv file will be will be automatically generated to results/results.tsv starting in version 9.4. On the Finalize Tab there is a View button to view the contents of the file.

See Also