Repository navigation
det ports: re-prove carddemo-menu + 3 mortgage ports; det sweep in CI (#4463) - #4466
Merged
Merged
Conversation
… in CI (#4463) Four det ports stopped proving on 2026-10-04 (bisected): - mortgage-cmort / mlist / nbrvl: since 2d7052c (#4245, every program of a multi-program source read), IBM DBB EPSCSMRD's CURRENT-CONDITION field CASE became the entity field `private Integer case;` -- a compile error. The generator's Java keyword list (java_identifier) lacked case, if, for, etc.; it now holds every JLS 3.9 keyword. - carddemo-menu: since 737cab8 (#4049), scenario option-12-typed-over sent option 99; COMEN01C still subscripts its 12-entry table with it, 4K past the record (oracle_assumptions.md X8: the det port stops). The scenario now sends 12, inside the table; the model port is re-proven (evidence refreshed). CI: .github/workflows/det-sweep.yml runs proof_sweep.py --det-only --skip-db2 on translator / harness / case changes and nightly (cancel-in-progress, 60-minute timeout). proof_sweep gains --skip-db2. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
Contributor
# Conflicts: # docs/language_status/evidence/carddemo-menu.md # tests/equivalence/carddemo-menu/evidence.json
10 of 18 tasks
…det ports (#4463) tests/equivalence/det_sweep_baseline.json lists each det port the sweep does not prove, with its issue: 21 CICS ports whose runTask proof passes but whose det-generated java-facade is a stub (#4465), plus the three long-standing ones. CI fails on a new not-proven port and on a baselined one that now proves; --update-baseline drops the stale entries. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
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
Four det ports failed their proofs on main, and no CI job runs the det sweep. I bisected each one on this box (tsvenv,
det_port.py run):EpscsmrdCurrentCondition.java:[359,20] <identifier> expected, i.e.private Integer case;java_identifier's Java keyword list was incomplete. The engine fix #4245 started reading every program of EPSCSMRD's multi-program source, and that source has a field namedCASE.~1proves, the commit failsArrayIndexOutOfBounds: last source index 4556 out of bounds for byte[554]in COMEN01C'sCDEMO-MENU-OPT-USRTYPE(WS-OPTION)option-12-typed-oversent option 99. COMEN01C rejects it but still uses it as a subscript of its 12-entry table, which reads 4K past the record. That is undefined, register X8: "the det port stops ... the case leaves it out".Fixes
cobol_to_java_common._RESERVED_VARSnow holds every JLS 3.9 keyword, with a test per keyword.option-12-typed-oversends 12, which keeps its stated purpose (an invalid option with line 12 typed over) and stays inside the table. The model port is re-proven: proven, unapproved, evidence refreshed. X8 now also covers subscripts..github/workflows/det-sweep.ymlrunsproof_sweep.py --det-only --skip-db2:cancel-in-progressfor PRs,timeout-minutes: 60;proof_sweep.pygains--skip-db2.Proof
All four ports now prove locally (
det_port.py run):Follow-ups (not here)
Closes #4463
🤖 Generated with Claude Code
https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz