Repository navigation
feat(lane D): full public bench of a newly crowned king → status/lane_d.json king.bench - #1042
Merged
Merged
Conversation
… status king.bench Owner 2026-12-01: "if someone is crowned [on lane D] we score them". After a settlement is published, a miner KING_D without a stored bench gets ONE display-only sweep on gift/boom/time/fev on the lane D bench host (SweepSession over SSHBenchHost.sweep_full, lane A's sidecar settings), on its own thread with an allowance ending an hour before the next boundary. The bench host's reply now carries per-suite aggregate CRPS/MASE beside the unchanged gate rows. The result is stored in the lane D state dir and published in the unsigned status/lane_d.json as king.bench under lane A's BenchScores keys (gifteval_crps/gifteval_mase, ... the website's keys); prior kings keep theirs. Failures are logged and retried next settlement; the house is never benched. Never gate, crown, pay, signed report or any consensus value; main validator only (needs --lane-d-inputs bench_hosts). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
This was referenced Dec 1, 2026
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.
Owner 2026-12-01: "if someone is crowned [on lane D] we score them", on all public benchmarks.
Display only, main validator only. This never feeds the gate, the crown, pay, the signed report or any consensus value. External validators don't run it, because no bench host is wired there.
What it does
cascade/validator/lane_d_wiring.py,LaneDStep._produce): after_publish→_request_publication→_publish_status, the new_schedule_king_bench(b, inp)gets the current KING_D. If it is a miner king with no stored complete bench,KingBench.schedulestarts one sweep on a daemon thread. The step never waits for it.cascade/validator/lane_d_king_bench.py): runsSweepSessionover the newSSHBenchHost.sweep_fullon the lane Dbench_hosts. It covers all four suites (gift, boom, time, fev) and uses lane A's DEC-CA-0063 sidecar settings (bench_settings) at the king's effective context.effective_epoch_blocks× 12 s. If less than 15 min are left, the sweep doesn't start and is retried at the next settlement. Only one king sweep runs at a time.cascade/eval/lane_d_bench_sweep.py): the reply gainsaggregates(suite_aggregates: the suite-levelmetrics, using the same aliases and coverage rule asextract_bench_scores, so the numbers compare with the lane A king's signed ones). The gaterowsare unchanged and an old box ignores the new key. The bench host checkout has to carry this change before king numbers appear. Until then the reply has no aggregates, the sweep is logged as a failure and retried.<lane D state dir>/lane_d_king_bench/<digest>.json.status/lane_d.jsongetsking.bench, and each prior king keeps its storedbench. The result is also republished into the status as soon as the sweep finishes.Status shape (
king.bench){"schema":"lane-d-king-bench/1","digest":"…","boundary":N,"as_of":"2026-12-01T05:00:00Z", "gifteval_crps":…, "gifteval_mase":…, "boom_crps":…, "boom_mase":…, "time_crps":…, "time_mase":…, "fev_crps":…, "fev_mase":…, "bench_method":"observed_mask/3", "data_revisions":{"gift":"…",…}, "complete":true, "suites":{"gift":{"status","crps","mase","partial","n_items",…},…}}The flat
gifteval_crps/gifteval_masekeys are the first branch ofgiftPair()inindex.htmlandstakeholders.html, and they follow lane A's BenchScores convention (readSix).Failures
complete: falseand retried up to 4 times.Known limit
When the allowance times out, the local ssh client is killed. The remote sidecar may keep running until it notices the closed channel.
Tests (torch-free; on base they fail by AssertionError)
tests/accept/w8b/test_w8b_king_full_bench.py:king.benchis checked against the website's shape;tests/accept/w3b6a/test_w3b6a_king_full_bench.py:sweep_fullmerges the aggregates, honours the context override and caps the allowance;Labels:
laned:W8b(wiring, main, new module in its PATHS) andlaned:W3b6a(bench host and sweep).🤖 Generated with Claude Code
https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe