← ClaudeAtlas

ranking-elo-updatelisted

Apply deterministic Elo updates for one completed tournament batch, persist touched hypotheses, and write the ranking update receipt.
panjose/Co-Scientist · ★ 4 · AI & Automation · score 77
Install: claude install-skill panjose/Co-Scientist
# ranking-elo-update Goal: - Apply deterministic Elo updates for one completed tournament batch, persist the touched hypothesis artifacts, and write the ranking update receipt. Inputs: - completed tournament `matches` - canonical `matchups` - `strategy` - `run_dir` - optional `k_factor` - optional `top_k_limit` Outputs: - updated in-memory hypothesis ratings and match references - updated `hypotheses/<id>/HYPOTHESIS.json` artifacts for all touched hypotheses - `state/ranking_update_receipts/<receipt_id>.json` - `RankingUpdateReceiptContract` Context Loading: - Open `skills/shared-references/schema-index.md`. - Read `packages/agent_contracts/ranking.py` and confirm the exact `TournamentMatchContract` plus `HypothesisMatchupContract` shapes. - Read `packages/agent_contracts/hypothesis.py` and confirm the exact `HypothesisContract` shape before writing any touched `HYPOTHESIS.json` artifact. - Use only tournament artifacts whose winners have already been decided and serialized. Execution Contract: - This skill is deterministic and must not call an LLM. - Use `from tools import apply_and_persist_elo_updates` as the stable invocation surface. - The exported closeout helper is implemented in `packages/run_artifacts/ranking_writeback.py`. - The helper signature is `apply_and_persist_elo_updates(run_dir, matches, matchups, strategy, k_factor=..., top_k_limit=...) -> RankingUpdateReceiptContract`. - The closeout helper internally calls the canonical Elo helper, persists touc