Skip to content

Equivalence cases for example-health-apis Inquire family: HCIVDB01, HCIPDB01, HCV1BI01, HCP1BI01 (Part of #8121) - #8227

Merged
squid-shepherd[bot] merged 6 commits into
mainfrom
churn/8121-20261110T1724Z
Nov 11, 2026
Merged

squid-shepherd[bot] merged 6 commits into
mainfrom
churn/8121-20261110T1724Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Fix round

Merged origin/main (P126 SQLCODE +100 fix is on main); the four cases now prove locally on the real Db2 container. Recorded their durations (det_sweep_durations.json) and the journey point (13 of 29 at L2).

Checklist: partial [c:54bc7fde] -- Inquire family done; Threshold/Visit/Medication/Patient merged earlier, remaining families listed under Remaining slices
Checklist: partial [c:581bd365] -- scenario-only cases for this family; later families outstanding
Checklist: partial [c:fa9d6d5f] -- Double/Float DTO property leaf (det/hfp.py) not touched here
Checklist: done [c:2d088cb5]

Slice 2 of #8121: equivalence cases (data only: case.json, seed.sql, LICENSE/NOTICE, coverage ledger entries) for four Inquire programs of example-health-apis (a burned estate): the Visit and Patient readers HCIVDB01 and HCIPDB01 and their BI front ends HCV1BI01 and HCP1BI01. No harness, tool or translator code.

Cross-repo / ordering: these cases only prove once #8225 (SQLCA COMP held big-endian) is on main. On current main the SQLCODE 100 and SQL-fault scenarios take Java's When Other branch (blocker (a)). Merge #8225 first, then re-run the det sweep on this head. Not touched: #8225's files. No overlap with #8224's files (the journey and durations files are left for the post-merge refresh).

Evidence (det sweep, --faults all, measured in a scratch tree with #8225 merged into this head)

case before after
health-hcivdb01 no case proven on 8 scenarios, 5/5 paragraphs, 10/14 branches
health-hcipdb01 no case proven on 5 scenarios, 4/4 paragraphs, 6/8 branches
health-hcv1bi01 no case proven on 7 scenarios, 4/4 paragraphs, 4/4 branches
health-hcp1bi01 no case proven on 5 scenarios, 4/4 paragraphs, 4/4 branches

On this head alone (without #8225): not-found, found-bp-only and --sql-* fault scenarios differ (SQLCODE 100). Oracle is GnuCOBOL plus our stub, not z/OS. Residual branches (HCIVDB01 4/14, HCIPDB01 2/8) are the -913 / other-SQLCODE arms; not stated infeasible here.

Checklist: partial [c:54bc7fde] -- Visit, Patient, Threshold and Medication families grouped; only Visit and Patient (reader + BI) cases are in this PR.
Checklist: partial [c:581bd365] -- scenario inputs only; no gap was labelled a source defect.
Checklist: partial [c:fa9d6d5f] -- not reached (no Double/Float column in these programs' tables).
Checklist: partial [c:2d088cb5] -- journey point not added (left for after #8225 and #8224 settle, to keep those shared files untouched).

File-cap exception: the 12 flagged files are per-case seed.sql plus verbatim LICENSE/NOTICE copies of the merged sibling cases (case data, one per case), not hand-written code.

Class / Sibling gaps

Class: Inquire-family programs of example-health-apis without an equivalence case. Siblings and status:

  • HCIVDB01, HCIPDB01, HCV1BI01, HCP1BI01: this PR.
  • HCITDB01 and HCT1BI01: case built and parked (not in this PR). Every scenario differs on DISPLAY output: for a CICS-only generated project the det port imports the standalone Sysout, which writes to System.out, while the harness reads the file named by gitgalaxy.sysout, so Java captures no DISPLAY lines. Engine/harness gap (not data); needs an issue. Not loosened with "sysout": false.
  • HCIMDB01, HCM1BI01 (cursor, HCCMARE2 copybook): not started.
  • HCV1PL01, HCP1PL01, HCT1PL01, HCM1PL01 (BMS screens, 3-4 programs deep via LINK): not started.
  • HCP1BU01 (LINKs LGUCDB01 and LGSTSQ, not in the estate), HC*RESTW, HCMAPL01: out of scope, need triage.

Remaining slices

  1. HCITDB01 + HCT1BI01 after the standalone Sysout capture gap is fixed.
  2. HCIMDB01 + HCM1BI01.
  3. The four PL screens.
  4. Journey point and det_sweep_durations.json after Det Db2: a SQLCA declared COMP is held big-endian, so EVALUATE SQLCODE WHEN 100 matches (Part of #8121) #8225 merges.

Lessons for agents

  • A BI case's COMMAREA DTO is generated from the first LINKing caller's record (HCP1BI01 gets HCM1PL01 PATIENT-COMM-AREA, PCA- names), so naming HCP1BI01's own CA- fields fails with "DTO has no field"; point segments at the caller's record.
  • A CICS-only det project's Sysout is the standalone one (System.out): DISPLAY in a CICS case is invisible to the sysout comparison.

Rescue round (Opus)

Re-conflicted only on tests/equivalence/det_sweep_durations.json: sibling #8121 PRs (#8233 and others) add entries next to these. I resolved it by taking main's file and adding this PR's four entries (sorted, the way det_sweep_timing.py merge-durations writes them). The journey files merged cleanly, and estate_journey.py --check passes. Main changed nothing under gitgalaxy/tools/cobol_to_java or the harness since the last proof, so I did not re-run the Db2 sweep locally; the det check re-proves the four cases. test_det_sweep_timing.py and the journey tests pass (21 tests).

🤖 Generated with Claude Code

…CIPDB01, HCV1BI01, HCP1BI01 (Part of #8121)

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

Copy link
Copy Markdown
Owner Author

Waiting on an owner decision (asked privately, 2026-11-10). Nothing is needed from contributors; work resumes once it is answered.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@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 19:44
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 19:53
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 10, 2026 19:58
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8227 @ 771b2ff: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42888206888/job/130087498085
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases health-hcipdb01,health-hcipdb01:,health-hcivdb01,health-hcivdb01:,health-hcp1bi01,health-hcp1bi01:,health-hcv1bi01,health-hcv1bi01: --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: health-hcipdb01,health-hcipdb01:,health-hcivdb01,health-hcivdb01:,health-hcp1bi01,health-hcp1bi01:,health-hcv1bi01,health-hcv1bi01:
errors:
det health-hcipdb01 NOT PROVEN not proven; 5 scenarios cover 4/4 paragraphs and 6/8 branches
det health-hcivdb01 NOT PROVEN not proven; 8 scenarios cover 5/5 paragraphs and 10/14 branches
det health-hcp1bi01 NOT PROVEN not proven; 5 scenarios cover 4/4 paragraphs and 4/4 branches
det health-hcv1bi01 NOT PROVEN not proven; 7 scenarios cover 4/4 paragraphs and 4/4 branches
det health-hcipdb01: NOT PROVEN (not proven; 5 scenarios cover 4/4 paragraphs and 6/8 branches); a new failure: fix it, or (only with its true cause and issue) add it to tests/equivalence/det_sweep_baseline.json
det health-hcivdb01: NOT PROVEN (not proven; 8 scenarios cover 5/5 paragraphs and 10/14 branches); a new failure: fix it, or (only with its true cause and issue) add it to tests/equivalence/det_sweep_baseline.json
det health-hcp1bi01: NOT PROVEN (not proven; 5 scenarios cover 4/4 paragraphs and 4/4 branches); a new failure: fix it, or (only with its true cause and issue) add it to tests/equivalence/det_sweep_baseline.json
det health-hcv1bi01: NOT PROVEN (not proven; 7 scenarios cover 4/4 paragraphs and 4/4 branches); a new failure: fix it, or (only with its true cause and issue) add it to tests/equivalence/det_sweep_baseline.json
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
##[endgroup]
With the provided path, there will be 283 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 234295
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 164929fdce9aaa491a752b0c27d644c0ab39c297dc7f5a9121042f6c9c67614c
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 13797892678
Artifact det-sweep-ledger has been successfully uploaded! Final size is 234295 bytes. Artifact ID is 13797892678
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/42888206888/artifacts/13797892678
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/5b742cf4-5591-41ba-9e3b-48d468d74859' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Nov 10, 2026
@squid-shepherd squid-shepherd Bot removed 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

CI shepherd: the head of this PR (9f64f00) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 10, 2026 20:18
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Nov 10, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels 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 20:21
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 20:26
@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:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels 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 21:10
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 21:12
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 10, 2026 22:27
@squid-shepherd

Copy link
Copy Markdown
Contributor

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 10, 2026
…724Z

# Conflicts:
#	tests/equivalence/det_sweep_durations.json
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (eefc296) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 10, 2026 22:45
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Nov 10, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels 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 22:58
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 22:59
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd
squid-shepherd Bot merged commit a3076cc into main Nov 11, 2026
79 of 102 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8121-20261110T1724Z branch November 11, 2026 00:16
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