Skip to content

Delete live leaderboard rows that drop off the upstream board - #1153

Merged
NielsRogge merged 2 commits into
mainfrom
claude/leaderboard-sync-delete-missing
Nov 23, 2026
Merged

NielsRogge merged 2 commits into
mainfrom
claude/leaderboard-sync-delete-missing

Conversation

@NielsRogge

@NielsRogge NielsRogge commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

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).

  • A managed row whose upstream entry label (from its methodology head) is no longer listed is deleted and logged as <job>_deleted. Excluded names count as listed.
  • Rows with reviewer notes beneath the managed head are kept and still reported as missing_upstream.
  • A row that also carries another board's metric (Physics-IQ tracks) only loses this board's metric; best_metric moves to a remaining one.
  • New LiveLeaderboard.retire_missing flag (default True). The three Artificial Analysis boards (CritPt, CritPt v2, Terminal-Bench-Science) set it to False: 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.
  • Other syncs (DeepSWE, ParseBench, 3D Arena, Open ASR/TTS, MMTEB, …) already delete; the main Artificial Analysis sync keeps its deliberate version-based policy.
  • ADR 0002, CRON README, cron-health probes and launcher idempotency text updated.

Production impact preview

Rollback-only dry run of every BOARD_SYNCS board against production on 2026-11-23: 0 rows would be deleted. The AA boards report 6/8/8 rows as missing_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).
  • Remaining failures are the live-DB guard (LiveDatabaseRefused, covered by CI's test-database job) and test_cron_jobs_declare_bounded_execution_contracts, which fails identically on main (Google Scholar 3h timeout).
  • 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 as missing_upstream. Rows that carry another metric on the same evaluation only drop this board’s metric and re-rank the rest. A new retire_missing flag (default True) 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.

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>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ 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>
@NielsRogge
NielsRogge merged commit e8b19c8 into main Nov 23, 2026
6 checks passed
@NielsRogge
NielsRogge deleted the claude/leaderboard-sync-delete-missing branch November 23, 2026 11:15
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