Repository navigation
JCL keyword-family oracle: an EXEC step read through job_flow's statement reader (Part of #8863) - #9388
Merged
Conversation
…ment reader, 7 families scored on the pinned crucible (Part of #8863) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…he module docstring Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Nov 26, 2026
Open
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 #8863. Adds a JCL oracle to the keyword-family validity harness: an EXEC step is the function, read through
gitgalaxy/core/job_flow.py::_statements(continuations joined, comments and in-stream data skipped), independent of the engine's per-family regexes.Checklist: partial [c:d579dfb3] -- HLASM oracle
What changed
tests/tools/family_oracle_jcl.py(new): families branch, args, io, sync_locks, cleanup, safety, danger; readings written from the contracts and IBM's JCL Reference before the first run, recorded in the module docstring.family_oracle.get_oracleandfamily_oracle_sweep.languages(); 10 unit tests intests/tools/test_family_oracle_jcl.py(continuations, unnamed EXEC, comments, in-stream data, IF/ELSE, PROC/PEND, DISP forms,&&temporaries, COND forms).jclcells on language-crucible v1.9.0 (345 of 376 scan rows matched; the 31 unmatched are the engine's per-fileUnknown_Blockrows, not steps); the two family-validity SVGs regenerated.Measured (pinned crucible, oracle vs engine)
The red cells (branch, safety, danger precision) are baseline findings; no engine rule is changed here, so no golden moves.
Class / Sibling gaps
Class: languages that are not tree-sitter grammars and have no keyword-family oracle, so their grid cells stay gray. JCL (the burned estates' largest non-COBOL material: CardDemo, CBSA, GenApp, zECS, DBB) is done here with all seven families the engine has a JCL rule for.
Sibling gaps:
det/hlasm.py::statements()); burned-estate need is small (CardDemo and zECS.asm). Not here: a different statement reader and a separate reading set.assembly/agc_assembly: no burned estate.docs/family_oracle_readings.md(the 5-file cap kept it out; the readings are infamily_oracle_jcl.py's docstring).Gates:
pr_gates --fast9/9 pass;audit_check.pyall clear;pytest tests/tools/test_family_oracle*.py426 passed.Lessons for agents
family_oracle.py --srcmust be the directory the scan was run on when scanning a subdirectory of the crucible (data/jcl), or every row is "unmatched".🤖 Generated with Claude Code