Repository navigation
Graph ledger: verdicts for the next 8 open call/import shapes (Part of #3799) - #6453
Merged
Merged
Conversation
…l constructor patterns are no calls (Part of #3799) Source-read verdicts: rust token_tree<macro_invocation, csharp import under #if NET20, cpp declaration<compound_statement (GitGalaxy right); dart generic argument_part, haskell apply/{constructor,variable,apply} (GitGalaxy missed); dart formal_parameter<optional_formal_parameters (GitGalaxy wrong). Harness fix: call_graph_accuracy.py no longer counts a haskell constructor pattern as a tree-sitter call (C3). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
5 of 6 tasks
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 12:37
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 24, 2026 12:44
Owner
Author
|
No description provided. |
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 #3799. Next 8 largest open call/import shapes in
graph_comparison_ledger.json, after #6436.What changed
token_tree<macro_invocation(222, GitGalaxy right), csharp importtruth-sees-no-import-in-file(102, GitGalaxy right: theusingsits under#if NET20, a real build variant, C8), dartargument_part/-+generic(88, GitGalaxy missed), haskellapply/constructor(69),apply/variable(68),apply/apply(53) (all GitGalaxy missed), cppdeclaration<compound_statement(59, GitGalaxy right), dartformal_parameter<optional_formal_parameters(51, GitGalaxy wrong).graph_coverage_chart.py --write,--checkcurrent).call_graph_accuracy.py: a haskell constructor pattern (clause, case alternative, lambda, do-bind) is no call (C3) and is no longer counted as a tree-sitter call. Test added.--cipasses without a baseline regen.Gates
audit_check.pyall clear,pr_gates.py --fast7/7, graph ledger/accuracy/chart/tri-comparison tests 94 passed,call_graph_accuracy.py --ciOK.Class / Sibling gaps
Engine defects confirmed (churn files the issues; none needs a burned-estate program): dart generic invocations
f<T>(x)dropped; dart type names in optional/named parameter lists counted as callees; haskell function application by juxtaposition and constructor application missed; cpp declared type names with=initializers counted as callees (constructor-style initializers are correct); rust tokens in pattern positions insidematches!-style token trees counted as calls. Same-mechanism siblings still open: dartnot-a-callshapes in other parameter lists, haskellapplyunder operators/sections, cpp otherdeclaration<parents, rusttoken_tree<token_tree(47). The csharp shape needs no engine change.Lessons for agents
import_graph_accuracy.py csharpneedsIMPORT_GRAPH_CORPUS_PATHset explicitly, else "not fetched".--bucketscaps ~28 examples per shape: callc.measure(c.CRUCIBLE, 0, 100000)from a scratch script to read every occurrence.🤖 Generated with Claude Code