Skip to content

Leaderboard ranking is computed using Sum of multiple scores #2676

In review

Description

@ihsaan-ullah

We should look at how the leaderboard adds up scores when it fetches and ranks submissions. It ranks on a total (sum), while it displays a single score.

Ranking on the same score that is displayed would keep the order correct even if a submission somehow ends up with more than one copy of its scores.

The same adding-up is used in other places too, such as choosing a participant's best submission, so those should be checked.

For reference check these lines:

Activity

  1. added
    Discussion
    on Oct 21, 2026
  2. Didayolo commented on Oct 21, 2026

    @Didayolo
    Member

    Hi, I don't get it, what is summed exactly?

  3. ihsaan-ullah commented on Oct 21, 2026

    @ihsaan-ullah
    CollaboratorAuthor

    Hi, I don't get it, what is summed exactly?

    The primary column scores for each submission are summed. This is not problematic anymore beacuse #2608 now does not allow multiple score rows per submission. If we don't need the sum, we should remove it from the code.

  4. changed the title [-]Leaderboard ranking is computed using addition of multiple scores[/-] [+]Leaderboard ranking is computed using Sum of multiple scores[/+] on Oct 21, 2026
  5. added
    Post-it
    and removed
    Discussion
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Post-it

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions