Open nickygerritsen opened 5 years ago
Currently we always give a penalty when a solution is wrong.
However during ICPC-style contests compiler-error might not produce a penalty.
We can use the judgement-types (see https://contest.domjudge.org/api/contests/5/judgement-types for an example) endpoint to determine if a penalty should be given for a verdict.
judgement-types
That contest can also be used to test this behaviour, because DerBaer had two submissions post-freeze, where the first one was a compiler error. DOMjura curently shows 2 pending submissions, while it should show 1.
DerBaer
2
1
Well I think I am kinda lying. We should show two attempts, because we don’t want to let people know if one is a compiler error until we resolve.
However we should still check for compiler error penalties
Currently we always give a penalty when a solution is wrong.
However during ICPC-style contests compiler-error might not produce a penalty.
We can use the
judgement-types
(see https://contest.domjudge.org/api/contests/5/judgement-types for an example) endpoint to determine if a penalty should be given for a verdict.That contest can also be used to test this behaviour, because
DerBaer
had two submissions post-freeze, where the first one was a compiler error. DOMjura curently shows2
pending submissions, while it should show1
.