Skip to content

Equivalence cases for example-health-apis Visit family: HCAVDB01, HCV1BA01 (Part of #8121) - #8217

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8121-20261110T1221Z
Nov 10, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8121-20261110T1221Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8121 (Blind 1 to L2, Visit family). Draft.

What

  • health-hcavdb01 (Db2 insert of BLOODPRESSURE / HEARTRATE): 6 scenarios plus the injected-fault runs, 8 runs, 4/4 paragraphs, 8/8 branches, det port equal to GnuCOBOL on every run.
  • health-hcv1ba01 (LINK front end to HCAVDB01): 4 scenarios, 6 runs, 3/3 paragraphs, 6/6 branches, det port equal.
  • Harness: equivalence_cics.inline_exec_copies reads a PROCEDURE DIVISION COPY member that holds EXEC CICS / EXEC SQL (HCERRSPD, copied by every example-health-apis Db2/LINK program) in before the SQL precompile and CICS translation; cobc refused the bare EXEC. Test: test_equivalence_cics_inline_exec_copies_8121.py.
  • Ledgers: det_sweep_coverage and durations for both cases, P124 update, estate journal entry (blind 1 at L2 on 4 of 29: HCAZMENU, HCAZERRS, HCAVDB01, HCV1BA01; kept off the L1 chart).
  • Oracle is GnuCOBOL plus our stub, not z/OS. Expected results come from the oracle.

What changed from the plan

The plan said case data only. It needed the harness fix above, startcode: D in the cases, zero-padded heart-rate inputs, and HCIVDB01 / HCV1BI01 / HCV1PL01 did not ship.

File-cap exception: two case directories are one unit; their LICENSE and NOTICE are verbatim scaffolding copies, estate_journey.md and port_blockers.md are generated pages, and the hand-written parts are the harness function with its test, two case.json / seed.sql pairs and one ledger line.

Class / Sibling gaps

Class: a program with EXEC in a procedure-division COPY member (fixed here for every burned program). Sibling gaps, not swept, logged in P124:

  • HCIVDB01's Evaluate SQLCODE When 100 takes When Other on the Java leg (no-row SELECT or injected +100); cause not found. Holds HCIVDB01, HCV1BI01, HCV1PL01.
  • A blank-padded PIC X host variable bound to a SMALLINT column is refused by DetSql on the Java leg; the HCAVDB01 case uses zero-padded inputs.

Remaining slices

HCIVDB01, HCV1BI01, HCV1PL01 cases after a traced Java run finds the +100 cause; port blocker P125 (the harness fix) to be added once this PR number exists.

Gates

pr_gates --fast 9/9; audit_check clear; port_blockers, estate_options, gap1 audit, det coverage ledger tests pass. proof_sweep --det-only --faults all --cases health-hcavdb01,health-hcv1ba01: 2/2 proven.

Lessons for agents

  • GITGALAXY_MAINFRAME_CORPORA, the selfscan venv on PATH, and a fresh --keep dir (FileExistsError on the Java leg otherwise) are needed in every Bash call for det_port.py run.
  • equivalence.py run reads 0 events equal for a LINKed case; use det_port.py run <case> --work DIR.
  • port_blockers.json allows one entry per issue and needs an issue or a fixing PR: a blocker found before the PR exists is folded into the family's entry.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits November 10, 2026 07:57
…1BA01 (Part of #8121)

health-hcavdb01: 8 runs (6 scenarios + injected faults), 4/4 paragraphs, 8/8 branches, det port equal.
health-hcv1ba01: 6 runs, 3/3 paragraphs, 6/6 branches, det port equal.
Harness: equivalence_cics.inline_exec_copies reads a PROCEDURE DIVISION COPY member that holds
EXEC CICS / EXEC SQL (HCERRSPD) in before the precompile. HCIVDB01, HCV1BI01, HCV1PL01 held back
(Java SQLCODE +100 divergence), logged under P124.

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 13:04
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 13:10
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 2c3c7b4 into main Nov 10, 2026
84 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8121-20261110T1221Z branch November 10, 2026 13:51
squid-shepherd Bot pushed a commit that referenced this pull request Nov 10, 2026
… HCT1BA01 (Part of #8121) (#8220)

* Equivalence cases for example-health-apis Visit family: HCAVDB01, HCV1BA01 (Part of #8121)

health-hcavdb01: 8 runs (6 scenarios + injected faults), 4/4 paragraphs, 8/8 branches, det port equal.
health-hcv1ba01: 6 runs, 3/3 paragraphs, 6/6 branches, det port equal.
Harness: equivalence_cics.inline_exec_copies reads a PROCEDURE DIVISION COPY member that holds
EXEC CICS / EXEC SQL (HCERRSPD) in before the precompile. HCIVDB01, HCV1BI01, HCV1PL01 held back
(Java SQLCODE +100 divergence), logged under P124.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* port_blockers: P125 (procedure COPY member with EXEC), fixed by #8217 (Part of #8121)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* Equivalence cases for example-health-apis Threshold family: HCATDB01, HCT1BA01 (Part of #8121)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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