Repository navigation
Health Db2 programs: SQL-fault scenarios lift HCIPDB01, HCITDB01, HCIVDB01, HCMADB02 to every net branch (Part of #8121) - #8308
Merged
Conversation
…VDB01 and HCMADB02 to every net branch (Part of #8121) sql_faults scenarios take the EVALUATE SQLCODE -913 and OTHER arms; HCMADB02 needed frequency scenarios. HCIMDB01 goes 11/14 to 12/14 (loop FETCH arms); two arms stay open. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8121. Case data only: SQL-fault and frequency scenarios lift the Health Db2 programs from L3 toward L4.
Class / Sibling gaps
Class: Db2
EVALUATE SQLCODEarms (WHEN -913,WHEN OTHER) that the enumerated default fault does not reach (a SELECT INTO defaults to 100), so they need a statedsql_faultsentry in a scenario. Members fixed here: HCIPDB01, HCITDB01, HCIVDB01 (two SELECTs), HCIMDB01 (the loop FETCH, named byline). HCMADB02 was not SQL: its open arms were thetwice/three/four-times-a-dayfrequency values.Sibling gaps, not here:
221 WHEN@222(loop FETCH returns 0): needs a second MEDICATION row, which overruns the one-entryCA-MEDICATIONStable (register X8, the harness refuses). Harness work.226:false(IF ws-counter > 0): read as unreachable (GET-MEDICATION-INFO runs only inPERFORM ... UNTIL SQLCODE NOT EQUAL 0, after a FETCH of 0 whoseLOAD-COMMAREAdidADD 1 TO ws-counter), butbranch_solver.py checkreports a witness, so no infeasible entry is written. Needs a review of the solver's loop model.130:true: the plan listed it as an SQL arm; it is a short-COMMAREA over-read the oracle stops at. Not touched, no label applied.layout_onlylimit, Equivalence harness gaps that block the L1->L4 ladder: abend injection, SEND/RECEIVE/RETURN/SYNCPOINT/DELAY faults, CEEDAYS, X6 WRITEQ #6271), HCM1PL01 (X8 ODO refusal), REST wrappers (X42, owner question o261).det/hfp.py(Blind trial #8073: EXEC CICS ASSIGN PRINSYSID and the scrubbed EXEC CICS keys (5 of 58 programs) #8076).Remaining slices
221:WHEN@222).226:false(witness vs reading above).130:trueover-read: harness or owner ruling.Coverage (det sweep,
--faults all)The oracle is GnuCOBOL plus our stub and a real Db2 container, not z/OS. Expected outputs come from the oracle, none hand-written. Four of five cases take every net branch; HCIMDB01 does not. No infeasible entries were added.
Checklist: partial [c:581bd365] -- Db2 family L4 except HCIMDB01 (2 arms); screen, REST and error programs remain
Lessons for agents
medication.typeis two characters (SQL0433N on 'OTC').WHEN 0.branch_solver.py reachwitnesses can skip a loop guard (it faulted the first FETCH to reach a paragraph that only runs after a successful one): read the witness against the PERFORM UNTIL before using it as a scenario.infeasible_outcomes.py addneeds--unitand--kindwhen the case has no evidence record listing the branch.🤖 Generated with Claude Code