Skip to content

fix(lane D): king full bench sweeps one suite per settlement (live 2026-12-01) - #1050

Merged
tensorlink-dev merged 2 commits into
mainfrom
laned-king-bench-per-suite
Dec 1, 2026
Merged

tensorlink-dev merged 2 commits into
mainfrom
laned-king-bench-per-suite

Conversation

@tensorlink-dev

Copy link
Copy Markdown
Contributor

Follow-up to #1042. Live 2026-12-01: the first lane D king's full bench swept all four suites in one call, outran its 2484 s allowance and failed TimeoutExpired at 09:27. It would have failed the same way at every settlement.

Change (cascade/validator/lane_d_king_bench.py)

  • Each attempt sweeps one missing suite, in the order gift, boom, time, fev. GIFT-Eval goes first because the dashboard reads it.
  • Each finished suite is merged into <state>/lane_d_king_bench/<digest>.json straight away. The record stays complete: false until all four are in, and the partial record is published as king.bench. The website's giftPair only needs gifteval_crps/gifteval_mase, so cascade/website is unchanged.
  • At the next settlement the sweep picks up the next missing suite. A complete record is never swept again.
  • A suite that fails (timeout, host down) is retried and never loses the earlier suites.
  • A suite that answers without a usable aggregate counts as one attempt. After max_attempts such answers it is left out and the sweep moves on to the next suite.
  • New knob [lane_d] king_bench_suite_estimate_s (default 1800, range [60, 86400]). It is parsed in load_chain_config and has a round-trip test. It is left out of the judge request (_JUDGE_SKIP_FIELDS), and main.py passes it to KingBench. When the allowance left is shorter than this estimate, the sweep is skipped and retried at the next settlement.
  • The on-host timeout -k (IR008) is still min(per-checkpoint, allowance) for the single-suite call.

Display only. It never touches the signed report, gate, crown or pay.

Tests

  • New file tests/accept/w8b/test_w8b_king_bench_per_suite.py with 7 tests. All of them fail on base by assertion.
  • test_w8b_king_full_bench.py is updated for the per-suite sweep.
  • The w8b suite, test_incident_rules, test_config, the w12a doc/surface tests, w_offbox identity, w2 keys and w3b6a full bench all pass.

PATHS: tests/accept/w8b/PATHS.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe

…26-12-01)

The first lane D king's display-only full bench swept gift/boom/time/fev in
one call, outran its 2484 s allowance and failed TimeoutExpired at 09:27; it
would fail every settlement the same way.

Each attempt now sweeps ONE missing suite (gift first: the dashboard reads
GIFT-Eval), merges it into the stored record at once (complete: false until
all four, published as the partial king.bench), and the next settlement
resumes at the next missing suite. A complete record is never re-swept; a
failed suite never loses the earlier ones; a suite answering without a
usable aggregate is left out after max_attempts answers. With less allowance
left than one suite's estimate ([lane_d] king_bench_suite_estimate_s,
default 1800 s, parsed + range-checked, left out of the judge request) the
sweep is skipped and retried next settlement. The bench host's on-host
timeout -k (IR008) stays sized to the allowance handed in.

Display only: never the signed report, gate, crown or pay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cascade Ignored Ignored Preview Dec 1, 2026 9:52am UTC

Request Review

@tensorlink-dev
tensorlink-dev added this pull request to the merge queue Dec 1, 2026
Merged via the queue into main with commit a0eae38 Dec 1, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant