Skip to content

det coverage: measure LINKed/CALLed programs; re-record ledger fingerprints on a re-checked sweep (Part of #5084) - #5100

Merged
squid-protocol merged 6 commits into
mainfrom
churn/5084-20261014T1006Z
Oct 14, 2026
Merged

squid-protocol merged 6 commits into
mainfrom
churn/5084-20261014T1006Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Part of #5084 (box 1 done; box 2's tool is in, its CI wiring is the follow-up above; entries re-recorded here only for the two cases swept locally, the rest by the nightly refresh).

  • Coverage measured for a LINKed program. coverage.json gains linked (cobol_coverage.linked_coverage, over the same -ftraceall traces); equivalence_cics passes LINK targets (programs) and CALL subprograms. The sweep row and the ledger entry carry the counts; proof_blockers judges a LINKed run from its own counts and gaps the caller while a callee has live paragraphs / branch outcomes no scenario runs. Missing counts stay LINKED_NOT_MEASURED (unknown). Only stricter.
  • Ledger fingerprints can be re-recorded by the sweep, and no longer fail it. proof_sweep.py --aggregate --record-ledger rewrites the entries of the cases it re-checked, after the count check passes. --strict-ledger (opt-in) fails on a stale harness / oracle fingerprint, for a local pre-push check. In CI a stale fingerprint stays a warning, so a harness PR (this one changes equivalence_cics.py) cannot strand det-sweep. Not wired into CI here: passing --record-ledger in det-sweep.yml (and keeping the entries as an artifact) is a separate owner-approved follow-up, since this PR does not touch workflows. Until then the nightly Evidence Refresh update (Db2 entries included) or a local det_coverage_ledger.py update <sweep DIR> re-records entries.

Class table (members measuring only the main program): CICS LINK targets: done. CALL subprograms in equivalence_cics: done. equivalence_call (single subprogram) and batch equivalence.py: no extra programs, nothing to add. RUN TRANSID children: programs entries, covered.

Real run: cbsa-bnk1dcs shows INQCUST 7/25 paragraphs, UPDCUST 7/7, ABNDPROC 4/4 (branch holes); carddemo-tranadd CSUTLDTC 2/2. Those two ledger entries are re-recorded; the other ~100 are re-recorded by the next sweep, and an entry without linked is a warning until then.

Cross-repo: none.

Gates: pr_gates --fast 6/6, --ratchets 7/7 (0 skipped).

🤖 Generated with Claude Code

Note: test_evidence_report::test_the_committed_reports_are_current fails identically on origin/main (pre-existing; the evidence-refresh bot regenerates those reports, not this PR).

squid-protocol and others added 3 commits October 14, 2026 06:25
…ecords ledger fingerprints (Part of #5084)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… two LINK cases' ledger entries (Part of #5084)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…iling on stale fingerprints (Part of #5084)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

squid-protocol and others added 2 commits October 14, 2026 07:08
…sh entry stays a current list (Part of #5084)

Co-Authored-By: Claude Sonnet 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 14, 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 14, 2026 11:26
@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 11:26
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md and removed shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (d7e933a) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

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