Difference between revisions of "Results.tsv"

From PC2wiki
Jump to: navigation, search
m (See Also: add link)
(Added links to a new "CLICS" page.)
Line 1: Line 1:
A [[CCS]] standard TSV file that contains contest results.  This
+
A [[CLICS]] [[CCS]] specification TSV file that contains contest results.  This
file is input to the [[ICPC]] [[CMS]]
+
file is formatted such that it can be directly input to the [[ICPC]] [[CMS]].
  
 
==File Format==
 
==File Format==
  
Per the [[CCS]] spec.
+
Per the [[CLICS]] [[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.
+
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
 
The first line has the following format
Line 44: Line 44:
 
==Generating Results.tsv==
 
==Generating Results.tsv==
  
===Using Admin===
+
===Using the PC2 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 )
and clicking the Save Results button to view the file.
+
and then saved by clicking the Save Results button.
  
The results.tsv file will be will be automatically generated to results/results.tsv starting in version 9.4.
+
Starting with PC2 Version 9.4, the results.tsv file is automatically saved in results/results.tsv when the contest is Finalized.
 
On the [[Finalize Tab]] there is a View button to view the contents of the file.
 
On the [[Finalize Tab]] there is a View button to view the contents of the file.
  

Revision as of 13:39, 2 December 2016

A CLICS CCS specification TSV file that contains contest results. This file is formatted such that it can be directly input to the ICPC CMS.

File Format

Per the CLICS 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 the PC2 Admin

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

Starting with PC2 Version 9.4, the results.tsv file is automatically saved in results/results.tsv when the contest is Finalized. On the Finalize Tab there is a View button to view the contents of the file.

See Also