Repository navigation
COPY census: the qualified cause is the COPY statement own OF/IN library (Part of #8111) - #8160
Merged
Merged
Conversation
…brary (Part of #8111) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Closed
4 tasks done
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 (slice 8). Test-side only: no engine change, no golden drift.
What
copy_resolution_census.cause_oflabelled a hold-lessneithermemberqualifiedby regexing the whole file forMEMBER OF|IN. A data-name qualifier (MOVE X OF REC) or the same member copied elsewhere with OF matched, so unqualifiedCOPY xof an absent member was counted as an OF/IN case. It now takes the COPY statement's own library:qualifiedonly when the COPY names one.Measured (
copy_resolution_census.py --by-group, burned + non-candidate corpus, counts only), before -> after:The 17 "qualified" members were all unqualified COPYs of members the repo does not hold; #8153 (merged) left no OF/IN resolver gap.
Class / Sibling gaps
Class: census cause labels derived from text heuristics instead of the statement or held path. Members:
qualified(fixed here, tested for OF, IN, data-name qualifier, EXEC SQL INCLUDE, same member copied both ways);absent,dot-dir,extensionless,other-ext,lower-case,plainread the held path shape and need no change (existing parametrized test).Sibling gaps:
vendoredclass), not here; both PRs touchcopy_resolution_census.pyand its test in different hunks; merge main after COPY census: parent-dir library members, procedural fragments, vendored class (Part of #8111) #8155 lands.Checklist: partial [c:43ee243d] -- 11 extensionless misses await #8155; 2 ambiguous plain refused; 506 absent are clone faults
Gates
pr_gates.py --fast9/9,--ratchets9 pass 0 skipped,tests/test_copy_resolution_census25 passed, tree-wide guards pass, pinned ruff format clean.🤖 Generated with Claude Code