Skip to content

Equivalence case for example-health-apis Patient front end: HCP1PL01 (Part of #8121) - #8238

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

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/8121-20261110T2038Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: partial [c:54bc7fde] -- HCV1PL01, HCITDB01, HCT1BI01, HCP1BU01 and HCMRESTW/HCPRESTW/HCTRESTW are left (reasons below); estate journey count left to #8227 / #8229, which touch those files.

Part of #8121. Case data only: health-hcp1pl01 (case.json, seed.sql, LICENSE, NOTICE) and its det-sweep ledger entry. No harness, tool or translator code.
File-cap exception: the hand-written files are the case's copied LICENSE and NOTICE plus seed.sql (case data beside case.json, as in the sibling case PRs).

Evidence ladder (HCP1PL01)

Translated whole (307/307 in the estate). Executed-equivalent: 14 scenarios (11 stated, 3 derived SQL-fault), det sweep --faults all, all events and DISPLAY output equal, PATIENT and USER tables compared. Coverage 11/11 paragraphs, 17/18 branches. Chain: HCP1BI01, HCIPDB01, HCP1BA01, HCAPDB01, HCAPDB02, HCAZERRS; none DISPLAYs, so sysout is compared (no sysout: false). Assumptions: GnuCOBOL plus our stub, not z/OS. Open: EIBCALEN > 0 (line 50, true): a layout_only COMMAREA starts empty and the harness refuses a stated one (Unsupported), so no scenario re-enters with a COMMAREA. A harness limit, not an infeasible outcome; nothing netted.

Class / Sibling gaps

Class: example-health-apis PL01 screen front ends that RETURN TRANSID(EIBTRNID) with a WORKING-STORAGE (layout_only) COMMAREA and LINK Db2 business programs.

Member Status
HCM1PL01 on main
HCMAPL01 #8229
HCT1PL01 #8231
HCP1PL01 this PR
HCV1PL01 not here: GET-THRESHOLD LINKs HCT1BI01 -> HCITDB01, which DISPLAYs (P128: standalone Sysout ignores gitgalaxy.sysout), so a case needs sysout: false, which loosens the proof; also P124(b) (blank-padded X into SMALLINT)

Remaining slices

  • HCV1PL01, HCITDB01, HCT1BI01: P128 runtime fix first.
  • HCP1BU01: LINKs LGUCDB01 and COPYs LGCMAREA, neither in the estate.
  • HCMRESTW / HCPRESTW / HCTRESTW: HTTP containers (DFHHTTPMETHOD, DFHWS-DATA), LINK HCM1BA01 / HCM1BU01 not in the estate; refused-by-design candidate, owner decision.
  • EIBCALEN > 0 arm of HCP1PL01 (harness limit above).

Cross-repo

Ordering within this repo: the case needs #8231's equivalence_cics.py fix (a layout_only RETURN judged from task.returnedBytes()); merge #8231 first. Proved in a scratch merge of #8231 + main; without it the RETURN fields diff 0 vs None. Re-run det_port.py run health-hcp1pl01 after it lands. No companion repo.

Gates

pr_gates --fast 9/9; test_det_coverage_ledger.py 38 passed; det_port.py run health-hcp1pl01 PROVED; proof_sweep --det-only --faults all proven on 14 scenarios. No parsing logic touched, no golden bless.

Lessons for agents

  • A layout_only case with CLEAR and no receive raises MAPFAIL as well: the harness refuses it ("which CICS takes first is not documented"); give the CLEAR scenario a receive.
  • pip install -e . in a scratch worktree is unnecessary: set PYTHONPATH=<worktree> with the selfscan venv.
  • det_port.py run needs --work DIR.

🤖 Generated with Claude Code

@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 21:08
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 21:21
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 10, 2026 21:30
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8238 @ ef071c9: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42902165112/job/130134819982
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases health-hcp1pl01,health-hcp1pl01: --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: health-hcp1pl01,health-hcp1pl01:
errors:
det health-hcp1pl01 NOT PROVEN not proven; 14 scenarios cover 11/11 paragraphs and 17/18 branches
det health-hcp1pl01: NOT PROVEN (not proven; 14 scenarios cover 11/11 paragraphs and 17/18 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 284 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 235347
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 9f191c7ff82e272ccc86c6f7dc4819d0eeb54120a371aa2d1ed3ffecf30cfcc5
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 13803653521
Artifact det-sweep-ledger has been successfully uploaded! Final size is 235347 bytes. Artifact ID is 13803653521
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/42902165112/artifacts/13803653521
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/cf92d8a2-bf3c-4977-b558-6160677f83d4' 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 the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 21:38
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 10, 2026 21:53
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8238 @ 0fb9a12: 2 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42906859915/job/130151246817
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases health-hcp1pl01,health-hcp1pl01: --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: health-hcp1pl01,health-hcp1pl01:
errors:
det health-hcp1pl01 NOT PROVEN not proven; 14 scenarios cover 11/11 paragraphs and 17/18 branches
det health-hcp1pl01: NOT PROVEN (not proven; 14 scenarios cover 11/11 paragraphs and 17/18 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 285 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 236361
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 2e12936858fa6319b37614ed3c5cb64788ded13fcdd117afdb301236455935b8
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 13805099248
Artifact det-sweep-ledger has been successfully uploaded! Final size is 236361 bytes. Artifact ID is 13805099248
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/42906859915/artifacts/13805099248
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/cfef3cd1-4d95-480d-8d27-42ddc26535fd' 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

== full-suite part 3/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42906860230/job/130151054034
repro: python -m pytest -q tests/tools/test_det_sweep_timing.py::test_every_db2_case_has_a_committed_duration_but_the_newest
failing tests: tests/tools/test_det_sweep_timing.py::test_every_db2_case_has_a_committed_duration_but_the_newest
errors:
fail-on-cache-miss: false
E AssertionError: ['cbsa-bnk1dcs-generated', 'health-hcapdb01', 'health-hcapdb02', 'health-hcm1pl01', 'health-hcp1ba01', 'health-hcp1pl01']
tests/tools/test_det_sweep_timing.py:106: AssertionError
FAILED tests/tools/test_det_sweep_timing.py::test_every_db2_case_has_a_committed_duration_but_the_newest - AssertionError: ['cbsa-bnk1dcs-generated', 'health-hcapdb01', 'health-hcapdb02', 'health-hcm1pl01', 'health-hcp1ba01', 'health-hcp1pl
##[error]Process completed with exit code 1.
log tail:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
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
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-3.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 1008467
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is ca375faa97d66a9fe6cce57555d682156e5cbd94d782ce179ffdfdf54ea925c6
Finalizing artifact upload
Artifact test-times-part-3 successfully finalized. Artifact ID 13805903299
Artifact test-times-part-3 has been successfully uploaded! Final size is 1008467 bytes. Artifact ID is 13805903299
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/42906860230/artifacts/13805903299
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/1b1c199b-6b94-4726-99c8-7fd09e79076f' 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 the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 10, 2026
@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

Copy link
Copy Markdown
Contributor

No description provided.

squid-protocol and others added 2 commits November 10, 2026 17:35
…imit (Part of #8121)

The layout_only COMMAREA (#7434) cannot carry a stated COMMAREA, so line 50 true is not drivable; a scenario was tried and refused.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 22:45
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 81f1717 into main Nov 10, 2026
40 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8121-20261110T2038Z branch November 10, 2026 23:28
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