Skip to content

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

@nickygerritsen

Description

@nickygerritsen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions