Skip to content

fix(lane D): each challenger is judged from its own reveal, not the cohort's latest (owner 2026-12-01) - #1056

Open
tensorlink-dev wants to merge 4 commits into
mainfrom
laned-own-t-cohorts
Open

tensorlink-dev wants to merge 4 commits into
mainfrom
laned-own-t-cohorts

Conversation

@tensorlink-dev

Copy link
Copy Markdown
Contributor

Owner 2026-12-01: "it shouldn't reset the window, it should only be from when they submitted."

Live case: settlement 9626400 (all 6 pending_floor, cohorts: [])

29337a31 and f9fa424b were not frozen. The other four froze, and the old code put them into ONE joint cohort. That cohort's set is the intersection of the frozen sets, eligible forward of the latest T, minus every member's used_windows. The latest-T member was popped until the draw met the floors (min_windows 1000 after the 0.2 fresh share). Estimates below come from the state's frozen sets. The eval-host forecast and source-cap filters only shrink these numbers further.

popped joint set fresh windows fails on
f5601d99 {7b11, 61ab, 2e82, f560} 0 fresh share
2e825b89 {7b11, 61ab, 2e82} 0 fresh share
61ab1757 {7b11, 61ab} 2 fresh share
7b11d440 {7b11} alone 84 of 360 (276+ spent in its 9623700 duel) fresh share: at most 84/0.2 = 420 < 1000

On their own sets, 61ab1757 (1,924 fresh), 2e825b89 (632) and f5601d99 (369) would each meet the floors.

Rule implemented (_judge_pools)

  • Each frozen miner member is its own cohort. Members are judged in reveal order on the windows eligible from their own T (t_max = max(T_member, T_king)). A later member never shrinks an earlier one's set, and an earlier member below its floors never blocks a later one. Floors are checked per member, and a member that misses them is skipped pending_floor as before.
  • Consecutive members whose own-T candidate sets match record for record share one cohort and one draw. This is the same draw each would get alone. It keeps same-set reports byte-identical (the w5e/w5g/w5j pinned reports are unchanged).
  • max_windows_per_settlement is shared across cohorts, earliest reveal first. A window judged in two cohorts counts once.
  • The report holds one windows[] record per window, and the checkers re-derive the fresh/embargo class at each cohort's bound. So a window an earlier cohort judged under a different record is left out of a later cohort (fail closed).
  • advance_frozen_set now checks a frozen set's fresh share only on windows not yet judged. A set whose fresh windows were spent on an earlier duel reopens, keeps its unjudged windows and grows. This was 7b11d440: it stayed frozen and failed every draw.

Owner decisions flagged (not changed)

  • Budget starvation: one cohort can draw up to 5000 windows, e.g. 61ab1757 alone. Later members with different sets then wait a settlement each. The alternative is a per-cohort budget split. That is your call.
  • used_windows survive king changes: 7b11d440's 1,380 used windows came from its duel against the house king (b0d4f8e4). They still block reuse against the new king 036b2fdc, and they are what spent its fresh windows. The reuse rule is unchanged.
  • King change: _advance_member restarts a frozen set only when a NEW king's reveal is later than the member's (§1.3 bound). No 9626400 member was affected, since all revealed after 036b2fdc at 11-30 15:09. Separately, the held-crown re-queue (frozen_set=None) rebuilt 61ab1757's set from scratch at 9626400. Its used windows were kept.
  • Crown order: the crown still goes to the highest LCB across cohorts. The released checker _crown_problems requires that, so cross-cohort LCBs on different window sets are compared.
  • Conflict with fix(lane D): the floors run before any forecast (live 2026-12-01, settlement 9626400) #1055 (floor before forecast): its floor pre-pass mirrors the old joint-cohort pop loop. Whichever PR merges second must switch that pre-pass to the per-member rule.

Satellites

The released checkers on validator-release-laned-live 890fe6d and validator-release-laned-1201b 0445a44 (cascade/audit/lane_d.py, byte-identical on both) are run on a two-cohort report with different t_max and a shared, class-split window pool. Result: no burn, no finding (test_w5c_own_t.py::test_the_released_checkers_pay_several_miner_cohorts). No checker rule restricts the number of miner cohorts.

Tests

  • New tests/accept/w5c/test_w5c_own_t.py: 9 tests, all failing on base by assertion. They cover:
    • an older member judged on its own-T set despite newer ones
    • a newer member below its floor that doesn't shrink older ones
    • an older member below its floor that doesn't block a newer one (the 9626400 shape)
    • reveal order
    • the budget shared across cohorts, earliest reveal first
    • a used frozen set reopening and growing
    • the released checkers at zero burns
  • test_w5c_cohort.py: the joint-cohort assertions are rewritten to the per-member rule (needs laned:tests-correction; accept W5c --check-pr --correction → MODE combined). test_w5c_house_report.py fixture assertion updated.
  • Lane D accept dirs (w5b/c/e/f/g/h/j/k, w7a, w7c, w9, w_hz, w_offbox, w8c) and tests/unit/test_incident_rules.py run torch-free, one file at a time. The only failures are pre-existing on base: w5k/test_w5k_draw.py, w7a/test_w7a_public.py, w9/test_w9_public.py. Ruff clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe

…ohort's latest (owner 2026-12-01)

Settlement 9626400: four frozen members of one joint cohort; the joint set
forward of the latest T met no floor, the latest member was dropped until
none was left (61ab1757, 1,924 own fresh windows, dropped because its joint
set with 7b11d440 held 2; 7b11d440 alone had 84 fresh windows left).

- One miner cohort per frozen member, in reveal order, over the windows
  eligible from its own T; consecutive members whose own-T candidate sets
  coincide (record for record) share one cohort and one draw.
- max_windows_per_settlement is shared across cohorts, earliest reveal first.
- A window an earlier cohort judged under another windows[] record is left
  out of a later cohort (one record per window; checkers re-derive the class
  at each cohort's bound).
- A frozen set is feasible only on windows not yet judged: a set whose fresh
  windows were spent on an earlier duel reopens and grows (7b11d440).
- Released checkers 890fe6d / 0445a44 pay the multi-cohort report.

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 8:40pm UTC

Request Review

tensorlink-dev and others added 2 commits December 1, 2026 20:20
…s are never spent (owner 2026-12-01)

Owner on #1056: "Miners should be able to use the same windows; it should be
driven by cut-off." used_windows no longer excludes anything (the frozen-set
advance, the cohort set, the seen set): a window judged in an earlier duel,
against any king, stays eligible; members share windows. used_windows stays
in state as a record. The frozen-set reopen-on-used change is dropped (moot).

The per-member cohort rule moves into a score-free planner, _cohort_plan,
so the floor pre-pass (#1055) and the judge run the same rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
…dows included (owner 2026-12-01)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
…bers (#1055 seam)

A group sharing one candidate set fails as one, in reveal order.

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant