Time Limits Without Clocks: Verdict Stability and Fidelity of Instruction-Count Judging
Online judges time a submission to decide whether it exceeded its time limit, so a judge that wants reproducible verdicts runs submissions one at a time, or one per core, on a machine it keeps idle. Counting retired instructions makes the measurement independent of load and clock speed. The Polish Olympiad in Informatics has judged this way for over a decade, but the benefits and costs have not been measured under load. We ran 331 accepted Codeforces C++ submissions through tallyrun, a rootless sandbox that counts user-space instructions, ten times at each of four load levels in two power configurations (26,880 runs). Even alone, a program’s CPU time varied by a median of 2.2% between runs, and by up to 1.9 times, while its instruction count varied by at most 26 parts per million. We set each metric’s limit at twice the costliest accepted solution measured on our machine, the default multiplier for time limits in the Kattis problem package format (version 2025-09), so every submission passed when run alone. With 16 jobs on 16 hardware threads, CPU time then changed the verdict of 27.5% of the 295 submissions we analyzed and rejected 17.5% of runs, while no instruction count rose more than 0.04% above its solo median and no instruction verdict changed. Instruction counts do not see memory stalls, though. Against Codeforces’ timings they rank same-problem pairs in the wrong order 9.5 percentage points more often than CPU time does, and a limit set from other accepted solutions rejects compute-dense programs that CPU time accepts and accepts memory-bound ones that it rejects. On our 8-core machine, counting let the judge run 16 jobs with frequency boost on, at 10.2 times the throughput of tuned serial judging and 1.4 times that of one tuned job per core.
Authors
- Abdelmonem Mansour
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24726225
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- preprint