tooling: draw form coverage as a README graphic #236

Manually merged
github merged 1 commit from gh-pr/236/head into gh-pr/236/base 2026-11-26 21:36:29 +00:00
Owner

@⁠Kha73k on GitHub · 2026-11-21 18:54 UTC · original
Kha73k:tooling/coverage-dashboard → main · +140 −0 · 5 files · 1 commits · merged 2026-11-21 19:14 UTC

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

**@⁠Kha73k** on GitHub · 2026-11-21 18:54 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/236) `Kha73k:tooling/coverage-dashboard` → `main` · +140 −0 · 5 files · 1 commits · merged 2026-11-21 19:14 UTC 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)
tools/coverage_svg.py draws the JSON from form_coverage.py as one square
per reference form: green covered, amber held back by skipped tests, grey
not covered. It shows counts only and the "not a measure of port
completion" note. form_coverage_check.py renders a sample measurement and
checks the square counts per state. docs/coverage/dashboard.svg is drawn
from main c04e65a on Windows 10 19045 with an RTX 3070 Ti, and the README
shows it. exe_entry.asm (#228) is classified under cpu_aot_exe_entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:36:27 +00:00
github manually merged commit f00853e2b3 into gh-pr/236/base 2026-11-26 21:36:29 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.