Repository navigation
Estate-crucible scorer: a DSNUTILB statement runs until the next utility verb, H-0124 passes (Part of #7065) - #8823
Merged
Conversation
…ity verb, H-0124 passes (Part of #7065) 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 #7065 (Batch Badlands, slice: the BDLD scorer's Db2 utility statements)
Checklist: partial [c:e739f1dd]
What
At the pinned estate-crucible (v0.8.0) the Batch Badlands level had one failing check: horror H-0124 (
BDLDUT5.jclRUN030, DSNUTILBRUNSTATS TABLESPACE BDLDDB.BDLDTS/UPDATE SPACE). The scorer's_cardsreader only continues a statement on a trailing-,,or+, so it read the second line as a separate statement and compared the key's operands against a truncated first line. Db2 online-utility control statements are free-form (no continuation mark; a statement runs until the next one begins), so the key is right and the scorer was wrong: this is a scorer defect, not an engine one (the engine keeps the INSTREAM body as written).tests/tools/estate_crucible.py: new_db2_utility_cards, used for DSNUTILB steps. A statement runs until a line starting with a Db2 utility verb;--comment lines are skipped even mid-statement;REPORTstarts a statement only before TABLESPACE / TABLESPACESET / RECOVERY (REPORT YESis a RUNSTATS / REORG option).Result (scan of the pinned crucible, 2026-11-21)
estate_crucible_gate.py: 0 regressions, 3 improvements: H-0124 FAIL -> PASS,jcl_utility_cardspass 75 -> 76, the RUNSTATS @25 check passes. Horrors 116/122 (was 115/122). The six still failing are not Batch Badlands (H-0061, H-0062, H-0096, H-0117, H-0118, H-0119). Baseline regenerated with--update-baseline; no other line moved.Class / Sibling gaps
Class: control-deck statement shapes the scorer's
jcl_utility_cardsreader must split the way the utility does, per utility. Handled: IDCAMS and ADRDSSU (hyphen), DFSORT / ICETOOL (comma), TSO SYSTSIN (+/ hyphen), BPXBATCH, and now DSNUTILB free-form statements (this PR: 3 statement shapes tested, plus a negative case for a cut statement). Sibling gaps (different mechanism, none planted in BDLD at v0.8.0, so no key to score): IEBGENER / IEBCOPY / IEBUPDTE column-72 continuation; DSNUTILBLISTDEF/TEMPLATEblocks andEXEC SQL ... ENDEXECbodies (EXEC is a verb, its SQL text is operands); the first-time-run row in estate-crucible'sdocs/levels/batch-badlands.mdstill says "pending" (cross-repo docs change on the estate-crucible side; levels.json here already records the 2026-11-04 run).Remaining slices
Estate-crucible docs PR for the BDLD first-run table; a BDLD re-measure after the later horrors (the recorded first run covers 21 horrors, the pin holds more); the forged-job slices of #4891 (PR #8821 and its listed follow-ups); utility runtime (#4890) support slices, which start only after the first-time run is recorded.
Files (2 hand-written, 1 regenerated)
tests/tools/estate_crucible.py,tests/estate_crucible/test_estate_crucible_scorer.py;tests/estate_crucible/baseline.jsonregenerated.Gates
pytest tests/estate_crucible tests/test_source_reads.py: 145 passed.audit_check.py: ruff, mypy, dead-key, doc-refs, ast-accuracy, signal-coverage all clear;ruff format(pinned 0.17.4) clean. No parsing logic touched, no golden bless.pr_gates --ratchetsnot run (scorer and baseline only).🤖 Generated with Claude Code