Skip to content

evidence: family U (undefined by IBM) nets out of the branch bar (BNK1CAC) - #7122

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
fix/evidence-family-u-netting
Oct 30, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
fix/evidence-family-u-netting

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6072, #6967

Cause

The published evidence report shows BNK1CAC at L3, 77/81 net, with no undefined_by_ibm. The cause is not in main's code. The evidence-report pages on generated have their own writer (the Evidence Refresh workflow), and that writer's source stamp is .generated_from/evidence-report.txt = main @ 7fdf2eedb (#6994, 2026-10-29 10:03 UTC). That commit is older than #7040 (883142220, 22:16 UTC), which added the four U entries and the U handling in coverage_of(). The "generated docs as of main d31b065" commit message comes from the generated-docs writer, which republishes the evidence report without rebuilding it. The scheduled Evidence Refresh on 40c748839 was in progress when this PR was opened.

On main as it is, coverage_of() (tests/tools/evidence_report.py:521-532) already nets all 20 entries. With the ledger's counts (uncovered None, so every entry is taken as uncovered) it gives 77/77 and lists the four under undefined_by_ibm. evidence_report.py --deltas reports BNK1CAC L3 -> L4.

What this PR fixes

One gap against the ruling (policy section 7, "never as infeasible") was left by #7040: the four U entries were still listed in the JSON coverage.infeasible_stated (evidence_report.py:492-497). Only the Markdown relabelled them. Now:

  • infeasible_stated holds only G/C/R entries.
  • The U entries go to a new coverage.undefined_by_ibm_stated list, added only when the case has one, so exact-equality tests elsewhere are unaffected.
  • The Markdown renders the two lists separately.

The netting, infeasible_netted, undefined_by_ibm and level_of are unchanged; they were already right.

Tests

  • New test_undefined_by_ibm_nets_out_but_is_never_listed_infeasible. It checks BNK1CAC from the ledger counts: 77/97 raw, 77/77 net, the four keys under undefined_by_ibm, 16 netted and 16 stated (all G/C/R), and level L4. It fails on main at the infeasible_stated assertion.
  • test_evidence_report.py, test_infeasible_outcomes.py, test_cbsa_terminal_outcomes_6967.py, test_ladder_gaps.py: 138 passed.
  • pr_gates.py --fast: 8/9 gates pass. The one failure, test_env_gated_tests_run_in_ci_5954::test_every_deselected_e2e_test_exists_and_is_listed_on_the_inventory_page, also fails on clean main and is unrelated.

Locally rebuilt BNK1CAC

L4 (current on the frozen measured block): 77/97 raw, 77/77 net of 16 stated infeasible and 4 undefined by IBM. What L5 needs is "every surviving mutant accounted for (no det_mutation/ entry)". The live ledger entry is stale on harness/oracle (scheduled inputs), so --live would show L4* until the refresh re-proves it.

Not touched: ladder_gaps.py (the developer gap list, not the purchaser report) still marks a U gap row "infeasible": {"family": "U", ...}.

🤖 Generated with Claude Code

…1CAC)

The netting itself already landed with #7040: coverage_of() takes the four
BNK1CAC family-U outcomes out of the branch total (77/77 net) and names them
under `undefined_by_ibm`. The published report still showed 77/81 and L3
because the evidence-report writer last ran from main 7fdf2ee, before
#7040 (generated: .generated_from/evidence-report.txt).

What #7040 left: the U entries were still listed in the JSON
`infeasible_stated`, against the ruling (never listed as infeasible). They
now go to their own `undefined_by_ibm_stated` list (present only when the
case has one), and the Markdown renders them from it.

Part of #6072, #6967

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 Oct 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 30, 2026 11:21
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit e6b72a8 into main Oct 30, 2026
35 checks passed
@squid-shepherd
squid-shepherd Bot deleted the fix/evidence-family-u-netting branch October 30, 2026 11:45
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