Skip to content

Multiple leaderboards discussion #1553

Open

Description

@ihsaan-ullah

To implement multiple leaderboards feature, we need to change the current DB design.

Screenshot 2024-07-18 at 7 22 31 PM Screenshot 2024-07-18 at 7 22 35 PM

Related issues requesting multiple leaderboards:

Activity

  1. added
    Discussion
    on Jul 25, 2024
  2. Didayolo commented on Jul 25, 2024

    @Didayolo
    Member

    Also mentionned in #1334

  3. changed the title [-]multiple leaderboards discussion[/-] [+]Multiple leaderboards discussion[/+] on Apr 29, 2025
  4. ihsaan-ullah commented on Aug 28, 2026

    @ihsaan-ullah
    CollaboratorAuthor

    Some points from new discussion:

    • Use case 1: Organizers want two leaderboards per phase, public for users, private for organizers
    • Use case 2: Organizers want to freeze the current leaderboard and start a new one in the current phase. This leads to multiple public leaderboards per phase
  5. ihsaan-ullah commented on Sep 7, 2026

    @ihsaan-ullah
    CollaboratorAuthor

    In CodaLab, each phase of a competition keeps one group of submissions that have qualified to be shown. Organizers can set up several leaderboards for that same phase, and each one ranks those same submissions by a different score, for example, one leaderboard by accuracy and another by f1-scire. Each leaderboard can still display more than one score column, but it always has one primary score that decides its ranking order. So it's not separate groups of submissions for each leaderboard, it's the same submissions, just ranked differently on each leaderboard.

  6. di-dimitrov commented on Sep 10, 2026

    @di-dimitrov

    Hi there, thanks for keeping codabench up-to-date with modern requirements for benchmarking.

    I would like to point out an additional use-case of multiple leaderboards on a project, namely, multilingual setups. With advancements of the complexity of problems that are evaluated within a single benchmark, nowadays organizers release data in:

    • Multiple phases
    • Multiple subtasks
    • Multiple languages (there could be even more granularity in some cases).

    This means that if you want to host a competition with 2 Phases, 2-3 Subtasks, with a separate ranking (leaderboard) for each language, things become very difficult. Having multiple leaderboards would mean a much smoother experience for both organizers and participants.

  7. di-dimitrov commented on Sep 22, 2026

    @di-dimitrov

    This model for multiple leaderboards can be a problem.

    Screenshot 2024-07-18 at 7 22 31 PM Screenshot 2024-07-18 at 7 22 35 PM

    1. Phase and Leaderboard are not connected in any way. This can introduce inconsistencies. If the goal is still to have Competition → Phase → Leaderboard this design is not ideal. The db should just model each level of the "abstraction". The only thing the current design allows more than the proposed approach is a case where a Leaderboard can be shared across phases which does not make sense.
    2. The new table can be called LeaderboardSubmissions?
  8. self-assigned this
    on Sep 22, 2026
  9. Didayolo commented on Sep 22, 2026

    @Didayolo
    Member

    Possible design:

    • Parallel phases (no constraint in dates for phases)
    • Each phase can have a different leaderboard design (columns keys, etc.)
    • Enhance the migration system to be able to migrate single submission, and to migrate to parallel phases
  10. di-dimitrov commented on Sep 22, 2026

    @di-dimitrov

    The parallel phases sounds interesting but if phases are no longer constrained by dates, I believe they simply become groups/labels for a set of leaderboards. Phases currently carry timing semantics (ordering, auto-migration, per-phase submission limits, when results become visible), and removing the date constraint means those either don't apply or need to be considered from a different perspective.

    I am not arguing against this. I am trying to inquire about the use-case of this design, which doesnt sound unreasonable. But I also like the date constraint, maybe it can be optinal configuration for a phase ?

  11. Didayolo commented on Oct 9, 2026

    @Didayolo
    Member

    Yes, basically the two possible philosophies are having parallel phases or having multiple leaderboards inside a phase. We are internally discussing and comparing these possible designs to decide what to do next. Suggestions are always welcome.

  12. di-dimitrov commented on Oct 9, 2026

    @di-dimitrov

    Hi,

    From my experience organizing shared tasks (and using quite a few submission systems), I think both designs have a place in Codabench, because they solve different problems.

    1. Multiple leaderboards per phase. A very common setup today is a Development phase and a Test phase, each with several subtasks and/or languages, where every subtask × language has its own ranking and sometimes its own metrics. Example: SemEval-2024 Task 4 has 12 tables (4 languages × 3 subtasks), and subtask 2b uses different metrics from 1 and 2a. (That page is only a rendered view, not the evaluation software.) One requirement that matters for the design: teams usually enter only some subtasks/languages, so a submission has to target one leaderboard rather than be scored on all of them (but this can be made possible via some flag as it might be applicable in some cases).

    2. Overlapping phases. Sometimes you want the Development phase to stay open indefinitely, including during the Test phase, and often a post-evaluation phase that stays open after the test ends, with the gold labels still hidden. We did both for the task above. end is already nullable, so dates can stay; what has to go is the non-overlap rule. I'd remove it, or downgrade it to a warning and let organizers shoot themselves in the foot :D. I understand it is not as easy as it sounds :) _(Another example) T_rial or practice phase: a tiny sample for checking the submission format, open the whole time. This is another overlap case.

    At this point I am not going into details about how this should be implemented as I am not too familiar with the whole structure. I hope at least these examples show possible directions for improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

DiscussionV1-compatibility

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions