Repository navigation
Let competition admins see hidden leaderboard columns - #2709
Merged
Didayolo merged 2 commits intoNov 17, 2026
Merged
Conversation
…y finished submission's scores
This was referenced Nov 5, 2026
tomMoral
marked this pull request as ready for review
November 6, 2026 08:38
12 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@ mention of reviewers
@ihsaan-ullah @Didayolo
Description
Hidden leaderboard columns are private to the competition admins (creator,
collaborators, superusers): participants still never see them, and the
admins now do. The organizers can then monitor the private test set during
the challenge, without downloading the scoring output of every submission.
/api/submissions/, list and detail): admins get thehidden scores. Each score now says whether its column is
hidden. Thepermission check is cached per competition, so a list view adds a couple of queries
per competition, not per submission.
/api/phases/<id>/get_leaderboard/and/api/leaderboards/<id>/): admins get the hidden columns and their scores.The ranking still uses the visible columns only, so it is the same for
admins and participants.
/api/competitions/<id>/results.<json|csv|zip>):all_submissions=trueexports every finished submission of the phase, onthe leaderboard or not, with
created_whenandon_leaderboard. Theexport already included hidden columns. It now does so on purpose, and a
test covers it.
download menu has an "All finished submissions (CSV)" entry. The
submissions panel has a "Hidden scores" column, shown only when the API
sent hidden scores, so only to admins.
This reverses part of #2526, which hid these scores from everyone "for
consistency with the columns metadata". Admins could already get them from
the results export and from the scoring output, so this change exposes
nothing new. It makes them usable.
/api/leaderboards/<id>/orders its entries by every column, hidden onesincluded, for everyone. This PR does not change it.
Issues this PR resolves
Closes #2708
A checklist for hand testing
/api/submissions/?phase=<id>returns no hidden score.Any relevant files for testing
Any competition with a
hidden: truecolumn in its leaderboard.Checklist