Skip to content

fix(lane D): charge a cohort's draw only for windows not yet judged this settlement (live 9630000) - #1061

Open
tensorlink-dev wants to merge 1 commit into
mainfrom
laned-fresh-share-draw
Open

tensorlink-dev wants to merge 1 commit into
mainfrom
laned-fresh-share-draw

Conversation

@tensorlink-dev

Copy link
Copy Markdown
Contributor

Live case

Settlement 9630000 (2026-12-01 22:27 UTC): 5GHAPfhm / 5ELRsGeL / 5GhPUmHV (frozen sets 10,261 / 11,380 / 11,177) were skipped pending_floor. This was not caused by the fresh share: 641 fresh windows of 5ELRsGeL allow a 3,205-window draw at 0.2. The three earlier per-member cohorts (#1056) judged 4,112 unique windows out of 5,000. The next draw was then charged in full against the 888 left (lane_d.py:1234). 888 is below min_windows 1,000, so the draw returned window_budget (lane_d_draw.py:274).

Change

  • _drawn_in_budget: each cohort's draw is charged against max_windows_per_settlement only for windows no earlier cohort of the settlement judged. The draw keeps its seed and algorithm. Only its size budget changes: the full cap when the draw's new windows fit what is left, otherwise the largest size whose new windows fit (found by bisection; the old budget always fits, so no member is worse off than before). The settlement's unique judged total stays at or below the cap, which is the number the released checkers check.
  • A member skipped for budget stays pending_floor (no new report string). The validator logs lane_d_budget_skip <digest> budget_left=N need=M.
  • Docs (MINER_LANE_D, w5c README) updated. The old budget test in test_w5c_own_t.py encoded the starvation, so it was removed; the new rule is pinned in test_w5c_budget_reuse.py.

Tests (torch-free; each new test fails on base by assertion)

  • Later members judged on windows an earlier cohort already judged.
  • Only new windows are charged.
  • Below the floor after reuse: still pending_floor, and the skip is logged.
  • The draw shrinks to fit the new windows that are left.
  • Six members: the old rule starved the last three; now all six are judged, each draw has fresh share >= 0.2, unique total <= cap.
  • Released checkers 86b3dba and 890fe6d: zero burns, zero findings on that six-member report.
  • Re-run: w5c (all files), w_hz draw, w7a report/embargo, w7d, w9, the other non-torch settle_lane_d accept files, tests/unit/test_incident_rules.py. w7a/test_w7a_public.py fails the same way on base (pyarrow missing in the box venv).

🤖 Generated with Claude Code

https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe

…his settlement (live 9630000)

Settlement 9630000: three frozen members (5GHAPfhm, 5ELRsGeL, 5GhPUmHV,
10-11k windows each) waited pending_floor. Not the fresh share (641 fresh
of 5ELRsGeL allow a 3,205-window draw at 0.2): the three earlier per-member
cohorts had judged 4,112 unique windows of max_windows_per_settlement 5,000,
and the whole next draw was charged against the 888 left (< min_windows
1,000, window_budget), though the later sets overlapped what was judged.

- _drawn_in_budget: the draw (same seed, same algorithm) takes the full cap
  when its NEW windows fit what is left, else the largest size whose new
  windows fit (bisection; what is left always fits). The settlement's unique
  judged windows stay within the cap, which the released checkers count.
- A member skipped for budget stays pending_floor (no new report string);
  the validator logs lane_d_budget_skip <digest> budget_left=N need=M.
- Released checkers 86b3dba / 890fe6d: zero burns, zero findings on a
  six-member report where the old rule starved the last three.

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 Dec 1, 2026 11:56pm UTC

Request Review

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