scarlett: share aggregate preparation and triage refusal counts #75

Manually merged
github merged 4 commits from gh-pr/75/head into gh-pr/75/base 2026-11-26 06:29:25 +00:00
Owner

@⁠Valdi320 on GitHub · 2026-11-24 17:52 UTC · original
Valdi320:work/scarlett-prep-reasons → main · +312 −15 · 7 files · 4 commits · merged 2026-11-24 19:52 UTC

Issue #39's new runtime log exposes 88 explicit live refusals, while the separate preparation run reports 3,966 unsupported requests. These are different populations; we cannot infer the full ranking from the log. This change emits a bounded aggregate JSON line on completed preparation and adds --aggregate-only to the existing emitter-only triage tool so a reporter can share a full fresh coarse ranking even on a warm cache without sharing shader bytes, digests, paths or raw errors.

No translation or cache semantics change. Cached refusal reasons are explicitly unavailable; unfamiliar reasons are grouped, not guessed. Existing private detailed triage remains unchanged. Tests: 135 Python tests pass, including cold/warm preparation accounting and aggregate privacy. Actual public runtime log classified offline into 57 divergent reductions, 13 EXEC elections, 8 DPP prologues, 6 saveexec prologues, 2 swizzles, 1 lane read and 1 scalar offset. No title inputs, no GPU use. No claim of fixing a shader or runtime failure. AI-assisted.

Coordination: overlaps #44 in preparation/triage/documentation and #54 in the existing test module, not runtime shader lowering. #75 is the small aggregate-only reporting addition against current main; preserve the richer private worklist in #44 if both are accepted, and reconcile shared files rather than treating them as independent patches. #61 is complementary offline runtime diagnosis.

**@⁠Valdi320** on GitHub · 2026-11-24 17:52 UTC · [original](https://github.com/brcly/TuxBox/pull/75) `Valdi320:work/scarlett-prep-reasons` → `main` · +312 −15 · 7 files · 4 commits · merged 2026-11-24 19:52 UTC Issue #39's new runtime log exposes 88 explicit live refusals, while the separate preparation run reports 3,966 unsupported requests. These are different populations; we cannot infer the full ranking from the log. This change emits a bounded aggregate JSON line on completed preparation and adds --aggregate-only to the existing emitter-only triage tool so a reporter can share a full fresh coarse ranking even on a warm cache without sharing shader bytes, digests, paths or raw errors. No translation or cache semantics change. Cached refusal reasons are explicitly unavailable; unfamiliar reasons are grouped, not guessed. Existing private detailed triage remains unchanged. Tests: 135 Python tests pass, including cold/warm preparation accounting and aggregate privacy. Actual public runtime log classified offline into 57 divergent reductions, 13 EXEC elections, 8 DPP prologues, 6 saveexec prologues, 2 swizzles, 1 lane read and 1 scalar offset. No title inputs, no GPU use. No claim of fixing a shader or runtime failure. AI-assisted. Coordination: overlaps #44 in preparation/triage/documentation and #54 in the existing test module, not runtime shader lowering. #75 is the small aggregate-only reporting addition against current main; preserve the richer private worklist in #44 if both are accepted, and reconcile shared files rather than treating them as independent patches. #61 is complementary offline runtime diagnosis.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:29:23 +00:00
github manually merged commit a31b92d82e into gh-pr/75/base 2026-11-26 06:29:25 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.