Skip to content

n/a scores are ranked higher than numerical values #1284

Description

@Didayolo

n/a scores are ranked higher than numerical values. They should be at the bottom of the leaderboard, regardless of ascending or descending order.

Competition link: https://www.codabench.org/competitions/1777

Capture d’écran 2024-01-19 à 14 01 15

Activity

  1. Didayolo commented on Jul 9, 2024

    @Didayolo
    MemberAuthor

    A possibility:

    In src/apps/api/serializers/leaderboards.py, replacing null values depending if the order is ascending or descending.

  2. seroy123 commented on Feb 16, 2025

    @seroy123

    Hi Codabench team,

    Is this bug still open? We are hosting a competition and it is critical to present the leaderboard. when we use force best on the leaderboard, we get the NA bug. So competitors can "hide" their best results. Is this something that can be resolved soon?

    Thanks, Roy.

  3. Didayolo commented on Feb 19, 2025

    @Didayolo
    MemberAuthor

    Dear @seroy123,

    Indeed this situation is a shame. We'll try to work on this bug as soon as possible. Thank you for your patience.

  4. Didayolo commented on Feb 20, 2025

    @Didayolo
    MemberAuthor

    Hi @seroy123,

    We are going to work on the leaderboard as the next development. It will require to separate the leaderboard code between backend and frontend, to help with different problems and features:

    • N/A ranked higher than numericla values (this issue)
    • N/A appearing on the leaderboard depending on submission rule and multi-tasks
    • Leaerboard ordering sometimes wrong
    • Multiple leaederboards
    • Having "ranking programs"

    Even if it's our next dev step, it may require some time before being ready.

  5. hzxie commented on Mar 25, 2025

    @hzxie

    I experience this issue when the Submission Rule is set to 'Force Best'.

  6. Didayolo commented on Oct 14, 2025

    @Didayolo
    MemberAuthor

    Indeed, with 'Force Best', the 'N/a' gets selected as 'Best', even sometimes Failed submissions.

    This is an important bug to fix, and probably not a big code change.

    @ObadaS @ihsaan-ullah

  7. added
    P1
    on Oct 14, 2025
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

    BugP1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions