Skip to content

Det port: equivalence case for HCV1PL01, the last held RETURN TRANSID(EIBTRNID) program (Part of #8230) - #8247

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8230-20261110T2341Z
Nov 11, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8230-20261110T2341Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8230 (and #8121). The last of the three held programs in the checklist item: HCT1PL01 (#8231) and HCP1PL01 (#8238) had landed; this adds HCV1PL01, the Visit screen.

Checklist: done [c:c0f96d0c]

Class / Sibling gaps

Class: a CICS pseudo-conversational screen program that RETURNs TRANSID(EIBTRNID) over a WORKING-STORAGE layout_only COMM-AREA. The forge (typed service kept) and harness (RETURN read as raw bytes) fixes merged in #8231; every member of the class in a burned estate now has a case: HCT1PL01, HCP1PL01, HCV1PL01. HCMAPL01 names a literal TRANSID and is not in the class.

Sibling gaps (none needs code here):

  • Blank-padded PIC X host variable bound to a numeric column (P124 slice 4(b)): the add scenarios key the heart rate as 20 zero-padded digits; the padded shape fails on the Java side (Character ' ' is neither a decimal digit). Needed by: HCAVDB01 / HCV1PL01 add through a real screen (burned, example-health-apis). Scope: core (translator/runtime). Logged on P124.
  • EIBCALEN > 0 re-entry (line 52:true): a layout_only COMMAREA cannot carry a stated COMMAREA (Ladder climb L1->L4: 30 cics-crucible programs below L4, by family (follows #6072) #7434), same limit as HCP1PL01. Harness slice.
  • Line 111:false (HCV1BI01 returns CA-RETURN-CODE > 1): the sweep's SQL fault runs do not reach it; open outcome, not claimed as infeasible.

What changed

  • tests/equivalence/health-hcv1pl01/ (case.json, seed.sql, LICENSE, NOTICE): 12 scenarios (inquire found / none / no date-time / unknown patient, add / needs date-time / duplicate, other transaction, PF3, PF12, CLEAR, MAPFAIL). sysout not compared (HCITDB01 DISPLAYs, port_blockers P128).
  • tests/equivalence/det_sweep_coverage/health-hcv1pl01.json: generated.
  • port_blockers.json / port_blockers.md: P124 update (generated page).

Evidence

proof_sweep.py --det-only --cases health-hcv1pl01 (real Db2, GnuCOBOL): PROVED on 18 scenarios (incl. SQL fault runs), 12/12 paragraphs, 18/20 branches; translated 433/433. Det sweep baseline: "as expected" (no entry needed). det_coverage_ledger.py check: as expected. audit_check.py: all clear. Guard tests + test_evidence.py + port-blockers tests pass.

Lessons for agents

  • equivalence.py run CASE on a det-only case runs the model-port path and shows every Java event None; prove with proof_sweep.py --det-only --cases CASE --work DIR, then det_coverage_ledger.py update DIR.

🤖 Generated with Claude Code

…yout_only COMMAREA); P124 note (Part of #8230, #8121)

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 Nov 10, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 10, 2026 23:51
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 23:52
@squid-shepherd
squid-shepherd Bot merged commit 3ac4883 into main Nov 11, 2026
65 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8230-20261110T2341Z branch November 11, 2026 00:35
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