Skip to content

Leaderboard Ranking - Fix Force Best choosing a submission with N/A scores - #2619

Merged
Didayolo merged 1 commit into
developfrom
leaderboard_force_best
Oct 21, 2026
Merged

Didayolo merged 1 commit into
developfrom
leaderboard_force_best

Conversation

@ihsaan-ullah

@ihsaan-ullah ihsaan-ullah commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Description

  • A submission with an N/A score is no longer picked as the best one
  • On equal scores, the older submission stays on the leaderboard
  • Added a note about this to the leaderboard docs
  • Added tests for the Force Best submission rule

Issues this PR resolves

Screenshots:

Before the fix

when you upload a submission with ok scores it shows up on the leaderboard correctly
Screenshot 2026-10-05 at 11 58 07 AM

When you upload a second submission with a missing score (n/a), it is shown on the leaderboard (which is incorrect)
Screenshot 2026-10-05 at 11 58 37 AM

After the fix

No matter what you do, submission with missing score is not put on the leaderboard
Screenshot 2026-10-05 at 12 33 49 PM

Any relevant files for testing

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

- A submission with an N/A score is no longer picked as the best one
- On equal scores, the older submission stays on the leaderboard
- Added a note about this to the leaderboard docs
- Added tests for the Force Best submission rule
@Didayolo
Didayolo force-pushed the leaderboard_force_best branch from e6e6911 to f43a24d Compare October 21, 2026 03:43
@Didayolo Didayolo self-assigned this Oct 21, 2026
@Didayolo
Didayolo merged commit 4352f2a into develop Oct 21, 2026
4 checks passed
@Didayolo
Didayolo deleted the leaderboard_force_best branch October 21, 2026 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants