Skip to content

census: basis note for the copy member in the 40-program basis (Part of #7847, #7709) - #7898

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

  • UnitRefused decision: the unit detector is right (det/source.py:880). The member has no PROGRAM-ID and no division, so it is a copybook, not a program. No detector fix; the basis change is reported instead.
  • headline() in tests/tools/gap_prevalence.py now prints a "Basis note" while the copy-member gap row exists. Numbers are derived from the summary: 40 surveyed, 1 copy member, 39 real programs; accounted 37 / 40 surveyed, 37 / 39 program basis (the copy member is never accounted, so the numerator does not change).
  • Owners and the no-unowned test were already done in census: ExprError is a named source defect, UnitRefused a copy member; both rows owned (Part of #7847, #7709) #7885.

Checklist: done [c:f3669173]

Class sweep

Class: a census row for a "not a program" unit, whose basis effect was only in an owner string. Siblings: ExprError row (done in #7885); no other census row is a copy member.

Basis change for #7709

The census basis is 40 surveyed, 39 real programs.

Tests

tests/tools/test_gap_prevalence.py (130 pass): note present with derived counts; absent without the row. ruff format/check and ruff_audit --ci, doc_refs_audit --ci clean. gap_prevalence.md regenerated (+2 lines); census_summary.json unchanged.

Lessons for agents

None.

🤖 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 11:52
@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