Repository navigation
calls_out (JVM): generic constructor calls; JVM graph-ledger verdicts (#3799, #4124) - #4131
Merged
Merged
Conversation
… verdicts (#4124, #3799) - CALLS_OUT_C_STYLE_GENERIC_NO_ANNOTATION: C1 annotation guard plus a type-argument list (diamond included) before `(`. java, kotlin and groovy use it. Java Level-1 FN 35 -> 0, FP 0. - scip_callgraph: a class reference (`new T<X>() {}`) picks the constructor by argument count, not the last one. On gson this was 137 false wrong-overload links. Java L2: 92.7 -> 93.2 precision, 41.0 -> 44.2 recall. - Ledger: java generic_type+generic and kotlin truth-names-several-files are validated, credit tree_sitter (#4124 fixed here, #4125 open). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
30 function calls_out_to entries in both fixtures (19 java, 10 groovy-corpus java, 1 kotlin): new HashMap<..>(), new ArrayList<>(), ArrayDeque<T>() now captured. No topological ripple, no file newly parsed or excluded. Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # tests/call_graph_resolution_java_baseline.json
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.
Refs #3799. Closes #4124.
Verdicts
java/call/object_creation_expression/generic_type+generic/agree[tree_sitter]_vs[gitgalaxy](35)new HashMap<K,V>(), the diamond, anonymous subclasses). Fixed here (#4124).tree_sitterkotlin/import/truth-names-several-files/agree[tree_sitter]_vs[gitgalaxy](1)toKModifier, which is overloaded across Modifiers.kt and Visibilities.kt, and the importing file uses both. Engine defect #4125, left open: it needs a design call.tree_sitterChanges
CALLS_OUT_C_STYLE_GENERIC_NO_ANNOTATIONfor java, kotlin and groovy. A standalone run over every crucible JVM file gained 53 java, 7 kotlin and 8 groovy captures. All of them are real calls, and no existing capture was lost.TypeToken()links as wrong overloads.WIP / left to do
pr_gates.py. So far only the targeted tests have passed: extraction tests for java/kotlin/groovy/3359/3644/4124, and test_scip_callgraph.🤖 Generated with Claude Code