Skip to content

Commit 233d95f

Browse files
Doc about task versioning.
1 parent 8bfe636 commit 233d95f

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

docs/Task versioning.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Task versioning
2+
***************
3+
4+
Introduction
5+
============
6+
7+
Task versioning allows admins to store several sets of parameters for each task at the same time, to decide which are graded and among these the one that is shown to the contestants. This is useful before the contest, to test different possibilities, but especially during the contest to investigate the impact of an error in the task preparation.
8+
9+
For example, it is quite common to realize that one input file is wrong. With task versioning, admins can clone the original dataset (the set of parameters describing the behavior of the task), change the wrong input file with another one, or delete it, launch the evaluation on the new dataset, see which contestants have been affected by the problem, and finally swap the two datasets to make the new one live and visible by the contestants.
10+
11+
The advantages over the situation without task versioning are several:
12+
- there is no need to take down scores during the re-evaluation with the new input;
13+
- it is possible to make sure that the new input works well without showing anything to the contestants;
14+
- if the problem affects just a few contestants, it is possible to notify just them, and the others will be completely unaffected.
15+
16+
Datasets
17+
========
18+
19+
A dataset is a version of the sets of parameters of a task that can be changed and tested in background. These parameters are:
20+
- time and memory limits;
21+
- input and output files;
22+
- libraries and graders;
23+
- task type and score type.
24+
25+
Datasets can be viewed and edited in the task page. They can be created from scratch or cloned from existing ones. Of course, during a contest cloning the live dataset is the most used way of creating a new one.
26+
27+
Submissions are evaluated as they arrive against the live dataset and all other datasets with background judging enabled, or on demand when the amdins require it.
28+
29+
Each task has exactly one live dataset, whose evaluations and scores are shown to the contestants. To change the live dataset, just click on "Make live" on the desired dataset. Admins will then be prompted with a summary of what changed between the new dataset and the previously active, and can decide to cancel or go ahead, possibly notifying the contestants with a message.
30+
31+
Remember that the summary looks at the scores currently stored for each submission. This means that if you cloned a dataset and changed an input, the scores will still be the old ones: you need to launch a recompilation, reevaluation, or rescoring, depending on what you changed, before seeing the new scores.
32+
33+
After switching live dataset, scores will be resent to RankingWebServer automatically.
34+
35+

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Welcome to CMS's documentation!
1111
Configuring a contest
1212
Task types
1313
Score types
14+
Task versioning
1415
External contest formats
1516
RankingWebServer
1617
Localization

0 commit comments

Comments
 (0)