Skip to content

COPY census: the qualified cause is the COPY statement own OF/IN library (Part of #8111) - #8160

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8111-20261109T0454Z
Nov 9, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8111-20261109T0454Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8111 (slice 8). Test-side only: no engine change, no golden drift.

What

copy_resolution_census.cause_of labelled a hold-less neither member qualified by regexing the whole file for MEMBER OF|IN . A data-name qualifier (MOVE X OF REC) or the same member copied elsewhere with OF matched, so unqualified COPY x of an absent member was counted as an OF/IN case. It now takes the COPY statement's own library: qualified only 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, plain read the held path shape and need no change (existing parametrized test).
Sibling gaps:

Checklist: partial [c:43ee243d] -- 11 extensionless misses await #8155; 2 ambiguous plain refused; 506 absent are clone faults

Gates

pr_gates.py --fast 9/9, --ratchets 9 pass 0 skipped, tests/test_copy_resolution_census 25 passed, tree-wide guards pass, pinned ruff format clean.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 9, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 9, 2026 05:17
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 9, 2026 05:18
@squid-shepherd
squid-shepherd Bot merged commit 24e55be into main Nov 9, 2026
63 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8111-20261109T0454Z branch November 9, 2026 13:13
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