Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read judgement-types API to determine if a verdict results in a penalty #11

Open
nickygerritsen opened this issue Apr 28, 2019 · 1 comment

Comments

@nickygerritsen
Copy link
Member

nickygerritsen commented Apr 28, 2019

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 shows 2 pending submissions, while it should show 1.

@nickygerritsen
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant