Difference between revisions of "Pc2export.dat"

From PC2wiki
Jump to: navigation, search
m (add link)
m (added note about uploading to CMS)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
pc2export.dat is a file created by the [[Export ICPC]] feature that contains standings information to be uploaded to the [[ICPC]] Web site.
+
pc2export.dat is a file created by the [[Export ICPC]] feature that contains standings information to be uploaded to the [[ICPC]] [[CMS]] site.
 +
 
 +
In [[Version 9]] this file is replaced by the [[results.tsv]] file for [[CMS]], see [[Upload to CMS]] article
 +
to determine which file/method to upload to the [[ICPC]] [[CMS]].
  
 
==Version 8==
 
==Version 8==
Line 8: Line 11:
  
 
To generate a pc2export.dat file use the [[Scoreboard Refresh]] button.  The
 
To generate a pc2export.dat file use the [[Scoreboard Refresh]] button.  The
pc2export.dat is also created whenever the [[Scoreboard output HTML]] is generated.
+
pc2export.dat is also created whenever the [[Scoreboard HTML]] is generated.
  
 
==File Format==
 
==File Format==
Line 16: Line 19:
 
{|border="1" cellpadding="2"
 
{|border="1" cellpadding="2"
 
|+ Field Descriptions
 
|+ Field Descriptions
! Field !! Description !! Example
+
! Field !! Description !! Example !! Type
 
|-
 
|-
|1||ICPC Team ID (note: not the PC² team number).||435343
+
|1||Reservation Id aka External Id||435343||integer
 
|-
 
|-
|2||Rank in contest||1
+
|2||Rank in contest||1||integer
 
|-
 
|-
|3||Number of problems the team has solved||4
+
|3||Number of problems the team has solved||4||integer
 
|-
 
|-
|4||Number of penalty points||534.0
+
|4||Total Time||534.0||float
 
|-
 
|-
|5||Time of the last submission||233.0
+
|5||Time of the last submission||233.0||float
 
|}
 
|}
 +
 +
 +
The team Reservation Id is found in the [[ICPC Import Files#PC2_Team.tab|PC2_Team.tab]] file.
  
  
Line 41: Line 47:
 
* [[Export ICPC]]
 
* [[Export ICPC]]
 
* [[ICPC Import Files]]
 
* [[ICPC Import Files]]
 +
 +
 +
[[Category:Import and Export]]

Latest revision as of 10:52, 10 February 2013

pc2export.dat is a file created by the Export ICPC feature that contains standings information to be uploaded to the ICPC CMS site.

In Version 9 this file is replaced by the results.tsv file for CMS, see Upload to CMS article to determine which file/method to upload to the ICPC CMS.

Version 8

To generate a pc2export.dat file use the Export ICPC button on the Scoreboard module.

Version 9

To generate a pc2export.dat file use the Scoreboard Refresh button. The pc2export.dat is also created whenever the Scoreboard HTML is generated.

File Format

The file is a text file, comma delimited fields. There are 5 fields per line.

Field Descriptions
Field Description Example Type
1 Reservation Id aka External Id 435343 integer
2 Rank in contest 1 integer
3 Number of problems the team has solved 4 integer
4 Total Time 534.0 float
5 Time of the last submission 233.0 float


The team Reservation Id is found in the PC2_Team.tab file.


See the PC² Contest Administrator’s Installation and Configuration Guide for detailed information about these fields.

Reference


See Also