Repository navigation
DOOM study: per-subsystem SVG heatmaps (Part of #6097, slice 4) - #6863
Merged
Merged
Conversation
subsystem_plot.py reads subsystem_distribution.csv and writes one stdlib-only SVG per metric: ports by linuxdoom subsystem, port median over linuxdoom median on a log scale, grey for no ratio, other % as the last column. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #6097. Slice 4 of the per-subsystem distributions: the plots.
tests/tools/doom_speedrun/subsystem_plot.pyreadssubsystem_distribution.csvand writessubsystem_<metric>.svgfor any of the five metrics: a heatmap of ports by linuxdoom subsystem, each cell the port's median over linuxdoom's median (log scale, red above, blue below), grey and empty where there is no ratio (never drawn as zero), and the port'sother %as the last column. Standard library only (matplotlib is not in the venv);--csvplots a given file.Class / Sibling gaps
Class: output surfaces of the per-subsystem distribution (CSV, md, plot, study report, sfs). Handled: CSV and md (#6744, #6833), lineage placement (#6846), the heatmap (this PR). Sibling gaps: (1)
study_report.pydoes not embed or link the SVGs; it needs a real non-C scan to choose which metric to show. (2) The p90 andcx10(share >= 10) are tabulated but not plotted. (3) "sfs-side pieces" is undefined in the issue; needs the owner to say what is meant. (4) No real scan was run: tests use a synthetic CSV, so the layout on 40+ ports is unseen.Remaining slices
study_report wiring (
study_report.py+ its test, after a real scan at current HEAD); p90 / cx10 plots (subsystem_plot.py); sfs-side pieces (owner).Evidence
pytest tests/tools/test_doom_subsystem_plot.py: 6 passed (colour scale, grey for blank, SVG parses with the right cell count, missing column refused, CLI output path).pr_gates --fast: 9/9 pass. Tree guards and the existing DOOM distribution/report tests: 146 passed. Not run:--ratchets(no engine, golden or ledger input touched).Checklist: partial [c:5b53dc02] -- study_report wiring, p90/cx10 plots, sfs-side pieces
🤖 Generated with Claude Code