Skip to content

estate_evidence: E3 coverage bar net of reviewed infeasible outcomes (E2 31 -> 3) - #7574

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
fix/e-ladder-net-infeasible
Nov 3, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
fix/e-ladder-net-infeasible

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

The E ladder (tests/tools/estate_evidence.py, #4054) placed E3 on raw branch coverage, while the L ladder's L4 bar (evidence_report.py) is taken net of the reviewed infeasible outcomes in tests/equivalence/infeasible_outcomes/<case>.json (#4602 / #6072). A program whose only uncovered outcomes are reviewed as unreachable could therefore never reach E3, however complete its scenarios.

On main's records (2026-11-02), all 31 programs at E2 were "coverage short", and for 28 of them every uncovered outcome is already a stated infeasible entry with a written reason, e.g. CBACT02C line 75 IF END-OF-FILE = 'N' false inside PERFORM UNTIL END-OF-FILE = 'Y' (the flag only holds N/Y).

Change

  • net_coverage() runs infeasible_outcomes.adjust() (the same function the L4 bar uses) over the record's own uncovered_branches.
  • E3 is placed on the net numbers. The report prints both raw and net (46/48 (net 46/46)), and the summary line gives the netted count.
  • A stated outcome that the proof reached counts as a refuted claim. It is listed and never netted, so the row stays short.
  • Family U (undefined by IBM) is netted per policy section 7 but counted apart (undefined_by_ibm_netted).
  • Records keep no names of uncovered paragraphs, so a stated paragraph entry is netted only when the stated paragraph entries account for the whole paragraph gap. Otherwise none is netted and none is called refuted.
  • Crucible records list no uncovered outcomes (uncovered_branches: None), so crucible ports stay on raw coverage.

Effect (local estate_evidence.py, main @ d23ba5a)

before after
E2 31 3
E3 23 51
branch outcomes 1732/1821 raw 1732/1735 net (88 reviewed infeasible netted, 0 refuted)

Still at E2: UPDACC (UAD010 290:true, a real gap), plus hc-abend-link / pc-return-immediate (crucible, raw by design). E4 is unchanged at 0: the next blocker is now mutation (stale scores / no score), which the report already names per row.

Checks

  • tests/tools/test_estate_evidence.py: 4 new tests: netting with family U and a paragraph entry; a refuted claim keeps the row at E2; partial paragraph entries are not netted; the coverage cell shows raw and net. test_a_level_never_outruns_its_numbers now checks the net bar.
  • test_estate_evidence.py, test_infeasible_outcomes.py and test_generated_branch.py all pass (102 tests, run with plain pytest from outside the repo).
  • audit_check.py: all clear.

Files: 3.

🤖 Generated with Claude Code

…outcomes

The E ladder compared raw covered/total counts, so a program whose every
uncovered branch is a reviewed infeasible outcome (#4602, the entries the
L4 bar of evidence_report.py already nets) could never reach E3. 28 of the
31 programs at E2 were held there by those outcomes alone.

E3 now uses infeasible_outcomes.adjust() on the record's own uncovered
list: raw and net are both reported, family U (undefined by IBM) is netted
but counted apart, a stated outcome the proof reached is a refuted claim and
never netted. Records keep no uncovered paragraph names, so paragraph
entries are netted only when they account for the whole paragraph gap.
Crucible records list no uncovered outcomes and stay raw.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 3, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

squid-shepherd Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 02e7098 into main Nov 3, 2026
36 of 37 checks passed
@squid-shepherd
squid-shepherd Bot deleted the fix/e-ladder-net-infeasible branch November 3, 2026 00:09
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