Skip to content

How to Remove 'n/a' Scores from Leaderboard after Submission Cancel/Delete? #1765

Closed

Description

@hyxie2023

Hello. I'm hosting a competition on Codabench. Some participants cancel the upload after submission, resulting in the score being displayed as "n/a". When these participants delete their current submissions, the corresponding scores on the leaderboard still show "n/a", and I haven't found a way to delete these "n/a" scores. So, how can I maintain the leaderboard to avoid the appearance of "n/a" scores?

Leaderboard:

Image

Failed submissions:

Image

Competition: https://www.codabench.org/competitions/3586

Thank you!

Activity

  1. ihsaan-ullah commented on Mar 4, 2025

    @ihsaan-ullah
    Collaborator

    Hi @hyxie2023 thank you reporting the problem. We will look into it soon

  2. ihsaan-ullah commented on Mar 4, 2025

    @ihsaan-ullah
    Collaborator

    I think there is another problem: Failed submissions are on the leaderboard.

    1. Can you please check if the participants are putting failed submissions on the leaderboard or are they appearing on the leaderboard automaically
    2. You cannot delete a submission that is on the leaderboard so can you confirm if they deleted submissions that were on the leaderboard or the submissions appeared after deletion
  3. hyxie2023 commented on Mar 4, 2025

    @hyxie2023
    Author

    Hi @ihsaan-ullah . I have set the leaderboard to display the highest score (Force Best). I've noticed that when a participant submits a file and cancels it before the file evaluation is completed, their score will be shown as "n/a" and will appear at the top of the leaderboard. At this point, if the participant deletes this submission, their "n/a" score will remain on the leaderboard, and I am unable to remove it.

    Image

    For example, in the figure above, three failed submissions were all caused by cancellation midway. Among them, submission 239987 can be deleted by me (deleting this submission will also delete its result on the leaderboard at the same time), but I cannot delete the other two submissions, and thus cannot remove them from the leaderboard.

    I would like to know how I can maintain the leaderboard in such a situation. Are there any means to avoid such problems in the future? Thank you!

  4. JiJueYouTaikong commented on Mar 5, 2025

    @JiJueYouTaikong

    I ran into the same bug, also caused by the cancellation during the file commit process, which was always shown as N/A in the first place. Is there a way to fix this bug

  5. ihsaan-ullah commented on Mar 5, 2025

    @ihsaan-ullah
    Collaborator

    @JiJueYouTaikong @hyxie2023 I cannot reproduce the issue on my side. I have set the leaderboard rule to Force Best and I cancel my submission some seconds after I upload it. I see cancelled and not Failed.

    Image

    Can you share in detail steps to reproduce the bug.

    This PR: #1770 when merged and deployed will solve the problem of showing deleted submissions on the leaderboard.

  6. self-assigned this
    on Mar 5, 2025
  7. hyxie2023 commented on Mar 5, 2025

    @hyxie2023
    Author

    Hello @ihsaan-ullah ! The reason "n/a" appears on the leaderboard might be as follows: If you submit multiple times but cancel them, your score won’t appear on the leaderboard. However, once you have a successful submission that returns a score, the leaderboard will display one of your canceled submissions with a score of "n/a" instead of your valid score. For example, I canceled my first four submissions, and the leaderboard remained unchanged. But after my fifth submission received a score, the leaderboard showed one of my canceled submissions with a score of "n/a".

    Image

    Due to the process mentioned above (Canceled submissions), managers can remove "n/a" from the leaderboard by deleting their submissions. However, I noticed that some deleted files' scores still appear on the leaderboard, and these "n/a" entries cannot be removed (Failed submissions). I also don't know how they were generated. It's frustrating to see them remain at the top of the leaderboard. If you need more details, I can provide further information.

    Image

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions