Skip to content

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

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

squid-shepherd[bot] merged 5 commits into
mainfrom
churn/8121-20261110T1336Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Part of #8121 (Blind 1 to L2, Threshold family). Draft. #8217 (the inline_exec_copies harness fix) has merged and this branch has merged main.

What

  • health-hcatdb01 (Db2 INSERT into THRESHOLD): 5 scenarios plus injected Db2 faults, 6 runs, 3/3 paragraphs, 5/6 branches, det port equal to GnuCOBOL on every run.
  • health-hct1ba01 (LINK front end to HCATDB01): same 5 scenarios, 6 runs, 3/3 paragraphs, 6/6 branches, det port equal.
  • Case data only: scenario inputs are mine, expected results come from the oracle (GnuCOBOL plus our stub, not z/OS). Ledgers regenerated: det_sweep_coverage, det_sweep_durations, journey page (blind 1 at L2 on 6 of 29).
  • HCATDB01 IF EIBCALEN < 18 true (line 130) is not driven: the program MOVEs CA-PATIENT-ID (bytes 9-18) before the check, so a 17-byte area stops both sides at the reference. Reaching '98' needs a read past the area; that is an L4 question, not L2.
  • Heart-rate inputs are zero-padded (blank-padded X into SMALLINT is the open DetSql refusal in P124).

Checklist: partial [c:54bc7fde] -- families 1, Visit (#8217) and Threshold (2 of 6) done; Patient, Medication and the rest of Threshold remain
Checklist: partial [c:581bd365] -- scenario inputs only so far; no source-defect label used
Checklist: partial [c:2d088cb5] -- journey point recorded for this PR; re-record after merge

File-cap exception: 7 files are counted but only 2 carry hand-written content (the two seed.sql); 4 are the verbatim LICENSE/NOTICE copies every equivalence case directory requires, and estate_journey.md is generated from journey.json. Splitting the two cases would not reduce the review surface.

Class / Sibling gaps

Class: example-health-apis Db2 writer programs and their LINK front ends brought to L2, same mechanism as the Visit family (insert program + front end). Members covered here: HCATDB01, HCT1BA01. Sibling gaps, not here:

  • HCITDB01, HCT1BI01 (Threshold inquiry): held by the Java Evaluate SQLCODE When 100 divergence (P124/P126 in port_blockers).
  • HCT1PL01 (not yet read), HCTRESTW (z/OS Connect channel/container front: check refused-by-design, rule 8).
  • Patient (7) and Medication (8) families: next PRs; their HCIxDB01 programs share the +100 blocker.

Remaining slices

Patient family, Medication family, Threshold inquiry programs after the +100 cause is found. No file-cap issue: hand-written files are case data only.

Gates

proof_sweep --det-only --faults all --cases health-hcatdb01,health-hct1ba01: 2/2 proven. pr_gates --fast 9/9; --ratchets 9/9 (ports after sync-pins; the first run failed on the box's cics-crucible checkout being off its pin). tree-wide guard tests pass.

🤖 Generated with Claude Code

squid-protocol and others added 5 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 14:09
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 10, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 14:16
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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