Skip to content

Keep older result versions viewable on the leaderboard - #35

Merged
laurenceyoon merged 4 commits into
mainfrom
feature/result-versions
Nov 19, 2026
Merged

laurenceyoon merged 4 commits into
mainfrom
feature/result-versions

Conversation

@darth-alexus

@darth-alexus darth-alexus commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Adds a "Results version" menu to the leaderboard, so older results stay viewable after we publish new ones.

  • Every published release is also deployed under versions/<tag>/, e.g. …/versions/v1.0.0/, so a paper can link its exact version. The root always shows the latest release.
  • Releases are tagged vX.Y.Z: major = new evaluation key, minor = new entries, patch = fix.
  • To stay under the 1 GB Pages limit, only the newest 3 releases and pinned ones (the paper's release) keep their per-piece plots (NEWEST_FULL_VERSIONS and PINNED_FULL_VERSIONS in build_site.py). Other versions show their tables, and their per-piece results stay in the release files.
  • Publish leaderboard no longer republishes an older tag; without new runs it redeploys the latest release.

The site also serves each published release at v/<tag>/ with a Results
version menu, so a paper can link the exact numbers it cites. Only the newest
releases and those listed in data/full_versions.yaml keep their per-piece
views; older ones show their tables, keeping the site under the Pages limit.
@darth-alexus
darth-alexus changed the base branch from feature/experiments-and-releases to main November 19, 2026 19:19
@darth-alexus
darth-alexus marked this pull request as ready for review November 19, 2026 19:20

@laurenceyoon laurenceyoon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! A few things I'd like to sort out before merging:

  1. I found one bug: if release_tag is set to an older tag, the root shows that old version, but its "see the latest version" link and the menu's latest entry both point back to the root. Since every release now has its own v/<tag>/ page, could we just drop the option to republish an existing tag?
  2. I'd rather not add data/full_versions.yaml / keep. It means one more manual step at release time, and the numbers a paper cites are in the tables, which every version keeps anyway. A constant in build_site.py for how many newest versions keep their per-piece views should be enough.
  3. Since no result release exists yet, how about using vX.Y.Z like matchmaker instead of benchmark-*? For example: major = new evaluation key, minor = new entries, patch = fix. The page path would then read better as versions/<tag>/.
  4. It would be nice to trim things a bit: check the tag format in one place, drop the redundant file checks and fallbacks, and keep the explanation only in maintaining.md.
  5. For the tests, I'd keep the three that check behaviour we'll keep relying on: own path per version, newest versions keep per-piece views, and the release filter and order. The others only check config validation, an error message, or the workflow's YAML text, so I think we can drop them.

…ags, constants instead of full_versions.yaml

- Result releases are tagged vMAJOR.MINOR.PATCH and served at versions/<tag>/.
  The tag format is checked in one place (TAG in release_results.py).
- Without source_runs, Publish leaderboard always redeploys the latest
  release, so the root is the newest version and the menu's latest link holds.
- NEWEST_FULL_VERSIONS and PINNED_FULL_VERSIONS in build_site.py decide which
  releases keep their per-piece views; data/full_versions.yaml is removed.
- Fewer checks and fallbacks, the explanation only in maintaining.md, and the
  three behaviour tests.
@darth-alexus

Copy link
Copy Markdown
Collaborator Author

Thanks a lot for the review @laurenceyoon, all good points! Here's what I changed now:

  1. Republishing an old tag: removed. Without source_runs, Publish leaderboard now always redeploys the latest release (release_tag alone is refused), so the root is always the newest version and older ones live at versions/<tag>/. That fixes the "latest" link bug.
  2. I removed full_versions.yaml: now. You're right, that was a bit unnecessary..
    Two constants in build_site.py decide which releases keep their per-piece views: NEWEST_FULL_VERSIONS = 3, and PINNED_FULL_VERSIONS = ("v1.0.0",) for the release our paper cites. The pin is set once, not at every release, so there's no extra step at release time, and the paper's version keeps its plots however many releases follow. If we end up citing a different tag, it's a one-line change.
  3. Tags: releases are now vX.Y.Z (major = new evaluation key, minor = new entries, patch = fix), and the pages live at versions/<tag>/. The tag format is checked in one place (TAG in release_results.py), both when publishing and when listing releases. I also updated the tag in your "failed run" test.
  4. Trimmed: no extra file checks or fallbacks in add_versions() and the page script, and the explanation (incl. the version scheme) only lives in maintaining.md.
  5. Tests: down to the three you named: own path per version, newest (and pinned) versions keep per-piece views, release filter and order.

Also merged the current main, so the PR only shows the version-menu changes now.

@laurenceyoon
laurenceyoon merged commit 16ba64d into main Nov 19, 2026
2 checks passed
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