Repository navigation
COBOL copy resolver: same-stem sibling and .copybooks dot-dir classes (Part of #8111) - #8134
Merged
Merged
Conversation
…-different member; .copybooks dot-dir library scanned (Part of #8111) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
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 #8111
Checklist: done [c:469b20a7]
What
The copybook-resolution census (tool from #8123) found 22 engine misses on the non-candidate corpus_cobol repos (burned estates: 0). Two resolver classes fixed:
output.txt) elsewhere in the repo hid a case-different member (copy/OUTPUT): stage 1 took the exact-case key, so the case-folded retry never ran. The fold now retries the importer-language map when no exact candidate is in the importer's language (or a language members are generated from)..copybooks/<profile>/<dataset>/dot-directory library was dropped by the aperture hidden-path gate. Only the directory is exempt; dot-named files inside stay blocked.Evidence
crucible_check.pyboth legs PASS with no re-bless.tests/cobol_mainframe/test_copy_resolution_classes_8111.py(13 tests, invented names, real engine andcensus_repo): mixed case,copy/COPY, six sibling kinds, own-language sibling still wins,.copybooksdepth 1-3 with dotted dataset dirs, dot-named file still blocked.Sibling gaps (not fixed)
.inc/ other MEMBER_EXTS not registered as COBOL;COPY x OF lib; other dot-dir conventions (no miss observed).Changed from the plan
The che4z
testing/,v1/,copybooks/extensionless misses were assumed to be the stem-collision class; they are not (no same-stem siblings), so they are the weak-body gap. 13 misses remain. The planned extra test intest_copy_resolution_census.pywas dropped: the new file already runscensus_repo.Lessons for agents
_check_ignore_rulesalso gates directories (evaluate_dir_integrity): a path-part exemption must treat the last part as a directory there.GITGALAXY_DISABLE_GIT_HISTORY=1for non-golden pytest runs: it fails 3 chronometer tests.🤖 Generated with Claude Code