Repository navigation
ladder_gaps: read paragraph:NAME entries of an uncovered list as paragraphs (Part of #6072) - #6369
Merged
Merged
Conversation
…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]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 05:22
squid-protocol
enabled auto-merge (squash)
October 24, 2026 05:25
11 tasks done
Owner
Author
|
No description provided. |
1 similar comment
Owner
Author
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
tests/tools/ladder_gaps.pycrashed oncarddemo-acctupdate(ValueError: invalid literal for int() ... 'paragraph'). The ledger'suncovered.brancheslist carriesparagraph:NAMEstrings (COACTUPC's CSUTLDPY copybook paragraphs, also listed asNAME:Noneinparagraphs), andfrom_stringsranint()on them. They now join the paragraph list (deduplicated), and a paragraph with no line renders as(COPY member)instead offile:None. Tool-only; no engine, no golden.Premise check for [c:bbdf83af] (committed ledgers)
CBPAUP0C 15/16 (
6000-EXITreviewed 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_atstamps 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.py14 passed (2 new: mixedparagraph:/line:outcomelists; a copybook paragraph throughbuild_case_reportandrender_md), plainpytestfrom/tmptoo;audit_check.pyall clear;ladder_gaps.py carddemo-acctupdate --no-scannow prints.Class / Sibling gaps
Class: readers of a sweep-row / ledger
uncoveredlist that assume every string isline:outcome, when the list also holdsparagraph:NAME(copybook paragraphs, which have no line in the program source).ladder_gaps.from_strings(ledger +sweep.jsonpaths)carddemo-acctupdate; now printsladder_gaps.render_md(line-less paragraph)file (COPY member)instead offile:Noneinfeasible_outcomes.outcome_set/paragraph_setparagraph:viaPARAGRAPH_MARKcobol_coverage.Hits.from_dictline:outcomedumpproof_blockers.py,det_coverage_ledger.py,evidence_report.py,proof_sweep.pyint()split of the listpartition(":")/int(Sibling gaps: none in this class; every member handled. The item's own gaps (COACTUPC CEEDAYS paragraphs, stale ledger
measured_atstamps, 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
uncoveredbranches list is not allline:outcome: it also holdsparagraph:NAME. Useinfeasible_outcomes.PARAGRAPH_MARKwhen 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