Skip to content

Estate-crucible scorer: a DSNUTILB statement runs until the next utility verb, H-0124 passes (Part of #7065) - #8823

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7065-20261121T0217Z
Nov 21, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7065-20261121T0217Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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.jcl RUN030, DSNUTILB RUNSTATS TABLESPACE BDLDDB.BDLDTS / UPDATE SPACE). The scorer's _cards reader 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; REPORT starts a statement only before TABLESPACE / TABLESPACESET / RECOVERY (REPORT YES is 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_cards pass 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_cards reader 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; DSNUTILB LISTDEF / TEMPLATE blocks and EXEC SQL ... ENDEXEC bodies (EXEC is a verb, its SQL text is operands); the first-time-run row in estate-crucible's docs/levels/batch-badlands.md still 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.json regenerated.

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 --ratchets not run (scorer and baseline only).

🤖 Generated with Claude Code

…ity verb, H-0124 passes (Part of #7065)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 21, 2026 02:46
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 02:50
@squid-shepherd
squid-shepherd Bot merged commit 10ae70a into main Nov 21, 2026
71 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7065-20261121T0217Z branch November 21, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant