Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

Fix/validator scoring weights - #66

Merged
bitzic merged 5 commits into
mainfrom
fix/validator-scoring-weights
Jun 26, 2026
Merged

Fix/validator scoring weights#66
bitzic merged 5 commits into
mainfrom
fix/validator-scoring-weights

Conversation

@bitzic

@bitzic bitzic commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

No description provided.

bitzic and others added 5 commits June 26, 2026 07:23
- the rate-limit recovery merge re-added the previous king at king-level
  weight on top of the new king's, every epoch, until a set_weights finally
  landed and cleared pending_weights -> emission split across two kings
  (the "validator weights both kings after a change" bug).
- _apply_pool_split already weights the CURRENT king authoritatively, so a
  recovered king-level weight (>= KING_POOL_FRACTION) for any non-current
  king is a stale reign -> drop it; keep sub-king meaningful_failure recoveries.
- extract _merge_recovered_weights helper + regression tests.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- calibrate the H100 cost reference: matmul_ms_ref 5.0 (placeholder) -> 0.51
  (measured on H100 PCIe, run_calibration). The old value inflated normalized
  H100-hours ~14x (a ~7 wall-clock-hour run read as 102 "H100h").
- net-score crown gate: a challenger that beats the king on quality/benchmark
  must ALSO be net-positive after compute is charged (score > 0) -> an equal-
  quality cheaper model wins, runaway compute is rejected, no hard hour cap.
- tunable: RALPH_COMPUTE_COST_WEIGHT (default 0.002 = 500 H100h per bpb-point),
  RALPH_H100_MATMUL_MS_REF, RALPH_COMPUTE_CROWN_GATE escape hatch.
- current king stays crowned (score +3.32); a 5x-compute clone is rejected.
  +6 gate tests; full suite 898 passed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
CI cloned recipe main, which tracks the latest king's auto-merged recipe; a
U-Net skip-gate model there index-errors on the tests' small config, so main +
every PR went red on 3 unrelated tests (multiseed + patched_eval). Pin to the
canonical recipe the validator actually runs. Full suite: 905 passed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
A challenger deferred by the king min-tenure guard sits in queue/pending and is
re-scored EVERY epoch until tenure lapses (~300 blocks), re-running the ~90s GPU
hidden-eval each time even though the bundle + eval shard are immutable — pure
waste that also blocks the GPU from processing new submissions. Cache the op4
result as a per-bundle dotfile keyed on a fingerprint of the eval shard (auto-
invalidates on eval rotation; op1 integrity is manifest-based so the file is
ignored). +4 tests; full suite 909 passed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bitzic
bitzic merged commit a6caa48 into main Jun 26, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant