Difference between revisions of "Extract Replay Runs"

From PC2wiki
Jump to: navigation, search
m (Example file list: more content)
m (Location: added Content section)
Line 10: Line 10:
  
 
[[pc2report]] script
 
[[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|
  
 
==Run report using pc2report ==
 
==Run report using pc2report ==

Revision as of 11:36, 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.

Location

Server module, Reports Tab

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|

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 

See Also