Skip to content

census: test that gap_prevalence shows no unowned row beyond the named exemption (Part of #7847) - #7904

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7847-20261106T1230Z
Nov 6, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7847-20261106T1230Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

gap_prevalence.unowned_rows(summary) lists every row whose owner is still unowned (the fallback, or unowned (copybook family)). New tests fail when the committed census summary (or the burned one) holds one beyond KNOWN_UNOWNED. The older test covered only whole-program refusals.

KNOWN_UNOWNED holds one entry, the census other row (2 programs, no program refused), which is the separate last slice of #7847. A test fails when that entry is owned or gone, so the list only shrinks.

Class / Sibling gaps

Class: gap_prevalence rows with no owner, any gap kind. Checked: the burned summary.json has none; the census has only other. Sibling gap: other itself (census only, no burned-estate program needs it), the open slice.

Cross-repo

None. PR #7899 also edits gap_prevalence.py and its test; this change is additive and merged with main.

Gates

pytest tests/tools/test_gap_prevalence.py (133 passed), audit_check.py all clear, ruff format clean. No engine change, no golden.

Checklist: done [c:c282d9d8]

🤖 Generated with Claude Code

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

squid-shepherd Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 6, 2026 12:33
@squid-shepherd

squid-shepherd Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

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