Skip to content

Graph comparison ledger: verdicts for 8 call shapes, largest first (Part of #3799) - #6406

Merged
squid-protocol merged 2 commits into
mainfrom
churn/3799-20261024T0731Z
Oct 24, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/3799-20261024T0731Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3799.

What

Verdicts for 8 open call shapes in docs/self_scan/graph_comparison_ledger.json, largest first, each from reading the recorded examples against the crucible source (not the counts). The chart SVG is regenerated. No engine, harness or count-field change.

shape n verdict credit
scala engine-attributes-to-another-function 252 X[T]() and brace-block calls missed tree_sitter
swift call_expression/- 82 trailing-closure calls missed tree_sitter
typescript call_expression/member_expression 78 module.if( (reserved-word method) dropped tree_sitter
ruby call/identifier 58 paren-less receiver calls missed tree_sitter
python engine-attributes-to-another-function 47 calls in f-string fields missed tree_sitter
kotlin call_expression/- 3 trailing-lambda calls missed tree_sitter
scala case_class_pattern<case_clause 44 pattern, not a call (C3) none
cpp field_initializer<field_initializer_list 94 data members taken as callees; base-class init is a minority none

Left open on purpose (mixed shapes, one verdict would be wrong)

  • rust token_tree<macro_invocation (214): mostly real calls inside macro arguments, but matches!(g, GenericParam::Lifetime(_)) is a pattern.
  • c call_expression/parenthesized_expression (48): (*getter)(x) is a call, (Py_ssize_t)(expr) is a cast tree-sitter mis-parses.
  • cpp declaration<compound_statement (59): MutexLock lock(m) is a ctor call, bool x = F() emitting bool is not.
    These need a split in the shape's cause label (harness), not a blanket verdict.

Cross-repo

None. Overlaps PR #6401 (same ledger and chart); it will likely merge first, so rebase and regenerate the SVG with graph_coverage_chart.py --write.

Gates

Ledger/chart/call-graph tests: 58 passed. graph_coverage_chart.py --check: current.

🤖 Generated with Claude Code

…art of #3799)

Read the recorded examples against the crucible source for the scala,
swift, typescript, ruby, python, kotlin and cpp shapes and record the
verdicts. Six are tree-sitter-right recall gaps (credit tree_sitter), two
are GitGalaxy-wrong (scala case patterns, cpp member initializers; no
credit). Engine is untouched.

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 07:40
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 07:40
…731Z

# Conflicts:
#	docs/self_scan/graph_coverage_chart.svg
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (205bfb6) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 78103bf into main Oct 24, 2026
30 checks passed
@squid-protocol
squid-protocol deleted the churn/3799-20261024T0731Z branch October 24, 2026 08:24
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