Repository navigation
ladder_gaps: stated paragraph infeasible entries no longer crash the report and mark their gap (Part of #6271) - #6575
Conversation
…mark their paragraph gap (Part of #6271) A PARAGRAPH infeasible entry may carry no line (CBPAUP0C 6000-EXIT); build_case_report indexed every stated entry by e["line"] and raised KeyError. Paragraph entries now index by name, mark the paragraph gap, and the paragraph table gains an infeasible column. Docstrings name the per-case ledger directory. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6575 @ d9309fb: 2 failed check(s) == equivalence-e2e (failure) -- real == shard 2/4 (failure) -- infra |
|
No description provided. |
1 similar comment
|
No description provided. |
Checklist: done [c:dfccb426]
Part of #6271. Paragraph-level infeasible outcomes were already supported on main (#6279 per-case files and
add --paragraph, #6369paragraph:NAMEin ladder_gaps;carddemo-cbpaup0c.jsonholds the6000-EXITentry andcbsa-crdtagy1..5.jsonexist). What was missing is below.What changed
ladder_gaps.build_case_reportindexed every stated entry bye["line"]; a PARAGRAPH entry may have noline(CBPAUP0C6000-EXIT), so the report raisedKeyError. Paragraph entries now index by upper-cased name.infeasible: {family, reason}) and the paragraph table has an infeasible column, as the branch table already did. A later slice no longer rediscovers it.proof_blockers.pyandinfeasible_outcomes.pynameinfeasible_outcomes/<case>.jsoninstead of the old single file.test_a_stated_paragraph_entry_marks_its_gap_with_or_without_a_line(with and withoutline, mixed with a branch entry, unmatched paragraph unmarked, rendered column).Facts checked
pytest tests/tools/test_ladder_gaps.py test_infeasible_outcomes.py test_proof_blockers.py: 71 passed. Tree-wide guards (source_reads, generated_branch, sweep_plan): 142 passed.pr_gates --fast: 7/7 pass.--ratchets(tools only, no engine/golden change). No local sweep for carddemo-cbpaup0c, so the real-case output is not shown; the synthetic test covers the shape.Class / Sibling gaps
Class: a stated infeasible entry that is not branch-shaped (PARAGRAPH, no
line) breaking or being ignored by consumers that assumeline/outcome. Members: ladder_gaps build (fixed), ladder_gaps paragraph marking/render (fixed), stale single-file wording (fixed).infeasible_outcomes.pyandproof_sweep.pyalready handle paragraph entries;evidence_report.pycopies keys only if present. Sibling gap:det_sweep_plan.py:171still has a KEYED entry for the oldtests/equivalence/infeasible_outcomes.jsonpath (possibly dead); not touched (no burned-estate program needs it).🤖 Generated with Claude Code