Repository navigation
det Db2: pin every IBM EXEC SQL keyword as modelled or refused by name (Part of #8075) - #8146
Merged
Merged
Conversation
…e; Q4 note for the blind trial (Part of #8075) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Nov 9, 2026
Merged
squid-protocol
added a commit
that referenced
this pull request
Nov 13, 2026
…trials made us build Owner review, 2026-11-13: the census rehearsal row read as "L0", which undersold it (13 of 39 whole, 37 accounted); it comes off the slide. What the fresh estates changed in the engine goes on the capability ledger instead, each row computed from the code with a line saying what the trial showed: - Copybook search (new): 17 member layouts the engine and translator both resolve, counted from the COPY layout matrix (#8118). Gap found by Blind 1: 28 of 29 first-contact misses were copybooks - JSON GENERATE / PARSE (new): translated from IBM's text, no oracle (register X77 status read live). Gap found by the census rehearsal (#7524) - Db2 embedded SQL: the 18 further IBM statement keywords each refused by name (#8146, counted from gap_prevalence). Tested by Blind 1: its 17 SQL statements all translated at first contact Also: the meter column moves left so a long unit no longer overlaps its count ("8 / 18 COND jobs"). Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol
added a commit
that referenced
this pull request
Nov 13, 2026
… one slot per blind draw (Part of #8073) (#8405) * Progress slide: code we had never seen, first contact then the climb, one slot per blind draw The "where we stand" slide still said no blind codebase had been measured. It now carries the census rehearsal and the blind draws, read from estate_journey/journey.json, the first-try ledger (tests/cobol_mainframe/trials.json, trial.py's own counting rule) and the count of pre-registered draws (estate4_candidates.json, never the names): - three cards: census 8/40 -> 13/39 whole (37/39 accounted, 108 trial PRs); blind draws at first contact 0/29 -> 28/29 whole (25/29 after 5 PRs); first try 23/28 (82%), 28/28 after engine fixes - one panel per pre-registered draw (17), on a shared scale of trial PRs since first contact; a drawn estate shows L2 where cases were allowed, else L1, never both on one axis; the rest read "not yet drawn" - progress.md gets the same numbers with their sources; never in the burned denominator journey.json: blind estate 1 gains its draw / estate / trial link, an L2 series rebuilt from the merged case PRs (0 at first contact, 28/29 at trial PR 46, matching the evidence report of 2026-11-13) and today's L1 reading (28/29). Journal: the 11-12 first-try run, and an 11-13 correction (async credit-card's 11-01 "all 10 at L5" no longer holds; 5 programs at L5 today). The stale-caveat line is dated. Co-Authored-By: Claude Opus 5.5 <[email protected]> * journey.json: blind 1's L2 series from the reproducible trial-PR rule (81 trial PRs, 28/29 at PR 60) The first series came from a gh search capped at 100 results, which missed 14 trial PRs (the #8111-#8113 lessons work). The rule now named in l2_measure_note (titles citing trial_issues, naming the estate, or a booked cause fix) counts 81 trial PRs since first contact; L2 reaches 28/29 at trial PR 60, not 46. The count is conservative: the lessons work is included. trial_issues is recorded on the entry so the series can be rebuilt. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Progress slide, owner review: never-seen section under the tiles, census as a ladder row, days on each draw Owner review of 2026-11-13 (additions to the existing slide, not a redesign): - the "code we had never seen" section moves up, right under the headline tiles and the level key - the census card is gone; the census rehearsal is a ladder row under "All real codebases" (L0 26, L1 13 of 39; no cases, 37/39 accounted, from 8/40 in 108 PRs, 3.3 days), never in the total - a drawn blind panel is two cells wide until WIDE_UNTIL (5) draws are made; the panel key is one line above the grid - each panel ends with the days it took: "L2 0 -> 28/29 in 60 PRs · 3.1 days"; days are computed from the series' own dates (journey_time reads the ET and UTC forms; an unparsed date leaves them out) Co-Authored-By: Claude Opus 5.5 <[email protected]> * Progress slide: census row out; the capability ledger shows what the trials made us build Owner review, 2026-11-13: the census rehearsal row read as "L0", which undersold it (13 of 39 whole, 37 accounted); it comes off the slide. What the fresh estates changed in the engine goes on the capability ledger instead, each row computed from the code with a line saying what the trial showed: - Copybook search (new): 17 member layouts the engine and translator both resolve, counted from the COPY layout matrix (#8118). Gap found by Blind 1: 28 of 29 first-contact misses were copybooks - JSON GENERATE / PARSE (new): translated from IBM's text, no oracle (register X77 status read live). Gap found by the census rehearsal (#7524) - Db2 embedded SQL: the 18 further IBM statement keywords each refused by name (#8146, counted from gap_prevalence). Tested by Blind 1: its 17 SQL statements all translated at first contact Also: the meter column moves left so a long unit no longer overlaps its count ("8 / 18 COND jobs"). Co-Authored-By: Claude Opus 5.5 <[email protected]> * Progress slide, owner review: plain blind-panel labels, the four tiles under Results, short titles - a blind panel's label is two lines, "Same output (L2): 0 -> 28 of 29" and "60 PRs · 3.1 days" - the four headline tiles move into the Results section they summarise ("Results: the 129 training programs") - shorter titles: Blind trials, Training codebases, Our own test suites, Results by age of code, Capabilities, Runtime fidelity, Work done (the counts the old titles carried move to the line below) Co-Authored-By: Claude Opus 5.5 <[email protected]> * Fix the full-suite red: ground-truth input check saw docs/language_status as read progress_report now names estate_journey (its journey.json path), so change_classifier counts estate_journey.py as run by the ground-truth job; its main() wrote through a path computed from docs/language_status, which the classifier reads as "every file there" (zos_probes.json, cobol.md ...), and test_ground_truth_plan / test_change_classifier failed. main() now writes PAGE / CHARTS by their constants, capability_ledger.register_status reads the register folder as register() does, and the generated docs_read_by_tests.txt is regenerated (change_classifier.py --write). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UP3D7QYcoYopjzyWpVYcB4 --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
squid-shepherd Bot
pushed a commit
that referenced
this pull request
Nov 14, 2026
…rom-prs) (Part of #8073) (#8406) * Progress slide: code we had never seen, first contact then the climb, one slot per blind draw The "where we stand" slide still said no blind codebase had been measured. It now carries the census rehearsal and the blind draws, read from estate_journey/journey.json, the first-try ledger (tests/cobol_mainframe/trials.json, trial.py's own counting rule) and the count of pre-registered draws (estate4_candidates.json, never the names): - three cards: census 8/40 -> 13/39 whole (37/39 accounted, 108 trial PRs); blind draws at first contact 0/29 -> 28/29 whole (25/29 after 5 PRs); first try 23/28 (82%), 28/28 after engine fixes - one panel per pre-registered draw (17), on a shared scale of trial PRs since first contact; a drawn estate shows L2 where cases were allowed, else L1, never both on one axis; the rest read "not yet drawn" - progress.md gets the same numbers with their sources; never in the burned denominator journey.json: blind estate 1 gains its draw / estate / trial link, an L2 series rebuilt from the merged case PRs (0 at first contact, 28/29 at trial PR 46, matching the evidence report of 2026-11-13) and today's L1 reading (28/29). Journal: the 11-12 first-try run, and an 11-13 correction (async credit-card's 11-01 "all 10 at L5" no longer holds; 5 programs at L5 today). The stale-caveat line is dated. Co-Authored-By: Claude Opus 5.5 <[email protected]> * journey.json: blind 1's L2 series from the reproducible trial-PR rule (81 trial PRs, 28/29 at PR 60) The first series came from a gh search capped at 100 results, which missed 14 trial PRs (the #8111-#8113 lessons work). The rule now named in l2_measure_note (titles citing trial_issues, naming the estate, or a booked cause fix) counts 81 trial PRs since first contact; L2 reaches 28/29 at trial PR 60, not 46. The count is conservative: the lessons work is included. trial_issues is recorded on the entry so the series can be rebuilt. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Progress slide, owner review: never-seen section under the tiles, census as a ladder row, days on each draw Owner review of 2026-11-13 (additions to the existing slide, not a redesign): - the "code we had never seen" section moves up, right under the headline tiles and the level key - the census card is gone; the census rehearsal is a ladder row under "All real codebases" (L0 26, L1 13 of 39; no cases, 37/39 accounted, from 8/40 in 108 PRs, 3.3 days), never in the total - a drawn blind panel is two cells wide until WIDE_UNTIL (5) draws are made; the panel key is one line above the grid - each panel ends with the days it took: "L2 0 -> 28/29 in 60 PRs · 3.1 days"; days are computed from the series' own dates (journey_time reads the ET and UTC forms; an unparsed date leaves them out) Co-Authored-By: Claude Opus 5.5 <[email protected]> * Estate journey: record a blind draw by command (add-draw, point, l2-from-prs); a draw's L2 climb gets its own chart Sixteen blind draws remain. Each one now flows to the journey page and the README's progress slide as a data change, with no hand-editing of journey.json and no code change: - add-draw (T0): the entry (draw, estate, trial, trial_issues), first contact, its chapter before "Next", and every "N draws remain" in the prose recounted - point: one sourced re-measure, L1 (with accounted) or L2; L2 on a blind draw only with the owner amendment recorded (--l2-note); a PR count never goes back, a value never exceeds its total - l2-from-prs: rebuild an L2 series from the merged case PRs via gh (trial PRs = titles citing the trial issues, naming the estate, or a booked cause fix); prints by default, --write replaces - problems() also checks: blind entries name draw and estate, draw numbers unique and within the pre-registered count (estate4_candidates.json), L2 series carry the amendment, prose counts match - the journey page shows a blind draw's L2 series as its own chart (never the L1 overlay); blind 1's is generated here estate_trial_methodology.md gains "Recording a draw"; the estate-trial skill names the commands at T0, in the loop and at close-out. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Progress slide: census row out; the capability ledger shows what the trials made us build Owner review, 2026-11-13: the census rehearsal row read as "L0", which undersold it (13 of 39 whole, 37 accounted); it comes off the slide. What the fresh estates changed in the engine goes on the capability ledger instead, each row computed from the code with a line saying what the trial showed: - Copybook search (new): 17 member layouts the engine and translator both resolve, counted from the COPY layout matrix (#8118). Gap found by Blind 1: 28 of 29 first-contact misses were copybooks - JSON GENERATE / PARSE (new): translated from IBM's text, no oracle (register X77 status read live). Gap found by the census rehearsal (#7524) - Db2 embedded SQL: the 18 further IBM statement keywords each refused by name (#8146, counted from gap_prevalence). Tested by Blind 1: its 17 SQL statements all translated at first contact Also: the meter column moves left so a long unit no longer overlaps its count ("8 / 18 COND jobs"). Co-Authored-By: Claude Opus 5.5 <[email protected]> * Progress slide, owner review: plain blind-panel labels, the four tiles under Results, short titles - a blind panel's label is two lines, "Same output (L2): 0 -> 28 of 29" and "60 PRs · 3.1 days" - the four headline tiles move into the Results section they summarise ("Results: the 129 training programs") - shorter titles: Blind trials, Training codebases, Our own test suites, Results by age of code, Capabilities, Runtime fidelity, Work done (the counts the old titles carried move to the line below) Co-Authored-By: Claude Opus 5.5 <[email protected]> * Fix the full-suite red: ground-truth input check saw docs/language_status as read progress_report now names estate_journey (its journey.json path), so change_classifier counts estate_journey.py as run by the ground-truth job; its main() wrote through a path computed from docs/language_status, which the classifier reads as "every file there" (zos_probes.json, cobol.md ...), and test_ground_truth_plan / test_change_classifier failed. main() now writes PAGE / CHARTS by their constants, capability_ledger.register_status reads the register folder as register() does, and the generated docs_read_by_tests.txt is regenerated (change_classifier.py --write). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UP3D7QYcoYopjzyWpVYcB4 * Regenerate docs_read_by_tests.txt after merging the full-suite fix Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UP3D7QYcoYopjzyWpVYcB4 * estate journey: a rebuild keeps hand-recorded points; refusals where review found crashes Review of #8406 found four defects in the new commands: - l2-from-prs --write replaced the series, dropping Blind 1's closing evidence-report point. Points recorded with 'point' are now kept. - l2-from-prs crashed (StopIteration) on an unknown key or an entry with no trial id, and nothing could set the trial or later sub-issues after add-draw. Both are refused plainly; --trial / --trial-issues record them. - An empty eligible list matched the empty string and credited a program. - point on a development estate wrote a second L2 series that the page build then crashed on. point now records blind draws only. Co-Authored-By: Claude Fable 5.2 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
squid-shepherd Bot
pushed a commit
that referenced
this pull request
Nov 14, 2026
…er, 158 programs (Part of #8073) (#8409) * Progress slide: code we had never seen, first contact then the climb, one slot per blind draw The "where we stand" slide still said no blind codebase had been measured. It now carries the census rehearsal and the blind draws, read from estate_journey/journey.json, the first-try ledger (tests/cobol_mainframe/trials.json, trial.py's own counting rule) and the count of pre-registered draws (estate4_candidates.json, never the names): - three cards: census 8/40 -> 13/39 whole (37/39 accounted, 108 trial PRs); blind draws at first contact 0/29 -> 28/29 whole (25/29 after 5 PRs); first try 23/28 (82%), 28/28 after engine fixes - one panel per pre-registered draw (17), on a shared scale of trial PRs since first contact; a drawn estate shows L2 where cases were allowed, else L1, never both on one axis; the rest read "not yet drawn" - progress.md gets the same numbers with their sources; never in the burned denominator journey.json: blind estate 1 gains its draw / estate / trial link, an L2 series rebuilt from the merged case PRs (0 at first contact, 28/29 at trial PR 46, matching the evidence report of 2026-11-13) and today's L1 reading (28/29). Journal: the 11-12 first-try run, and an 11-13 correction (async credit-card's 11-01 "all 10 at L5" no longer holds; 5 programs at L5 today). The stale-caveat line is dated. Co-Authored-By: Claude Opus 5.5 <[email protected]> * journey.json: blind 1's L2 series from the reproducible trial-PR rule (81 trial PRs, 28/29 at PR 60) The first series came from a gh search capped at 100 results, which missed 14 trial PRs (the #8111-#8113 lessons work). The rule now named in l2_measure_note (titles citing trial_issues, naming the estate, or a booked cause fix) counts 81 trial PRs since first contact; L2 reaches 28/29 at trial PR 60, not 46. The count is conservative: the lessons work is included. trial_issues is recorded on the entry so the series can be rebuilt. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Progress slide, owner review: never-seen section under the tiles, census as a ladder row, days on each draw Owner review of 2026-11-13 (additions to the existing slide, not a redesign): - the "code we had never seen" section moves up, right under the headline tiles and the level key - the census card is gone; the census rehearsal is a ladder row under "All real codebases" (L0 26, L1 13 of 39; no cases, 37/39 accounted, from 8/40 in 108 PRs, 3.3 days), never in the total - a drawn blind panel is two cells wide until WIDE_UNTIL (5) draws are made; the panel key is one line above the grid - each panel ends with the days it took: "L2 0 -> 28/29 in 60 PRs · 3.1 days"; days are computed from the series' own dates (journey_time reads the ET and UTC forms; an unparsed date leaves them out) Co-Authored-By: Claude Opus 5.5 <[email protected]> * Progress slide: census row out; the capability ledger shows what the trials made us build Owner review, 2026-11-13: the census rehearsal row read as "L0", which undersold it (13 of 39 whole, 37 accounted); it comes off the slide. What the fresh estates changed in the engine goes on the capability ledger instead, each row computed from the code with a line saying what the trial showed: - Copybook search (new): 17 member layouts the engine and translator both resolve, counted from the COPY layout matrix (#8118). Gap found by Blind 1: 28 of 29 first-contact misses were copybooks - JSON GENERATE / PARSE (new): translated from IBM's text, no oracle (register X77 status read live). Gap found by the census rehearsal (#7524) - Db2 embedded SQL: the 18 further IBM statement keywords each refused by name (#8146, counted from gap_prevalence). Tested by Blind 1: its 17 SQL statements all translated at first contact Also: the meter column moves left so a long unit no longer overlaps its count ("8 / 18 COND jobs"). Co-Authored-By: Claude Opus 5.5 <[email protected]> * Progress slide, owner review: plain blind-panel labels, the four tiles under Results, short titles - a blind panel's label is two lines, "Same output (L2): 0 -> 28 of 29" and "60 PRs · 3.1 days" - the four headline tiles move into the Results section they summarise ("Results: the 129 training programs") - shorter titles: Blind trials, Training codebases, Our own test suites, Results by age of code, Capabilities, Runtime fidelity, Work done (the counts the old titles carried move to the line below) Co-Authored-By: Claude Opus 5.5 <[email protected]> * Progress slide: blind 1 (example-health-apis) joins the training ladder; 158 programs Owner, 2026-11-13: blind 1 is a pinned development estate since #8157 and has its own evidence report, so it becomes a seventh training row. The headline denominator goes from 129 to 158: 154 translate whole, 154 at L2+, 146 at L4+, 5 at L5. Its panel stays in Blind trials as the first-contact record. - progress_report.gather: a burned estate (estate4_draw.BURNED_NAMES) with a published report counts on the ladder even without a feature inventory; its programs are left out of the era table and reported in eras_undated, never as "no dating clue". Blind 1 has no inventory: its upstream repo is gone from GitHub, so the inventory waits on the pinned clone - ladder_exclusions: new kind clone_defect (a member the published repository does not hold, rule 10 independent clone evidence); HCP1BU01 is one: COPY member LGCMAREA is missing (blind1_remeasure.md) - the slide names the row "Health APIs (Blind 1)" and the era line says its 29 are not dated yet Co-Authored-By: Claude Opus 5.5 <[email protected]> * One-off: generate blind 1's feature inventory and sizes from the CI corpora cache (removed once committed) Co-Authored-By: Claude Opus 5.5 <[email protected]> * Blind 1's feature inventory and estate size, recovered from the CI corpora cache; one-off workflow removed ibm/example-health-apis is gone from GitHub (404) and no clone was left on nyx or melek. The one-off workflow (run 43463469957) restored the CI corpora cache saved 2026-11-09, checked the clone was at the pinned 9cfe321e2028 with no local changes, and produced: - tests/fixtures/feature_inventory/example-health-apis.json, unmodified tool output (feature_inventory.py) - tests/fixtures/estate_size.json re-measured: the six existing estates are byte-identical; blind 1 adds 29 programs, 6.2k lines, 9 copybooks (1 missing: LGCMAREA), 16 JCL jobs, 4 depending on COND / IF The workflow is deleted in this commit. The clone itself is archived in the private repo squid-protocol/example-health-apis-archive (same tree hash, 6951c06d4). With the inventory in place blind 1's programs join the era table (eras_undated is empty again); the two tests that pinned six burned estates now count seven. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Fix the full-suite red: ground-truth input check saw docs/language_status as read progress_report now names estate_journey (its journey.json path), so change_classifier counts estate_journey.py as run by the ground-truth job; its main() wrote through a path computed from docs/language_status, which the classifier reads as "every file there" (zos_probes.json, cobol.md ...), and test_ground_truth_plan / test_change_classifier failed. main() now writes PAGE / CHARTS by their constants, capability_ledger.register_status reads the register folder as register() does, and the generated docs_read_by_tests.txt is regenerated (change_classifier.py --write). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UP3D7QYcoYopjzyWpVYcB4 * Regenerate docs_read_by_tests.txt after merging the full-suite fix Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UP3D7QYcoYopjzyWpVYcB4 * support matrix test: an inventory without a report fixture is allowed (Blind 1) The PR adds example-health-apis's inventory; the report fixtures are still the six estates from before it, so the equality with the inventory fixtures failed. Every reported estate must still have its inventory. Co-Authored-By: Claude Fable 5.2 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
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; owner family #8060).
Checklist: partial [c:e11c3928] -- forms with no burned reader (CONNECT, CALL / ALLOCATE / ASSOCIATE, DESCRIBE, dynamic PREPARE / EXECUTE, SET CURRENT) stay refused by name until a burned program reads one
What changed
#8081 showed the "10 of 58 EXEC SQL: other" were compile-listing copies, not unmodelled verbs. The plan found that no burned estate reads any form the det Db2 path refuses (GenApp's
SET :H = IDENTITY_VAL_LOCAL()assigns a host variable and runs), so there is nothing to prove on real Db2 and, under the burned-only policy, nothing to model. This PR pins the class instead:tests/cobol_mainframe/test_sql_refused_forms_8075.py: each keyword of the census vocabulary (gap_prevalence._SQL_OTHER_VERBS) raisesSqlError(never silently dropped); each_REFUSED_VERBSverb is refused with its name; the vocabulary overlaps no modelled verb.docs/language_status/register/Q4.md: a note recording the finding and the pin.Class / Sibling gaps
Class: EXEC SQL statement forms the det Db2 path refuses by name (
det/sql.py_REFUSED_VERBS, plus census keywords with no repository method). All members are covered by the new test (refused, not dropped). Sibling gaps (modelling, none needed by a burned estate, so frontier scope when filed): dynamic PREPARE / EXECUTE beyond a literal INSERT, DESCRIBE, CONNECT, CALL, ALLOCATE CURSOR, ASSOCIATE LOCATORS, SET CURRENT special registers; census-only keywords GET, MERGE, DROP, etc. Source: register Q4.Facts checked
Grep of the six burned corpora for the refused verbs: only the modelled
SET :H = ...form. Blind clone not re-measured here (#8081's re-measure stands; no engine change).Gates:
pr_gates --fast9/9; time ratchet pass;test_gap_prevalence,test_sql_dynamic,test_survey_hidden_dir_copies_8075pass. No golden bless (no engine change).🤖 Generated with Claude Code