scarlett: share aggregate preparation and triage refusal counts #75

Merged
Valdi320 merged 4 commits from upstream-pr/75 into main 2026-11-24 19:52:52 +00:00
Valdi320 commented 2026-11-24 17:52:06 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by Valdi320 on 2026-11-24T17:52:06Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:issue:6588025488 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/75). Originally posted by [Valdi320](https://github.com/Valdi320) on 2026-11-24T17:52:06Z. --- 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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
brcly/TuxBox!75
No description provided.