Skip to content

Implement Lane E canonical rebuild single-writer flow#34

Merged
Am1n3e merged 2 commits intofeature/add-leaderboardfrom
chore/check-implementation-plan-20260307125327
Mar 7, 2026
Merged

Implement Lane E canonical rebuild single-writer flow#34
Am1n3e merged 2 commits intofeature/add-leaderboardfrom
chore/check-implementation-plan-20260307125327

Conversation

@Am1n3e
Copy link
Contributor

@Am1n3e Am1n3e commented Mar 7, 2026

Summary

  • Add a dedicated Leaderboard Rebuild workflow that runs on finalize success (workflow_run) or manual dispatch with single-writer concurrency (leaderboard-data-writer).
  • Extend leaderboard publish tooling to rebuild from canonical submissions/*.json, prune to latest 100 by eval_completed_at_utc/submission_id, and publish branch-root artifacts with manifest-last semantics.
  • Add dev.leaderboard.rebuild-canonical, update the rebuild runbook, and add tests for retention ordering and deterministic rebuild outputs.

Testing

  • uv run pytest tests/leaderboard/test_publish_atomic.py tests/leaderboard/test_rebuild_retention.py tests/types/test_leaderboard_types.py
  • uv run ruff check dev/leaderboard/publish.py dev/leaderboard/tasks.py tests/leaderboard/test_rebuild_retention.py

Am1n3e added 2 commits March 7, 2026 14:11
Switch leaderboard publishing to canonical submissions with deterministic retention and manifest-last root artifacts so rebuilds stay consistent and branch-scoped.
Align canonical loader typing with integer submission IDs and update retention fixtures to the canonical schema required by Lane D records.
@Am1n3e Am1n3e force-pushed the chore/check-implementation-plan-20260307125327 branch from 07c6398 to 3963f2b Compare March 7, 2026 13:14
@Am1n3e Am1n3e merged commit 1e17610 into feature/add-leaderboard Mar 7, 2026
@Am1n3e Am1n3e deleted the chore/check-implementation-plan-20260307125327 branch March 7, 2026 13: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