Repository navigation
Equivalence cases for example-health-apis Medication family: HCMADB01, HCMADB02, HCMABA01 (Part of #8121) - #8224
Conversation
…, HCMADB02, HCMABA01 (Part of #8121) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #8224 @ 4388ed7: 2 failed check(s) == full-suite (failure) -- real == full-suite part 3/3 (failure) -- real |
…on) (Part of #8121) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (2482e0f) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
No description provided. |
Equivalence cases for the example-health-apis Medication family write path: HCMADB01, HCMADB02, HCMABA01 (Part of #8121). Case data only: no engine, translator or harness change.
HCMABA01 LINKs HCMADB01 (INSERT MEDICATION) and HCMADB02 (one PRESCRIPTION row per dose); HCAZERRS is listed under
programs. Scenarios: happy path, a second medication, no COMMAREA (ABEND HCCA), short COMMAREA, unknown patient (FK failure -> '90'); HCMADB02 adds frequency 1, another frequency, end before start, a multi-day span and a duplicate prescription key. Injected Db2 faults run with--faults all.What is not covered
HCMADB02's frequency 2, 3 and 4 arms start with
MOVE 08000000 TO WS-START-NUM-TIME. The det port emitsCobol.move(D8000000, ...), dropping the leading zero, so the hour reads 80 and H2 rolls the date over (a missing 08:00 row, an extra row on the next day); GnuCOBOL keeps 08:00:00. Those scenarios were dropped rather than loosened: 3 branch outcomes in HCMADB02 stay uncovered. Logged as port blocker P127 (#8223) (tests/cobol_mainframe/port_blockers.json, page regenerated), unfixed (fix belongs indet/gen.py move(), its own PR).Class / Sibling gaps
Class: example-health-apis families, one per PR. Done: Menu (#8191), Visit (#8217), Threshold (#8220), Medication write path (this PR); Patient is #8222 (merged). Sibling gaps: HCIMDB01 and HCM1BI01 (read path, SQLCODE +100 divergence, P124/P126 shape); HCM1PL01 and HCMAPL01 (map programs); HCMRESTW (owner ruling needed); HCMADB02/HCMABA01 multi-dose scenarios (P127); the earlier held siblings (HCIVDB01, HCV1BI01, HCV1PL01).
Checklist: partial [c:54bc7fde] -- the read-path and map programs, HCMRESTW and the multi-dose scenarios (P127) are left, listed above.
Remaining slices
Read path (HCIMDB01, HCM1BI01) after the SQLCODE +100 fix; map programs HCM1PL01 / HCMAPL01; HCMRESTW; HCMADB02 frequency 2..4 after P127; Patient family in #8222.
Overlap: #8222 merged first; journey.json conflicted and was merged by hand (one journal entry here).
Lessons for agents
Cobol.move(D8000000, ...)): a Db2 time-of-day loop then diverges on H2 only. Read the generatedHcmadb02Service.javabefore assuming a scenario or seed is wrong.File cap: 0 hand-written files (case data, generated ledgers/pages, one ledger entry).
File-cap exception: the 11 files are case data (LICENSE, NOTICE, seed.sql per case) and generated ledgers or pages; hand-written files: 0.
Cross-repo: none
🤖 Generated with Claude Code