A contest.yaml file contains information to configure a contest.
Contents of contest.yaml
|name||Name of contest|
|short-name||Short name of contest|
|start-time||Date and time in ISO 8601 format (wall-clock time that the contest starts)|
|duration||Duration as h:mm:ss (length of contest, in contest time)|
|scoreboard-freeze||Time when scoreboard will be frozen in contest time as h:mm:ss|
|submission-feed-port||Port number for the Run Forwarding Feed|
|default-clars||Sequence of pre-defined clarification answers. The first will be pre-selected|
|clar-categories||Sequence of categories for clarifications.|
|languages||Sequence of mappings with keys for languages.|
|problemset||Sequence of mappings with keys for problems. (see problem.yaml)|
PC² specific keys and values
The article CCS Enhancements describes these entries in more detail.
|sites||Sequence of mappings for Site information|
|accounts||set of accounts to generate (same functionality as Generate Accounts)|
|auto-judging||Define Auto Judge assignments/settings|
|replay||automatic Replay of previous contest feature|
A contest.yaml, problem.yaml and data files can be saved using either:
Use the Admin Import CCS tab, Import contest.yaml button.