Repository navigation
census: EXEC SQL: other splits by IBM statement keyword; blind re-measure (Part of #8075) - #8081
Merged
Merged
Conversation
…8075) example-health-apis ships .expanded/ compile-listing copies of each program. The scan (aperture) skips them, so the estate's forge builds one Db2 repository per program from the real source; det_survey and cics_census counted the copy as a second program, whose statements carry the expanded file's line numbers and found no repository method (the 10 of 58 "EXEC SQL forms not modelled", all .expanded copies; no verb was unmodelled). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
Waiting on an owner decision (asked privately, 2026-11-08). Nothing is needed from contributors; work resumes once it is answered. |
#8075) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Nov 8, 2026
Closed
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Nov 8, 2026
Merged
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 #8075 (blind trial #8073, tools only; owner family #8060).
Changes
tests/tools/gap_prevalence.py:scrub_keyno longer collapses every unkept EXEC SQL hole intoEXEC SQL: other. The key isEXEC SQL: other (<VERB>)for a verb in a closed IBM vocabulary (Db2 for z/OS SQL Reference:_SQL_WORDSplus_SQL_OTHER_VERBS),EXEC SQL: other (host variable / WHENEVER / SQLCA / SQLDA)for a fixed hole class, elseEXEC SQL: other. The key is always the table's string, never source text.tests/tools/test_gap_prevalence.py: every vocabulary verb parametrized (a table/column name after it never survives), the class keys, the census entry-point leak test updated.tests/tools/det_survey.py(is_program_path),tests/tools/cics_census.py,tests/tools/test_survey_hidden_dir_copies_8075.py: root cause of the T0 "10 programs": they were.expanded/compile-listing copies of 10 Db2 programs, surveyed as second programs (aperture skips hidden dirs; the copy's statements carry the listing's line numbers, sono generated Db2 repository method). Program enumeration in the survey and the census now skips programs under a hidden directory. No Db2 verb was unmodelled (17 statements: INSERT 7, SELECT INTO 4, SET 2, cursor OPEN/FETCH/CLOSE 4).Owner decision needed: the denominators in #8073 ("14 of 58 whole") and #8074 ("21 of 58") counted the 29
.expandedcopies; the survey now has 29 programs.Re-measure (blind estate, tools only, counts only,
cics_census.py survey --baseline --blind-rootthengap_prevalence.py --census-survey, engine 727635f)29 programs, 25 translate whole, 0 programs hold an EXEC SQL gap. Remaining:
EXEC: otherin 3 programs (#8076, PR #8088), 1 clone-defect copybook (rule 10, already named). The "10 of 58" at T0 predates the hidden-directory-copy exclusion (#8075 survey commits) and main fixes since; no EXEC SQL form is left to model. No blind source was read, copied or edited.Checklist: done [c:ab419637]
Checklist: partial [c:e11c3928] -- nothing left to model on the current blind measurement; a later run that shows an SQL gap reopens it
Checklist: partial [c:4cf0d87f] -- no EXEC SQL form is a candidate; rule 10 untouched
Checklist: done [c:4779b787]
Class / Sibling gaps
Class: EXEC SQL holes whose census key was one undifferentiated
otherbucket, so a statement form could not be named from counts. Every statement keyword outside the previously kept set is now its own key (all members in this PR, each with a parametrized test). Sibling gaps:EXEC: other(non-SQL, non-CICS holes) is the same collapse, owned by #8076 / PR #8088 (touches the same file; merge order: that PR first, rebase this one). det/sql.py forms: none currently reached by the blind estate, so none modelled.Cross-repo: none. No companion PRs; nothing re-runs after merge except the blind per-merge measurement.
Remaining slices
None for this issue unless a later blind measurement shows an EXEC SQL gap (then: model the form in
det/sql.pywith an authored Db2 fixture, filesdet/sql.py, a test, register entry).Lessons for agents
cics_census.py survey --blind-roottakes the PARENT of the clone directory (the root holding corpora), not the clone itself.Gates:
pr_gates.py --fast9/9 pass (mypy local 2.4.0 vs CI 2.4.1, gate used its cached 2.4.1). Ratchets: not run, no engine/golden change.🤖 Generated with Claude Code