Skip to content

Graph ledger: verdicts for the next 8 open call/import shapes (Part of #3799) - #6453

Merged
squid-protocol merged 1 commit into
mainfrom
churn/3799-20261024T1218Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/3799-20261024T1218Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3799. Next 8 largest open call/import shapes in graph_comparison_ledger.json, after #6436.

What changed

  • Hand-set verdicts from source for 8 shapes: rust token_tree<macro_invocation (222, GitGalaxy right), csharp import truth-sees-no-import-in-file (102, GitGalaxy right: the using sits under #if NET20, a real build variant, C8), dart argument_part/-+generic (88, GitGalaxy missed), haskell apply/constructor (69), apply/variable (68), apply/apply (53) (all GitGalaxy missed), cpp declaration<compound_statement (59, GitGalaxy right), dart formal_parameter<optional_formal_parameters (51, GitGalaxy wrong).
  • Chart regenerated (graph_coverage_chart.py --write, --check current).
  • Harness fix in 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. --ci passes without a baseline regen.
  • Perl shapes (79, 77, 54...) skipped: Call graph (perl): calls without parentheses (Part of #6433) #6437 merged and Call graph (perl): die, or/and anchors, split, block and hash args (Part of #6433) #6449 is open, so they are in flux.

Gates

audit_check.py all clear, pr_gates.py --fast 7/7, graph ledger/accuracy/chart/tri-comparison tests 94 passed, call_graph_accuracy.py --ci OK.

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 inside matches!-style token trees counted as calls. Same-mechanism siblings still open: dart not-a-call shapes in other parameter lists, haskell apply under operators/sections, cpp other declaration< parents, rust token_tree<token_tree (47). The csharp shape needs no engine change.

Lessons for agents

  • import_graph_accuracy.py csharp needs IMPORT_GRAPH_CORPUS_PATH set explicitly, else "not fetched".
  • --buckets caps ~28 examples per shape: call c.measure(c.CRUCIBLE, 0, 100000) from a scratch script to read every occurrence.

🤖 Generated with Claude Code

…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]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 12:37
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 12:44
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 5b0f46f into main Oct 24, 2026
53 checks passed
@squid-protocol
squid-protocol deleted the churn/3799-20261024T1218Z branch October 24, 2026 13:12
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