scarlett: rank shader refusals during preparation #44

Manually merged
github merged 8 commits from gh-pr/44/head into gh-pr/44/base 2026-11-26 06:27:20 +00:00
Owner

@⁠Valdi320 on GitHub · 2026-11-24 10:46 UTC · original
Valdi320:work/scarlett-refusal-ranking → main · +1420 −46 · 11 files · 8 commits · merged 2026-11-24 20:13 UTC

Scope

Rank new shader refusals during preparation, analyze public/runtime logs offline, and compare two compiler revisions with exact recorded requests through the production DXC/DXV pipeline. No title bytes are exported. Grouped worklists preserve explicit opcode names and sampler variants; distinguish genuine compilation recoveries, new blockers, inconclusive failures, and changed successful output hashes. Select exact local replay groups, or freeze validated successes as absolute regression expectations. Optional explicitly maintained PR/issue claims flag overlap and unclaimed work; claims are not proof of fixes.

Validation

138 Python tests passed. Actual public #39 log: 836 distinct refused requests in five groups; all have proposals under review (#45, #46, #48, #49), not confirmed recoveries. Real paired compilation of nine synthetic requests: 2 -> 5 successes, 3 recovered, 0 regressions, 1 intentionally malformed input. Five successful requests protected; deliberately downgrading both compilers detects three lost successes. Missing 396 local inputs is rejected before compilation. Synthetic claims control flags the three overlapping SOP1 operations in #56/#58. Full evidence and reproduction instructions included.

CPU-only; no retail corpus or gameplay tested. AI-assisted contribution.

**@⁠Valdi320** on GitHub · 2026-11-24 10:46 UTC · [original](https://github.com/brcly/TuxBox/pull/44) `Valdi320:work/scarlett-refusal-ranking` → `main` · +1420 −46 · 11 files · 8 commits · merged 2026-11-24 20:13 UTC ## Scope Rank new shader refusals during preparation, analyze public/runtime logs offline, and compare two compiler revisions with exact recorded requests through the production DXC/DXV pipeline. No title bytes are exported. Grouped worklists preserve explicit opcode names and sampler variants; distinguish genuine compilation recoveries, new blockers, inconclusive failures, and changed successful output hashes. Select exact local replay groups, or freeze validated successes as absolute regression expectations. Optional explicitly maintained PR/issue claims flag overlap and unclaimed work; claims are not proof of fixes. ## Validation 138 Python tests passed. Actual public #39 log: 836 distinct refused requests in five groups; all have proposals under review (#45, #46, #48, #49), not confirmed recoveries. Real paired compilation of nine synthetic requests: 2 -> 5 successes, 3 recovered, 0 regressions, 1 intentionally malformed input. Five successful requests protected; deliberately downgrading both compilers detects three lost successes. Missing 396 local inputs is rejected before compilation. Synthetic claims control flags the three overlapping SOP1 operations in #56/#58. Full evidence and reproduction instructions included. CPU-only; no retail corpus or gameplay tested. AI-assisted contribution.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:27:18 +00:00
github manually merged commit dc1601f617 into gh-pr/44/base 2026-11-26 06:27:20 +00:00
Author
Owner

@⁠trigger337 on GitHub · 2026-11-24 11:33 UTC · original

Verification on Linux (CachyOS x86_64, AMD Radeon RX 6900 XT / RADV Navi 21):

  • Test suite: python3 -m unittest discover tests
    • 128/128 tests passed (including the 3 new tests in tests/test_triage_scarlett_shaders.py and tests/test_shader_prep.py).
    • Verified that preparation output now cleanly counts and separates newly observed and cached refusals:
      ProjectScarlett shader refusals: 1 new, 0 cached (reason unavailable).
        1 x unsupported
      ProjectScarlett shader refusals: 0 new, 1 cached (reason unavailable).
      
  • Tool verification: tools/triage_scarlett_shaders.py --log runs and parses sample logs without external dependencies.
  • Provider build: python3 build.py succeeded.

LGTM!

agent: yes
AI-assisted: yes

**@⁠trigger337** on GitHub · 2026-11-24 11:33 UTC · [original](https://github.com/brcly/TuxBox/pull/44#issuecomment-7130248607) Verification on Linux (CachyOS x86_64, AMD Radeon RX 6900 XT / RADV Navi 21): * Test suite: `python3 -m unittest discover tests` * 128/128 tests passed (including the 3 new tests in `tests/test_triage_scarlett_shaders.py` and `tests/test_shader_prep.py`). * Verified that preparation output now cleanly counts and separates newly observed and cached refusals: ``` ProjectScarlett shader refusals: 1 new, 0 cached (reason unavailable). 1 x unsupported ProjectScarlett shader refusals: 0 new, 1 cached (reason unavailable). ``` * Tool verification: `tools/triage_scarlett_shaders.py --log` runs and parses sample logs without external dependencies. * Provider build: `python3 build.py` succeeded. LGTM! agent: yes AI-assisted: yes
This discussion has been locked. Commenting is limited to contributors.
No description provided.