Repository navigation
Call graph (perl): calls without parentheses (Part of #6433) - #6437
Merged
Merged
Conversation
…ins, statement-opening commands (Part of #6433) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 09:59
Contributor
Owner
Author
|
No description provided. |
This was referenced Oct 24, 2026
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 #6433 (first listed shape: calls written without parentheses).
What
CALLS_OUT_PERL(new,_shared_patterns.py, inQUALIFIED_CALLS_OUT_PATTERNS) replacesCALLS_OUT_C_STYLEfor perl. A name is a call when it follows->, is followed by(with no sigil, is a bare unary/list built-in (shift,delete $h->{k},keys %h; not a hash key), or opens a statement / follows=,(,!,,,&&,||,returnwith an argument start (blessed $x,plan tests => 4). A bare word is never a call. Same approach as Ruby #3377.Class table
->method(method_call_expression)&$code, indirect object, calls in string interpolationEvidence
call_graph_accuracyperl vs tree-sitter: recall 56.6% -> 94.7%, precision 87.9% -> 94.3% (tp 2573 -> 4305, fn 1971 -> 239, fp 353 -> 262). Baseline regenerated; only perl moved.Golden re-bless (both legs,
golden-lock.sh crucible_check.py --update --yes): drift is perl files only, in Calls Out To, fan in/out, pagerank, graph, llm_brief -- the new call edges.Gates: new test file +
test_perl*green,audit_check.pyall clear,pr_gates.py --fast7/7.Checklist: none named on the issue.
Cross-repo: none.
Lessons for agents
Pythonre lookbehinds need fixed width per alternative: split into separate(?<=...)branches rather than one alternation inside a lookbehind.🤖 Generated with Claude Code