Repository navigation
equivalence: a SORT case with a concatenated SORTIN, CardDemo COMBTRAN STEP05R proven against the oracle (Part of #4268) - #7261
Conversation
…N STEP05R lowered and proven against the oracle (Part of #4268) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #7261 @ 8040bca: 1 failed check(s) == ground-truth part 2/2 (failure) -- real |
… has it measured (Part of #4268) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (8087ba9) is not the one a maintainer labelled |
|
No description provided. |
|
PR #7261 @ 8087ba9: 12 failed check(s) == db2 (cancelled) -- infra == equivalence-e2e (failure) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
No description provided. |
1 similar comment
|
No description provided. |
|
No description provided. |
…effect-in-assert) (Part of #4268) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (9e68717) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #7261 @ 9e68717: 11 failed check(s) == crucible (failure) -- real == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
Waiting on an owner decision (asked privately, 2026-10-31). Nothing is needed from contributors; work resumes once it is answered. |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #4268.
Adds the case
carddemo-sort-combtran: CardDemoapp/jcl/COMBTRAN.jclSTEP05R, a DFSORT step (SORT FIELDS=(TRAN-ID,A), TRAN-ID 1,16,CH) whose SORTIN is two datasets concatenated.DFSORTST.cblis that step lowered bydet/dfsort.pyover SORTIN1 and SORTIN2 (the test pins the file to the lowering); GnuCOBOL (the oracle) runs it, the port is its det translation. Evidence:det_port.py runPROVED;equivalence.py run --record: RETURN-CODE 0/0, SORTOUT 50/50 records equal, 1 run, 1/1 paragraphs, 0/0 branches (no branches in the lowered step). Inputs: 50 distinct TRAN-IDs (equal keys are undefined without EQUALS), 28 and 22 per file, each unsorted and interleaved with the other so the output is not the concatenation; digits, so IBM's EBCDIC order and the oracle's byte order agree (#4035).Checklist: partial [c:2148d504] -- concatenated-SORTIN case done; CH-letter key case and the L5 mutation run are left.
Class / Sibling gaps
Class: a JCL DFSORT step lowered to COBOL and proven against the oracle as an equivalence case. Members: TRANREPT STEP05R (ZD key + CH INCLUDE, #7251, handled); COMBTRAN STEP05R (concatenated SORTIN, CH key over digits, this PR). Sibling gaps: SORTTEST (samples/jcl, INCLUDE EQ on one date; same mechanism, not done to stay in the file cap; burned CardDemo); CH key over letters (collation per #7247): no burned program has one; L5 mutation run (
det_mutation.py run) for both sort cases (MUTATION_PENDING entries added here); job-kind case chaining STEP05R to STEP10 (IDCAMS REPRO) waits on #7256; IDCAMS DEFINE or its register refusal.Remaining slices
File-cap exception: a case is atomic; the generated det-port Java, LICENSE and NOTICE (verbatim copies of the sibling case's) and the two one-line mutation-pending ratchet entries cannot be split from the case without failing test_evidence and test_estate_evidence.
Gates
pr_gates --fast 9/9; --ratchets 9 pass; test_evidence, source_reads, generated_branch, change_classifier, proof_reach pass; ruff format --check clean on changed tests.
Hand-written files: case.json, DFSORTST.cbl, sortin1.txt, sortin2.txt, test_sort_case_4268.py, plus one-line entries in test_evidence.py and test_estate_evidence.py (the mutation-pending ratchet lists the previous sort case also needed) and LICENSE/NOTICE copied verbatim from the sibling case; port, evidence.json and det_sweep_coverage are generated.
Lessons for agents
det_coverage_ledger.py updateneeds aproof_sweep.py --det-only --cases X --no-ratchet --work DIRdirectory, not det_port's summary.json (AttributeError 'list').assert lines.pop() == xin a test is a CodeQLpy/side-effect-in-asserterror, and an error blocks the PR;pr_gates --fastdoes not catch it, so test the value without mutating it inside the assert.Also changed:
gitgalaxy/tools/cobol_to_java/det/cics_filecontrol.pyimportsCicsError/Untranslatablefromcics_commonat module top. Main's #7260 broke the leaf-module rule (test_cics_spec.py), which turnedpr_gates --fastaffectedred. This is a main fix, not part of the case.🤖 Generated with Claude Code