Difference between revisions of "Extract Replay Runs"
From PC2wiki
m (→Content: added table of examples) |
m (→Content: add setions) |
||
Line 24: | Line 24: | ||
There are two actions RUN_SUBMIT and RUN_JUDGEMENT. | There are two actions RUN_SUBMIT and RUN_JUDGEMENT. | ||
+ | ====Run submission action==== | ||
{|border="1" cellpadding="2" | {|border="1" cellpadding="2" | ||
Line 44: | Line 45: | ||
|mainfile || Name of submission source || P386765ab-b92d-450a-af0b-6aab6b7f43aa\reports\report.Extract_Replay_Runs.04.18.720.txt.files/site1run1/isumit.java | |mainfile || Name of submission source || P386765ab-b92d-450a-af0b-6aab6b7f43aa\reports\report.Extract_Replay_Runs.04.18.720.txt.files/site1run1/isumit.java | ||
|} | |} | ||
+ | |||
+ | ====Judgement action==== | ||
{|border="1" cellpadding="2" | {|border="1" cellpadding="2" |
Revision as of 11:46, 18 April 2015
Extract Replay Runs Report creates a run info output and extracts runs from
This report should only be run on a server, if run on the admin or any other client not all run submissions will be extracted.
Contents
Location
Administrator module, Reports Tab
pc2report script
Content
Comment lines start with a #.
The report is intended to be a replay for the contest.
action=RUN_SUBMIT| id=1| elapsed=2| language=Java| problem=Sumit| site=1| submitclient=team30| mainfile=P386765ab-b92d-450a-af0b-6aab6b7f43aa\reports\report.Extract_Replay_Runs.04.18.720.txt.files/site1run1/isumit.java| action=RUN_JUDGEMENT| id=1| site=1| solved=true| preliminary=false| judgeclient=judge3| judgeclientsite=1| judged_elapsed_time=3| computer_judged=true| judgement=Yes| senttoteams=true|
Each action line contains pipe delimited fields, each field has a name value pair.
There are two actions RUN_SUBMIT and RUN_JUDGEMENT.
Run submission action
Name | Description | Example |
---|---|---|
action | Replay action | RUN_SUBMIT |
id | Run Number | 1 |
elapsed | Submission time (minutes) | 2 |
language | Title for language | Java |
problem | Title for problem | Sumit |
site | Site number | 1 |
submitclient | Team submitting | team30 |
mainfile | Name of submission source | P386765ab-b92d-450a-af0b-6aab6b7f43aa\reports\report.Extract_Replay_Runs.04.18.720.txt.files/site1run1/isumit.java |
Judgement action
Name | Description | Example |
---|---|---|
action | Replay action | RUN_JUDGEMENT |
id | Run Number | 1 |
site | Site Number | 1 |
solved | Run solved/accepted | true |
preliminary | Prelimiary judgement sent | false |
judgeclient | Which judge judged run | judge3 |
judgeclientsite | Judge site number | 1 |
judged_elapsed_time | Elapsed time when judgement made | 3 |
computer_judged | Was computer/auto judged? | true |
judgement | Judgement | Yes |
senttoteams | Send judgement to teams | true |
Run report using pc2report
Example Output
Example file list
The report name is
report.Extract_Replay_Runs.04.18.720.txt
The submitted team run files are in the report.Extract_Replay_Runs.04.18.720.txt.files directory.
report.Extract_Replay_Runs.04.18.720.txt report.Extract_Replay_Runs.04.18.720.txt.files/site1run1 report.Extract_Replay_Runs.04.18.720.txt.files/site1run2 report.Extract_Replay_Runs.04.18.720.txt.files/site1run3 report.Extract_Replay_Runs.04.18.720.txt.files/site1run4 report.Extract_Replay_Runs.04.18.720.txt.files/site1run1/isumit.java report.Extract_Replay_Runs.04.18.720.txt.files/site1run2/isumit.java report.Extract_Replay_Runs.04.18.720.txt.files/site1run3/hello.java report.Extract_Replay_Runs.04.18.720.txt.files/site1run4/hello.java
=Example Report
CSUS Programming Contest System Version 9.3 20150205 (Thursday, February 5th 2015 15:55 UTC) Java ver 1.7.0_51 build 2920 Windows 7 6.1 (amd64) Contest Title: Sumit Hello Sample On: Saturday, April 18, 2015 11:26:09 AM PDT Contest date/time: Sat Apr 18 11:21:48 PDT 2015 Profile: Default (Default Contest) ** Extract Replay Runs Report # ------------------------------------------------------------ # Extract Replay Runs # Created on Sat Apr 18 11:26:09 PDT 2015 # Created by: Version 9.3 20150205 (Thursday, February 5th 2015 15:55 UTC) Java ver 1.7.0_51 build 2920 Windows 7 6.1 (amd64) action=RUN_SUBMIT| id=1| elapsed=2| language=Java| problem=Sumit| site=1| submitclient=team30| mainfile=P386765ab-b92d-450a-af0b-6aab6b7f43aa\reports\report.Extract_Replay_Runs.04.18.720.txt.files/site1run1/isumit.java| action=RUN_JUDGEMENT| id=1| site=1| solved=true| preliminary=false| judgeclient=judge3| judgeclientsite=1| judged_elapsed_time=3| computer_judged=true| judgement=Yes| senttoteams=true| action=RUN_SUBMIT| id=2| elapsed=2| language=Java| problem=Sumit| site=1| submitclient=team30| mainfile=P386765ab-b92d-450a-af0b-6aab6b7f43aa\reports\report.Extract_Replay_Runs.04.18.720.txt.files/site1run2/isumit.java| action=RUN_JUDGEMENT| id=2| site=1| solved=true| preliminary=false| judgeclient=judge3| judgeclientsite=1| judged_elapsed_time=3| computer_judged=true| judgement=Yes| senttoteams=true| action=RUN_SUBMIT| id=3| elapsed=2| language=Java| problem=Sumit| site=1| submitclient=team30| mainfile=P386765ab-b92d-450a-af0b-6aab6b7f43aa\reports\report.Extract_Replay_Runs.04.18.720.txt.files/site1run3/hello.java| action=RUN_JUDGEMENT| id=3| site=1| solved=false| preliminary=false| judgeclient=judge3| judgeclientsite=1| judged_elapsed_time=3| computer_judged=true| judgement=No - Wrong Answer| senttoteams=true| action=RUN_SUBMIT| id=4| elapsed=2| language=Java| problem=Sumit| site=1| submitclient=team30| mainfile=P386765ab-b92d-450a-af0b-6aab6b7f43aa\reports\report.Extract_Replay_Runs.04.18.720.txt.files/site1run4/hello.java| action=RUN_JUDGEMENT| id=4| site=1| solved=false| preliminary=false| judgeclient=judge3| judgeclientsite=1| judged_elapsed_time=3| computer_judged=true| judgement=No - Wrong Answer| senttoteams=true| # All 0 runs extracted # EOF Extract Replay Runs # ------------------------------------------------------------ # end