ci(screen): judge draft-depth/drafter-changing arms per token, no accept guard #203

Merged
Grok merged 1 commit from fix/picker-accept-defining into master 2026-10-07 18:58:28 +02:00
Owner

The CI combination screen's picker (scripts/ci-pick-winner.py, since 23e87378) judges TG per MTP row-step and rejects an arm whose mean accept_rate falls >5% below control. That is right for levers that keep draft depth and drafter fixed. It is wrong for arms that change them: b8k3-cph48 shipped at +2.25% per-token TG but reads -8.8% per step at B8 with accept -5.66%. So none of PR #200's arms C-H (all b8k3) can win.

  • An arm whose effective env (records' env_effective, else the arm spec via ttxlib) differs from control's in an acceptance-defining key (ACCEPTANCE_DEFINING_KEYS / ACCEPTANCE_DEFINING_PREFIXES: QWEN36_MTP_BATCH, _K, _K_BY_BUCKET, _WEIGHTS, QWEN36_SPEC, QWEN36_MTP_DRAFT_VOCAB*, QWEN36_DSPARK*, QWEN36_DFLASH*) is judged per token with no accept-drop guard. Its score carries tg_basis, accept_defining_diff and a note, and the screen table gains a "TG judged" column.
  • Other arms are unchanged.
  • Tests: there's a fixture trimmed from the 2026-10-06 b8k3-cph48 ab records (the old rule rejects it, the new one picks it at +2.25%), plus per-key cases, the same-depth guard and the unknown-env default. The full tools/ttx/tests suite passes: 507 tests OK, 1 skipped.
  • docs/CI.md is updated.

🤖 Generated with Claude Code

The CI combination screen's picker (`scripts/ci-pick-winner.py`, since 23e87378) judges TG per MTP row-step and rejects an arm whose mean accept_rate falls >5% below control. That is right for levers that keep draft depth and drafter fixed. It is wrong for arms that change them: b8k3-cph48 shipped at +2.25% per-token TG but reads -8.8% per step at B8 with accept -5.66%. So none of PR #200's arms C-H (all b8k3) can win. - An arm whose effective env (records' `env_effective`, else the arm spec via ttxlib) differs from control's in an acceptance-defining key (`ACCEPTANCE_DEFINING_KEYS` / `ACCEPTANCE_DEFINING_PREFIXES`: `QWEN36_MTP_BATCH`, `_K`, `_K_BY_BUCKET`, `_WEIGHTS`, `QWEN36_SPEC`, `QWEN36_MTP_DRAFT_VOCAB*`, `QWEN36_DSPARK*`, `QWEN36_DFLASH*`) is judged per token with no accept-drop guard. Its score carries `tg_basis`, `accept_defining_diff` and a `note`, and the screen table gains a "TG judged" column. - Other arms are unchanged. - Tests: there's a fixture trimmed from the 2026-10-06 b8k3-cph48 ab records (the old rule rejects it, the new one picks it at +2.25%), plus per-key cases, the same-depth guard and the unknown-env default. The full `tools/ttx/tests` suite passes: 507 tests OK, 1 skipped. - docs/CI.md is updated. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ci(screen): judge depth/drafter-changing arms per token, without the accept guard
All checks were successful
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 2m19s
tt-stack-ci / Report upstream drift (pull_request) Successful in 33s
tt-stack-ci / Serialized card gate (pull_request) Successful in 37s
735f4dc856
Believed before (23e87378): acceptance moves are trajectory noise, so the
picker judges TG per MTP row-step and rejects an arm whose mean accept_rate
drops >5% below control. That holds when draft depth and drafter are fixed.
It is wrong for arms that change them (QWEN36_MTP_BATCH_K[_BY_BUCKET],
QWEN36_MTP_DRAFT_VOCAB*, QWEN36_DSPARK*, ...): longer steps and lower
per-draft acceptance are the expected cost, and tok/s/user is the speed.
b8k3-cph48 shipped on mean per-token TG +2.25% but the picker reads it
-8.8% per step at B8 with accept -5.66%, so PR #200's arms C-H (all b8k3)
could never win and their gates never ran.

- picker: ACCEPTANCE_DEFINING_KEYS/_PREFIXES; an arm whose effective env
  (records' env_effective, else the arm spec via ttxlib) differs from the
  control's in one of them is judged per token with no accept-drop guard,
  and its score says so (tg_basis, accept_defining_diff, note; stderr note).
  All other arms keep the per-row-step rule and the guard.
- ci.yml: screen table gains a "TG judged" column.
- tests: fixture trimmed from the 2026-10-06 b8k3-cph48 ab records (old
  rule rejects, new rule picks it at +2.25%), per-key cases, same-depth
  arms keep the guard, unknown env keeps the default.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner

verdict: approve
tier: n/a (tt-stack scoring heuristic, not a nixos-llm infra/T2 path)

rationale: The picker judged TG per MTP row-step, so arms that change draft depth/drafter (b8k3-cph48) were rejected on per-step TG despite +2.25% per-token TG. This PR judges only the acceptance-defining arms (QWEN36_MTP_BATCH_K[_BY_BUCKET], DRAFT_VOCAB*, DSPARK*, DFLASH*, ...) per token with no accept-drop guard, and leaves every other arm on the old rule. Verified: CLI picks dx-b8k3-cph48 at +2.25% per-token, min per-cell TG -0.23% inside the -2% bar, d_accept -5.24% reported not judged, spec_env resolves real arms, all 24 pick-winner tests pass. Scope matches the description.

concerns:

  • [warn] scripts/ci-pick-winner.py:108-138 - an arm is now judged per token whenever its effective env differs in one of ~8 keys; per-token is weaker than per-step for a fixed harness. Per-token still carries the -2% per-cell floor and the PP floor, so a real one-cell degradation isn't masked; the guard is now opt-out on the key list. Worth documenting this trade-off (false-positive winner with +2.25% per-token but -8% per-step at a held-out B) if not already in docs/CI.md. Everything else is a clean, minimal, well-covered change.
**verdict:** approve **tier:** n/a (tt-stack scoring heuristic, not a nixos-llm infra/T2 path) **rationale:** The picker judged TG per MTP row-step, so arms that change draft depth/drafter (b8k3-cph48) were rejected on per-step TG despite +2.25% per-token TG. This PR judges only the acceptance-defining arms (QWEN36_MTP_BATCH_K[_BY_BUCKET], DRAFT_VOCAB*, DSPARK*, DFLASH*, ...) per token with no accept-drop guard, and leaves every other arm on the old rule. Verified: CLI picks dx-b8k3-cph48 at +2.25% per-token, min per-cell TG -0.23% inside the -2% bar, d_accept -5.24% reported not judged, spec_env resolves real arms, all 24 pick-winner tests pass. Scope matches the description. **concerns:** - [warn] scripts/ci-pick-winner.py:108-138 - an arm is now judged per token whenever its effective env differs in one of ~8 keys; per-token is weaker than per-step for a fixed harness. Per-token still carries the -2% per-cell floor and the PP floor, so a real one-cell degradation isn't masked; the guard is now opt-out on the key list. Worth documenting this trade-off (false-positive winner with +2.25% per-token but -8% per-step at a held-out B) if not already in docs/CI.md. Everything else is a clean, minimal, well-covered change.
Grok merged commit 735f4dc856 into master 2026-10-07 18:58:28 +02:00
Author
Owner

agent-gateway closeout (merged): cleared agent:* labels.
Hermes kanban card (if any) is left for Hermes to archive/complete.

agent-gateway closeout (merged): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.
Member

Cards skipped

PR #203 735f4dc856dd73433c1f2aac167f255db8c178a1 (refs/pull/203/head) does not touch card-facing paths (bench/arms/, patches/, kernel/op sources, or .forgejo/workflows/). No card boot. Build out: /nix/store/hbb3j0xxx0pqf760i3p54q54gzgmzpc9-vm-test-run-tenstorrent-serving.

## Cards skipped PR #203 `735f4dc856dd73433c1f2aac167f255db8c178a1` (`refs/pull/203/head`) does not touch card-facing paths (`bench/arms/`, `patches/`, kernel/op sources, or `.forgejo/workflows/`). No card boot. Build out: `/nix/store/hbb3j0xxx0pqf760i3p54q54gzgmzpc9-vm-test-run-tenstorrent-serving`.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack!203
No description provided.