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

Rejudged solution not properly taken into account in the scoreboard #2883

Open
RaphaelMarinier opened this issue Dec 16, 2024 · 0 comments
Open

Comments

@RaphaelMarinier
Copy link

Description of the problem

With the following events for a given team on a given problem:

  1. submission 1 gets TLE
  2. submission 2 gets TLE
  3. submission 3 gets AC
  4. submission 1 gets rejudged and becomes AC

The scoreboard only takes into account submission 3 but not submission 1.

Your environment

I don't know the version as I don't have access to the machine hosting Domjudge. I will report this later.

Steps to reproduce

  1. Team A does submission 1 on problem B, gets TLE.
  2. Team A does submission 2 on problem B, gets TLE.
  3. Team A does submission 3 on problem B, gets AC.
  4. Judges decide to rejudge all submission of problem B. Submission 1 of that team becomes AC (and the verdict gets automatically applied).

Expected behaviour

In the scoreboard, submission 1 of team A that finally became AC should be properly taken into account:

  • there should be no time penalty for the team on that problem.
  • the time taken into account for the team solving the problem should be the time at which submission 1 was done.

Actual behaviour

In the final scoreboard, we observe that team A got the time penalty for 2 non-AC submissions, and that the time of submission 3 is taken into account.

Additional info

Note that this was discussed on slack:
https://domjudge-org.slack.com/archives/CHHURFUM7/p1733778384368249
Refreshing the scoreboard cache led to submission 1 being taken into account properly.

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