Repository navigation
Description
1. Wrong leaderboard ordering
Sometimes the ranking on the leaderboard does not follow the order from the primary column. It happens several times and we can hardly reproduce it. Once a competition starts to have a scrambled ordered, it stays this way, but the problem does not appear again when re-uploading the same bundle and submissions.
Issues:
- ForceBest strategy puts submissions with
n/ascores on leaderboard
Solved by: Leaderboard Ranking - Fix Force Best choosing a submission with N/A scores #2619 - N/a scores still ranked first:
N/a are displayed on top of the leaderboard #2321 <-- P1
MOT20 leaderboard ranks a submission with no evaluation scores as #1 #2470
MOT20 leaderboard ranking issue #2512
n/a scores are ranked higher than numerical values #1284
Solved by Leaderboard Ranking - rankn/ascores last on the leaderboard #2618 - Leaderboard not well ordered #1171 <-- P1
Solved by Leaderboard Ordering - Reject repeated score uploads for a submission #2608 - Another example below in comments
2. N/a scores
We have several issues that report N/a scores on the leaderboard. N/a is a replacement of score shown for a task not found. The problem is that the scores and tasks are separate and are sent to the frontend where they are matched and then scores are shown for a task or several tasks. This opens room for inconsistencies.
I propose to make the leaderboard on the backend and just send it to be displayed without any extraction or computation. This way we will never have n/a scores.
-
a) N/a when submission rule is "Force Last"
n/a scores on leaderboard if Submission Rule is Force Last #1055
Display bug (n/a) when force submission to the leaderboard #1275 -
b) N/a for multi-task when submission rule is "Force Last"
Multi-task not working with Force Last submission rule #2211
Migration with "Force Last" setting gives n/a scores #1174
Score n/a for one of the subtasks when submitting for both subtasks at once. #1570
Solved by: Leaderboard - Fix Force Last showing n/a for multi-task submissions #2666 -
c) N/a score after auto-migration (Fix auto-migration to next phase #2239)
Issues when migrating to a new phase with fact sheet answers/different tasks that outputs identical data #1472
Migration with "Force Last" setting gives n/a scores #1174 -
d) N/a score when re-running after changing the task
Problem with leaderboard #2000
Solved by: Leaderboardn/ascores - Show an error when re-running a submission whose tasks have changed #2620
3. Other leaderboard problems
- Submission ID is different in submission panel and leaderboard. This happens when you have multiple tasks
Solved by: Leaderboard - Show the parent submission ID for multi-task submissions #2623
4. When multiple tasks, how should we order the entries?
Right now it seems that the ordering is based on a sum of scores across tasks.
Activity
Didayolo commentedon Jul 18, 2024
How much work does this change represent?
ihsaan-ullah commentedon Jul 19, 2024
I guess quite amount of work. It may also disclose some hidden bugs. But it seems important because this problem is hanging there from a long time.
This is just the start of the discussion. We may want to discuss in detail how things are done now in the code and what we want to do change there and discuss the benefits.
One thing I insist on is to move the logic to the backend. Frontend should not have logic (unless really needed). This simplifies the front-end and less buggy and makes the backend strong. Additionally, backend should be written in a clear way so that in this effort we don't make it buggy.
ihsaan-ullah commentedon Feb 25, 2025
Some more problems I discovered:
When you have more than one task and leaderboard rule is
Force lastorForce last multiple, you see n/a because one of the child submission is on the leaderboard and the other one shows n/a. We should NOT show the child submission on the leaderboard. Only the parent submission should be shown with scores from child submissions. It looks like when the rule is applied, it is applied to submissions regardless of if they are parent or childIt looks like for all the tasks you must have the same columns in the leaderboard
Computation columns are populated once (when submission is processed). If you change e.g. avg computation to sum, that will work for future submissions but not for that past (already processed) ones.
Submission ID is different in submission panel and leaderboard. This happens when you have multiple tasks
[-]`n/a` scores discussion[/-][+]`n/a` scores discussion and leaderboard ordering[/+]Didayolo commentedon Jun 5, 2025
The problem with leaderboard ordering is still happening:
Still don't know how to reproduce this and why it happens.
[-]`n/a` scores discussion and leaderboard ordering[/-][+]Wrong leaderboard ordering and `n/a` scores discussion[/+]noamrotenberg commentedon Dec 21, 2025
Hello,
Thank you for your work.
I just wanted to check in on this issue. I'm soon going to start a benchmark that has 2 tasks, which prioritize 2 different metrics. Is it possible to have 1 leaderboard for each task or phase?
Thank you,
Noam
Didayolo commentedon Feb 2, 2026
Hello, thank you for your message. Right now you can have only one leaderboard per phase. Each leaderboard support having several tasks though.
Phases are used when your challenge phases are distinct in time (phase B starts after phase A is over). Each phase has its own leaderboard and tasks.
Feel free to ask if you have more questions.
Didayolo commentedon Feb 3, 2026
Wrong leaderboard ordering happened again in this competition: https://www.codabench.org/competitions/11178/#/results-tab
Now it is back to normal:
Message from the organizer:
[-]Wrong leaderboard ordering and `n/a` scores discussion[/-][+]Wrong leaderboard ordering and `N/a` scores discussion[/+]Didayolo commentedon Jul 21, 2026
A new competition with wrong order (the rank first has a low score): https://www.codabench.org/competitions/12925/
ihsaan-ullah commentedon Oct 3, 2026
Leaderboard ordering problem
Sometimes the leaderboard ranked submissions in the wrong order: a submission with a lower score appeared above submissions with higher scores.
Why it happened.
Each submission should have one set of scores. The compute worker, which runs submissions and sends back their results, could send the scores for the same submission more than once. Each time, the platform stored another copy instead of keeping just one, so a submission could end up with several copies of its scores.
The leaderboard ranks submissions using the total of all stored copies, not the actual score. A submission with three copies of a score of 0.17 was ranked as if it had scored 0.51. The leaderboard still displayed 0.17, so a low-scoring submission could appear at the top of the leaderboard.
Reproducing it.
The first screenshot shows a correctly ordered leaderboard, with scores from highest to lowest:
The next screenshot shows submission 19 ranked first, after we uploaded its scores two more times so it had three copies. It still shows a score of 0.17, but it is ranked on the total of the three copies (0.17 + 0.17 + 0.17 = 0.51), which puts it above submissions scoring 0.42, 0.41 and so on:
The fix
PR #2608 changes the score upload so that each submission's scores can be uploaded only once. If scores are sent again for a submission that already has them, the platform refuses them and keeps the original scores. This stops duplicate copies from being created, so future leaderboards rank submissions by their real scores.
The PR also adds tests for the score upload, covering normal uploads, refused repeat uploads, and multi-task submissions.
Didayolo commentedon Oct 7, 2026
Thanks for your work Ihsan. I'll review the PRs asap.