Scripts: compare D3D12.X observations against a baseline #566
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!566
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-566"
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?
@wileyGray on GitHub · 2026-11-24 01:54 UTC · original
wileyGray:codex/d3d12-triage-baseline→main· +545 −0 · 5 files · 2 commits · openStacked on #557; only the top commit belongs here.
Add
--baselineand opt-in--fail-on-newto detect newly observed D3D12.X slot/IID identities. Counts, caller changes and disappearing observations do not imply compatibility changes. An invalid baseline retains current evidence and returns an error.What is in it
Tested
61abda9ce0f413db3d6adfa1540700f5b25c3032on mainb7aa9f3. Windows 11 Home build 26300; Intel i9-14900K; NVIDIA RTX 4080 SUPER driver 32.0.16.2114; Rust 1.93.0, DXC 1.9.2609.5, Python 3.13.9; debug build.python -B -m unittest discover -s scripts -p test_triage_d3d12.py -v: 24 passed, 0 failed/skipped.scripts/test.ps1(build + standard four-thread suite): 770 passed, 0 failed, 41 ignored; synthetic console-title e2e passed.git diff --check: clean.Regression run
Not tested
comparison.completemeans no recognized parser warnings, not a final report or complete execution coverage.AI use
@chaseb64 on GitHub · 2026-11-25 05:26 UTC · original
I found two ways malformed input can get a clean
--fail-on-newresult at61abda9. A duplicate key can hide an IID, and an unused bareNaN,Infinityor-Infinityis accepted as JSON.Save this as
baseline.json:Save each of these as
current.jsonin turn:Run
python3 scripts/triage_d3d12.py current.json --baseline baseline.json --fail-on-new --jsonfor each file. Both runs exit 0 and reportcomparison.complete: true. The invalid number also reproduces with the files swapped.I can share the two locally prepared and tested patches. They return exit 2 for malformed input while retaining usable current findings or falling back to the supplied log. All 26 triage tests passed on macOS arm64 and Python 3.9.6. With the #557 correction also applied, all 43 discovered Python tests passed, including 27 triage tests.
AI-assisted using OpenAI Codex (GPT-6.2 Sol and GPT-6.2 Astra for implementation, independent review and verification, and GPT-6 Luna for prior combined validation).
@DavidM1911 on GitHub · 2026-11-25 13:18 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@RavenCurseBurg on GitHub · 2026-11-25 17:06 UTC · original · edited 2026-11-25 17:10 UTC
Windows CLI check on
61abda9ce0f413db3d6adfa1540700f5b25c3032.python -B -m unittest discover -s scripts -p test_triage_d3d12.pypassed all 24 tests.I also ran nine independent comparisons with
python -I scripts/triage_d3d12.py current.json --baseline baseline.json --fail-on-new --jsonand temporary UTF-8 BOM inputs.complete: falseand a diagnostic, while preserving the new slot in the JSON.The input hashes stayed unchanged on every invocation. Windows 11 26100.9711, i7-13700, RTX 4060, Python 3.14.3. Synthetic observations only; no title, GPU workload, or Rust suite. OpenAI Codex (GPT-6) ran the checks and prepared this report.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.