Repository navigation
Delete live leaderboard rows that drop off the upstream board - #1153
Merged
Merged
Conversation
The shared live leaderboard engine now deletes a managed row once its upstream entry label is no longer listed, matching the FrontierCS 2 sync. Rows with reviewer notes are kept and reported, a row carrying another board's metric only loses this board's metric, and the three Artificial Analysis boards opt out with retire_missing=False because AA stops charting older models without restating their scores. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e4c4749. Configure here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

Summary
Follow-up to #1151 (FrontierCS 2), applied to the shared live leaderboard engine (
backend/services/live_leaderboard_sync.py) used by 19 sync jobs (Vals Index, SWE-sweep, Vending-Bench 2, Blueprint-Bench 2, Riemann-Bench, CWE-bench, ExploitGym, CyberGym, PatchEval-Verified, CritPt, CritPt v2, Terminal-Bench-Science, Vals Finance Agent, Surge Chartography, SWE-Marathon, JevBench, RSI-Exam, SLE, Physics-IQ Verified).<job>_deleted. Excluded names count as listed.missing_upstream.best_metricmoves to a remaining one.LiveLeaderboard.retire_missingflag (defaultTrue). The three Artificial Analysis boards (CritPt, CritPt v2, Terminal-Bench-Science) set it toFalse: AA stopped charting 6–8 older models on 2026-11-22 without restating their scores, so those rows are kept and reported, consistent with the main AA sync's policy.Production impact preview
Rollback-only dry run of every
BOARD_SYNCSboard against production on 2026-11-23: 0 rows would be deleted. The AA boards report 6/8/8 rows asmissing_upstream.Validation
pytest backend/tests/evaluation backend/tests/cron: all sync tests pass, including new engine tests (unannotated deletion, annotated kept, multi-metric strip,retire_missing=False, AA opt-out set).LiveDatabaseRefused, covered by CI's test-database job) andtest_cron_jobs_declare_bounded_execution_contracts, which fails identically onmain(Google Scholar3htimeout).ruff check/format,scripts/backend_comments.py check.Not in scope: the AA boards also show duplicate rows for one upstream entry (e.g. CritPt v2 "Claude Fable 5.2" and "Claude Fable 5.2 (max)") because the auto-matched model name flips between runs; tracked separately.
🤖 Generated with Claude Code
Note
Medium Risk
Changes shared sync behavior across many leaderboard cron jobs: incorrect label matching or retire logic could delete or strip evaluation rows, though reviewer notes and AA opt-outs limit blast radius.
Overview
Extends the shared live leaderboard sync engine so managed rows that no longer appear on the upstream board are retired, not only reported—aligning ~19 cron sync jobs with the existing FrontierCS 2 behavior.
When a row’s upstream label (from the methodology head) disappears, unannotated rows are deleted and logged as
<job>_deleted; rows with reviewer notes stay and are still reported asmissing_upstream. Rows that carry another metric on the same evaluation only drop this board’s metric and re-rank the rest. A newretire_missingflag (defaultTrue) opts CritPt, CritPt v2, and Terminal-Bench-Science out so Artificial Analysis models that stop being charted are kept. Docs (ADR 0002, cron README, job probes), launcher idempotency text, job logging, and tests are updated for the new policy.Reviewed by Cursor Bugbot for commit 40199aa. Bugbot is set up for automated code reviews on this repo. Configure here.