Skip to content

Leaderboard not well ordered #1171

@Didayolo

Description

@Didayolo

The leaderboard the validation phase of the following competition is not well ordered:

https://www.codabench.org/competitions/1219/

20230922

(the competition is private, if you need the secret URL please ask me)


UPDATE:

This problem is linked to another problem: the score in the tab "Submissions" (either participant tab or admin tab) does not reflect perfectly the score in the leaderboard.

This is likely due to the javascript rounding found in submission_manager.tag:

        self.get_score = function (submission) {
            try{
                return parseFloat(submission.scores[0].score).toFixed(2)
           [...]

It seems that javascript standard for floats is not precise. The order is based on the scores that you can find in the "Submissions" tab, not the actual scores. The leaderboard reflect the true score.


So, it is ordered by primary column, but using a bad rounding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugP1High priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions