Repository navigation
Call resolver: JVM package split over source sets is visible without an import (java recall 64.9% -> 71.5%) (Part of #3772) - #6409
Merged
Conversation
…ible without an import (Part of #3772) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ckages (Part of #3772) 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 07:52
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 24, 2026 07:58
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 #3772 (compiler call-graph comparison). Language picked: Java, the largest absolute gap against its reference (gson vs scip-java: 2,757 missed of 7,858 edges).
What changed
call_resolver.py: in java/kotlin/scala/groovy a package split over a module's source sets (m/src/main/java/pandm/src/test/java/p) was two directories, sonew Gson()or a bare call from a test to a same-package class wasambiguous/unseen, never an edge. A new_package_dirmaps both to one module-aware package key (pkgon_File/_Definition), used for the visibility checks only (_nearest_local,_visible_receiver,_other_visible_class, theunseenguard). Nearest-by-path ranking is unchanged; Go and C# keep directory = package.Agreement before / after (java, gson vs scip-java 0.12.3)
ambiguous/unseenambiguous/receiverambiguous/overloadwrongexternalClass / Sibling gaps
Class: JVM-family same-package visibility computed per directory instead of per package. Covered: java, kotlin, scala, groovy (tested for each), plus the other-module / other-package / Go guards. Sibling gaps (none needs a burned mainframe estate):
ambiguous/overload1,754: same-arity overloads need argument-type discrimination (different mechanism).ambiguous/receiver221: chained receivers (getAsJsonObject().get()) need receiver typing.not_extracted/same_name119:this(...)/ overloadedfromJson(...)calling a sibling overload is dropped like recursion (detector calls_out).packagedeclarations would replace the path heuristic (non-Maven layouts fall back to the directory).network_risk_sensorsame-package import edges may share the directory assumption (unchecked).Gates
Focused tests 366 passed;
pr_gates --fast7/7;--ratchets9/9;crucible_check.pypasses in both legs with no golden drift (no bless needed).Cross-repo: none.
🤖 Generated with Claude Code