Skip to content

ladder_gaps: read paragraph:NAME entries of an uncovered list as paragraphs (Part of #6072) - #6369

Merged
squid-protocol merged 1 commit into
mainfrom
churn/6072-20261024T0516Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/6072-20261024T0516Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

What

tests/tools/ladder_gaps.py crashed on carddemo-acctupdate (ValueError: invalid literal for int() ... 'paragraph'). The ledger's uncovered.branches list carries paragraph:NAME strings (COACTUPC's CSUTLDPY copybook paragraphs, also listed as NAME:None in paragraphs), and from_strings ran int() on them. They now join the paragraph list (deduplicated), and a paragraph with no line renders as (COPY member) instead of file:None. Tool-only; no engine, no golden.

Premise check for [c:bbdf83af] (committed ledgers)

CBPAUP0C 15/16 (6000-EXIT reviewed paragraph-infeasible), PAUDBUNL 10/10, COTRTLIC 59/59, COTRTUPC 63/63, CBSTM03A 25/25, COBSWAIT 1/1, COACTVWC 32/32 are L3. COACTUPC 90/95: the 5 open paragraphs sit behind CSUTLDTC -> CEEDAYS (trailing-blank picture, #4049/#6271), reachable on z/OS, so no infeasible entry; needs a modelling decision plus code.

Proposed split of the item: (1) this tool fix; (2) refresh stale measured_at stamps on CardDemo ledgers (data, heavy sweep); (3) COACTUPC CEEDAYS model, after an owner ruling; (4) CBSTM03A 0/46 branch-measurement defect; (5) the residual branches belong to the CardDemo L3->L4 item.

Tests / gates

test_ladder_gaps.py 14 passed (2 new: mixed paragraph:/line:outcome lists; a copybook paragraph through build_case_report and render_md), plain pytest from /tmp too; audit_check.py all clear; ladder_gaps.py carddemo-acctupdate --no-scan now prints.

Class / Sibling gaps

Class: readers of a sweep-row / ledger uncovered list that assume every string is line:outcome, when the list also holds paragraph:NAME (copybook paragraphs, which have no line in the program source).

Member Status Evidence
ladder_gaps.from_strings (ledger + sweep.json paths) fixed here, 2 new tests crashed on carddemo-acctupdate; now prints
ladder_gaps.render_md (line-less paragraph) fixed here file (COPY member) instead of file:None
infeasible_outcomes.outcome_set / paragraph_set handled already skip / collect paragraph: via PARAGRAPH_MARK
cobol_coverage.Hits.from_dict out of class reads only its own line:outcome dump
proof_blockers.py, det_coverage_ledger.py, evidence_report.py, proof_sweep.py checked, no int() split of the list grep of partition(":") / int(

Sibling gaps: none in this class; every member handled. The item's own gaps (COACTUPC CEEDAYS paragraphs, stale ledger measured_at stamps, CBSTM03A 0/46 branch measurement, CardDemo L3->L4 residuals) are in the checklist split above; all are CardDemo burned-estate work (COACTUPC, CBSTM03A, COTRTUPC, COTRTLIC, COACTVWC, CBPAUP0C).

Cross-repo

None.

Lessons for agents

  • A sweep/ledger uncovered branches list is not all line:outcome: it also holds paragraph:NAME. Use infeasible_outcomes.PARAGRAPH_MARK when parsing it.

Checklist: partial [c:bbdf83af] -- COACTUPC's 5 CEEDAYS paragraphs (owner modelling decision, #4049/#6271); the other 7 programs are already L3

Part of #6072

🤖 Generated with Claude Code

…ragraphs (Part of #6072)

A ledger or sweep row lists a copybook paragraph as "paragraph:NAME" beside the "line:outcome" strings; from_strings ran
int() on it and crashed (carddemo-acctupdate). Such entries now join the paragraph list (deduplicated against NAME:None),
and a paragraph with no line renders as a COPY member instead of file:None.

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 24, 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 24, 2026 05:22
@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 24, 2026
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 05:25
@squid-protocol
squid-protocol merged commit 76b5222 into main Oct 24, 2026
51 checks passed
@squid-protocol
squid-protocol deleted the churn/6072-20261024T0516Z branch October 24, 2026 05:39
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@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