tooling: draw form coverage as a README graphic #233

Merged
Kha73k merged 1 commit from upstream-pr/236 into main 2026-11-21 19:14:08 +00:00
Kha73k commented 2026-11-21 18:54:54 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Kha73k on 2026-11-21T18:54:54Z.


Follow-up to #141, which kept the README graphic out of the measurement review. tools/coverage_svg.py draws the form_coverage.py --json result as one square per reference form: green covered, amber held back by skipped tests, grey not covered. It shows counts only, with the "not a measure of port completion" note, and the run it was measured on. docs/coverage/dashboard.svg is drawn from main c04e65a (Windows 10 19045, RTX 3070 Ti): x64 40/948, gfx1013 57/1968, gfx1030 57/1863. exe_entry.asm from #228 is classified under cpu_aot_exe_entry.

python -B tests/form_coverage_check.py passes. Its new check_dashboard() renders a sample with branch.asm passed and switch.asm skipped, and checks 8 green, 4 amber and the remaining grey squares. Drawing skipped forms as covered fails it. CTest on that commit: 99 passed, 15 skipped, 1 failed. The failure is pixel_aot_warp in check_predicate_draws on the Windows 10 inbox WARP 10.0.19041.7811; pixel_aot_hardware passes.

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6533028881 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/236). Originally posted by [Kha73k](https://github.com/Kha73k) on 2026-11-21T18:54:54Z. --- Follow-up to #141, which kept the README graphic out of the measurement review. `tools/coverage_svg.py` draws the `form_coverage.py --json` result as one square per reference form: green covered, amber held back by skipped tests, grey not covered. It shows counts only, with the "not a measure of port completion" note, and the run it was measured on. `docs/coverage/dashboard.svg` is drawn from main c04e65a (Windows 10 19045, RTX 3070 Ti): x64 40/948, gfx1013 57/1968, gfx1030 57/1863. `exe_entry.asm` from #228 is classified under `cpu_aot_exe_entry`. `python -B tests/form_coverage_check.py` passes. Its new `check_dashboard()` renders a sample with branch.asm passed and switch.asm skipped, and checks 8 green, 4 amber and the remaining grey squares. Drawing skipped forms as covered fails it. CTest on that commit: 99 passed, 15 skipped, 1 failed. The failure is `pixel_aot_warp` in `check_predicate_draws` on the Windows 10 inbox WARP 10.0.19041.7811; `pixel_aot_hardware` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
upstream-sync closed this pull request 2026-11-24 06:41:57 +00:00
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
R0Y00/Xbox2Windows!233
No description provided.