fix(tools): rank pipeline failures by the recorded refusal reason #213
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/brcly--TuxBox!213
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-213"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@brainbudt on GitHub · 2026-11-26 05:41 UTC · original
brainbudt:fix/rank-recorded-refusal-reason→main· +32 −3 · 2 files · 1 commits · merged 2026-11-26 08:26 UTCProblem
The D3D12 provider records why a compute pipeline was refused (e.g.
CS.refused=host-lacks-wave64from #171 and driver failure/deadline reasons from #209), buttools/rank_pipeline_failures.pyignores<stage>.refused. As a result, wave64 refusals and driver compilation failures fall back to generic host-rejection or "stand-in after translation (cause not recorded)" buckets. Refs #151.Change
name=valueso refusal reasons containing spaces (e.g.driver compile failed: 0x80004005) are preserved intact.<stage>.refused(whenoutcome != "not listed") before consulting cached translation reasons, counting both failed creations and stand-ins under the recorded refusal reason while keeping outcome counts separate and older record attribution unchanged.tests/test_rank_pipeline_failures.pycoveringhost-lacks-wave64aggregation and multi-word driver refusal reasons.Verification
ac4f099; all 11 focused tests intests/test_rank_pipeline_failures.pypass with the patch on macOS ARM64 and Linux x86-64.python tuxbox.py check --no-gpupassed on Linux x86-64 (370 Python tests, 27 skipped; 404 Linux release Rust tests; D3D12 Windows typecheck).Reviewed with mistral-loop: APPROVE (1 round,
mistral-large-4-0+deepseek-v4-1-flash-1017).Created with gpt-6.2-astra in Codex (orchestrated with Gemini 4 Neon in T3 Code).