Skip to content

Estate evidence report from the per-program evidence records (Part of #4054) - #5231

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4054-20261016T0825Z
Oct 16, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4054-20261016T0825Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4054 (epic #4055). First slice: the estate roll-up written from the existing per-program evidence records.

What

tests/tools/estate_evidence.py reads all 49 committed evidence.json records (CardDemo, CBSA, GenApp, zECS, DBB, CICS crucible) through evidence.py and reports:

  • per program: a level on an E0-E4 ladder, proof runs and fault runs, oracle, paragraph and branch coverage, mutation score with survivors by triage class, declared differences, approval, staleness and what stops the next rung;
  • per estate and overall: programs per level, paragraph- and branch-weighted coverage, mutation killed/judged (raw and adjusted), open survivors, holes, declared differences, approved and stale counts.

It prints Markdown or JSON, or writes to --out outside the repo. It commits no report (#5057, #5206) and never writes a record or an approval. The wording is evidence levels with counts, never a verdict. Lines are reported as "not measured" because no COBOL source is committed.

Today's numbers (live): 49 programs, E1 5, E2 23, E3 21, E4 0; 44/49 executed-equivalent or above; branch outcomes 1346/1465; mutation 585/840 raw, 57 open survivors; 0 approvals; 49 records stale on scheduled inputs (harness/generator/oracle).

Design

  • Separate from evidence_report.py (Evidence report: purchaser-facing levels and numbers per program and estate (no binary "proven") #4601), which is the det-port ladder and needs the corpora; that file is untouched.
  • Callee-hole rule (owner policy 4): a program whose own port has holes (stub or ported_unproven), or whose LINK/CALL callees (transitively) have holes or no executed-equivalent record, is placed at E1 with the reason. GenApp's LINKed programs have no record of their own, so they show as program:NAME.
  • Only burned estates and the crucible are reported; other estates are refused and listed.

Class table

member status
equivalence-case records (batch/call/cics) covered
CICS crucible port records covered
records with no mutation / approval / differences covered (tests)
callee holes (LINK/CALL) covered, conservative
lines proven not in this slice (needs corpora)
publishing on generated not in this slice

Tests

tests/tools/test_estate_evidence.py (28 tests, about 1 s): the whole committed record class (valid, placed, never above its numbers, roll-up arithmetic, vocabulary guard, --out outside the repo) plus synthetic rows for every rung and for callee holes (transitive, cycle-safe).

Gates

pr_gates --fast 6/6. --ratchets: 7 pass; port-surface failed in the full run and passed alone with --only-ratchets port-surface --vs-main (the known #5167 behaviour). No golden bless needed: nothing under gitgalaxy/ changed.

Cross-repo

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 Oct 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 16, 2026 08:34
@squid-protocol
squid-protocol enabled auto-merge (squash) October 16, 2026 08:34
@squid-protocol
squid-protocol merged commit 6acd906 into main Oct 16, 2026
43 checks passed
@squid-protocol
squid-protocol deleted the churn/4054-20261016T0825Z branch October 16, 2026 09:01
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