Skip to content

DOOM study: subsystem heatmaps draw median-0 baseline cells, not grey (Part of #6097, slice 9) - #6871

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6097-20261028T0644Z
Oct 28, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6097-20261028T0644Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6097, slice 9.

Slice 8 made the subsystem table show median/0 where linuxdoom's subsystem median is 0. The heatmaps (subsystem_plot.py) still read a blank <metric>_vs_linuxdoom as "missing" and greyed those cells, though they are comparable (both sides over --min-subsystem).

  • subsystem_distribution.py: the CSV now carries the comparable column the rows already had.
  • subsystem_plot.py: a blank ratio on a comparable row is no longer None. Port median > 0 over a 0 baseline is unbounded: saturated red, label x/0. 0 over 0 is equal: white, 1.00. Under-minimum / absent subsystems stay grey. cx10 is unaffected. A CSV without the column behaves as before.
  • Test: test_median_zero_baseline_is_not_greyed_out.

Checklist: partial [c:5b53dc02] -- sfs-side pieces are undefined in the issue (owner to say); the existing CSVs under results/ need the distribution rerun to gain the column.

Class / Sibling gaps

Class: heatmap cells whose ratio is blank in the CSV, i.e. every "no ratio" cause: (1) under the minimum count, (2) absent from the port, (3) linuxdoom median 0. Cause 3 is handled here for all five ratio metrics (one code path); 1 and 2 stay grey by design; cx10 is a share, with no ratio, so not in the class. Sibling gaps: none in the plots. Existing CSVs from before this PR lack comparable and still grey cause 3 until the distribution is regenerated (a rerun, no code).

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 28, 2026 07:00
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 28, 2026 07:01
@squid-shepherd
squid-shepherd Bot merged commit 2c4b55b into main Oct 28, 2026
62 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6097-20261028T0644Z branch October 28, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant