Skip to content

Leaderboard and Submissions tab - flag submissions scored on an outdated task - #2674

Merged
Didayolo merged 3 commits into
developfrom
outdated-task-marker
Nov 23, 2026
Merged

Didayolo merged 3 commits into
developfrom
outdated-task-marker

Conversation

@Didayolo

@Didayolo Didayolo commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Original PR: #2642

Description

Motivation: When an organizer replaces or deletes a task of an active phase, scores of earlier submissions stay attached to the old task and the leaderboard shows n/a with no explanation, so organizers and participants think the leaderboard is broken.

Novelty: When a task is replaced, the submissions get an orange warning and message on the leaderboard and the submission panels. When a task is updated, the submissions get a yellow warning and message on the leaderboard and the submissions panels.

How it looks like:

Capture d’écran 2026-11-23 à 14 08 58

And now different warnings and messages if it is a task change or a task update:

Capture d’écran 2026-11-23 à 14 25 18
  • get_leaderboard returns outdated_task: true when the submission's task is deleted or no longer in the phase
  • Leaderboard: orange warning icon next to the ID with a tooltip explaining the n/a and that a new submission is needed
  • Submissions tab: same icon next to the status, for parents and children (computed client-side from the phase tasks, no API change)
  • Added tests for the leaderboard flag

Complementary to #2620 (re-run errors) and #2624 (re-run on current task): no overlapping lines, this one only explains the state.

Issues this PR resolves

A checklist for hand testing

  • Upload tests/test_files/competitions/competition_v2_wheat_results.zip, submit tests/test_files/submissions/submission_v2_wheat_results.zip, add it to the leaderboard
  • As organizer, create a new task (e.g. upload the same task again) and set it as the phase task instead of the old one
  • Results tab: the row shows n/a with the warning icon and tooltip
  • My Submissions tab: the submission shows the warning icon next to Finished

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

bruAristimunha and others added 2 commits November 23, 2026 14:03
Leaderboard and Submissions tab - flag submissions scored on an outdated task
@Didayolo
Didayolo force-pushed the outdated-task-marker branch from f689492 to b01252a Compare November 23, 2026 13:04
@Didayolo
Didayolo merged commit 32e3ac2 into develop Nov 23, 2026
3 checks passed
@Didayolo
Didayolo deleted the outdated-task-marker branch November 23, 2026 13:41
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

Successfully merging this pull request may close these issues.

Leaderboard and Submissions tab should show if a submission was run (and scored) on outdated tasks/datasets

2 participants