Skip to content

gap_prevalence: programs the close-next order leaves out, grouped by the gaps they need together (Part of #5865) - #7114

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5865-20261030T0934Z
Oct 30, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5865-20261030T0934Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5865.

Checklist: partial [c:19a53848] -- census close-next and its needs-together tail need a re-run where the census clones exist (gap_prevalence.py --census-survey DIR --census-corpora DIR --write; not on this box); figures are not validated against a translation run.

What changed

The greedy close-next list stops at the first gap that gains nothing alone, so a program blocked by several gaps never appeared and "coverage if closed" could not be read to the end. rank() now adds needs_together (only when non-empty): the programs the order leaves out, grouped by the gaps each still has, smallest set first, with estates, per-era counts and the upper-bound flag. table() renders it. Burned estates: 126 whole today + 2 from closing the record-key gap (#5866) = 128 / 129; the last program (BLL/PICTURE N/LE handler/ADDRESS OF set, the era-4 estate) needs eight gaps together.

Burned summary regenerated from a fresh cics_census.py survey --no-census; all other fixture content is unchanged. Census summary untouched.

Class

Class: a close-next order silent about programs that need a combination of gaps. Same mechanism: the census scope (shares rank(); gets the tail on its next re-run).

Sibling gaps

  • Census close-next + tail: needs the census clones (no burned program involved).
  • Validate the predictions against a translation run (before/after survey around a merged gap-closing PR): separate slice.

Gates

pytest tests/tools/test_gap_prevalence.py (100 passed), audit_check.py all clear, ruff format clean.

🤖 Generated with Claude Code

…ouped by the gaps they need together (Part of #5865)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 30, 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 30, 2026 09:46
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 30, 2026 09:51
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 86102d7 into main Oct 30, 2026
64 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5865-20261030T0934Z branch October 30, 2026 10:20
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