Skip to content

ZECS001 ladder: 1902:true was a coverage-tool defect (DFHVALUE(DELETE)), 206/208 (Part of #6839) - #7343

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6839-20261031T1947Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6839-20261031T1947Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6839 (slice 6).

What changed

The three open ZECS001 net-branch outcomes (205/208) were planned as scenario / infeasible work. Reading them showed 1902:true was a measurement defect, not a missing scenario: cobol_coverage.branch_points counted DELETE inside DFHVALUE(DELETE) as a statement, so the IF's true arm was defined as (1902, 'DELETE'), which no trace can match. The oracle trace (delete-replicate-aa) does take the arm.

  • tests/tools/cobol_coverage.py: a paren-depth tracker in branch_points and _flow_tokens; a verb name inside parentheses is no statement.
  • tests/tools/test_cobol_coverage.py: regression test (DFHVALUE(DELETE), READ, WRITE).
  • det_sweep_coverage/zecs-zecs001.json and zecs-zecs001/evidence.json refreshed with ladder_refresh.py.
case paragraphs before after net branches before after proof
zecs-zecs001 119/119 119/119 205/208 206/208 proven (79 scenarios)

Still open, both already stated in infeasible_outcomes/zecs-zecs001.json: 704:false (U, undefined by IBM) and 718:false (G).

Facts checked

  • Class sweep: branch_points before vs after over all 132 .cbl/.cob files in the mainframe corpora: only ZECS001 line 1902 changes. No other burned case needs a refresh.
  • ladder_refresh.py zecs-zecs001: det sweep proven, 1307 pin/ledger tests passed, 133 skipped.
  • audit_check.py: ruff, mypy, dead-key, format, AST accuracy all clear. pytest on the test file from /tmp: 33 passed.
  • cobol_coverage.py is a tests/tools script, not parsing logic: no golden bless run.
  • Row D (credit/vsam-variable-length): superseded by det/CICS: ZECS001 GET scenarios, V-record lengths, SET ADDRESS alias undone per task (Part of #4767) #7255 (V-record lengths, GET scenarios landed); 119/119 paragraphs are covered and the MEDIATYPE ruling is given.

Sibling gaps

None found by the sweep. The plan's premise (missing scenario) was wrong; the fix is in the tool.

Remaining slices

704:false and 718:false stay stated. Row J (non-digit data) per the #6839 ruling.

Lessons for agents

  • A COBOL verb name inside ( ) (DFHVALUE(DELETE)) was read as a statement start by cobol_coverage; an "uncovered" outcome whose trace was taken is a measurement bug: read the inventory's first before writing a scenario.

🤖 Generated with Claude Code

…01 206/208 (Part of #6839)

DFHVALUE(DELETE) made DELETE the first statement of the IF at 1902, so the
true arm was unmatchable and 1902:true read uncovered though the oracle takes it.

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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 31, 2026 19:57
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 31, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 20:02
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 0b452e0 into main Oct 31, 2026
73 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6839-20261031T1947Z branch October 31, 2026 20:28
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