Skip to content

Fetch leaderboard submission scores on demand - #415

Merged
danlamanna merged 1 commit into
lazy-scoring-importfrom
leaderboard-score-endpoint
Dec 1, 2026
Merged

danlamanna merged 1 commit into
lazy-scoring-importfrom
leaderboard-score-endpoint

Conversation

@danlamanna

Copy link
Copy Markdown
Member

Every submission's full score JSON (ROC curves included) was inlined
into the leaderboard HTML, making the milk10k page 7MB and the 2019
page 5MB uncompressed. Slow clients kept sync gunicorn workers pinned
in sendall past the 30s timeout.

The page now only renders the table, and the details row fetches
/submission//score/ when it is first expanded. The endpoint applies
the same visibility rules as the leaderboard query.


Stack created with GitHub Stacks CLI • Give Feedback 💬

Every submission's full score JSON (ROC curves included) was inlined
into the leaderboard HTML, making the milk10k page 7MB and the 2019
page 5MB uncompressed. Slow clients kept sync gunicorn workers pinned
in sendall past the 30s timeout.

The page now only renders the table, and the details row fetches
/submission/<id>/score/ when it is first expanded. The endpoint applies
the same visibility rules as the leaderboard query.
@danlamanna
danlamanna added this pull request to stack #418 December 1, 2026 16:23
@danlamanna
danlamanna merged commit 0370103 into master Dec 1, 2026
1 check passed
@danlamanna
danlamanna deleted the leaderboard-score-endpoint branch December 1, 2026 16:28
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.

1 participant