Skip to content

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

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3799. Records verdicts for the 8 largest open (non-perl) call shapes in docs/self_scan/graph_comparison_ledger.json, each from reading the recorded examples against the pinned corpus source. No engine or harness change.

shape count verdict
haskell engine-attributes 33 GitGalaxy missed: qualified (T.null, BL.writeFile), guard-applied and point-free calls
typescript call_expression/identifier 32 missed: template-interpolation calls, optional calls f?.(), call in a returned arrow fn
scala call_expression/field_expression 32 missed: brace-lambda method calls (xs.flatMap { ... }), interpolated calls
dart engine-attributes 27 missed: calls in ${...} interpolation, calls with type arguments (map<String>(...))
c engine-attributes 27 missed: (*func)(self, ...) function-pointer calls (same gap as the earlier parenthesized_expression verdict)
python not-a-call class_definition<block 30 GitGalaxy wrong: a nested class Model(BaseModel): header read as a call
cpp not-a-call operator_cast<qualified_identifier 24 GitGalaxy wrong: Variant::operator Array() const { header read as a call to Array
javascript engine-attributes 29 mostly tree-sitter wrong (20): Flow annotations make tree-sitter's updateHostRoot span lines 1800-2173 and swallow later functions; 9 are real engine misses (no credit: majority decides)

Perl shapes skipped (the earlier handoff marks them stale). graph_coverage_chart.svg regenerated after merging main.

Class / Sibling gaps

Class: unvalidated call-shape discrepancies in the graph ledger (GitGalaxy vs tree-sitter); all 8 members covered, recorded by the same mechanism. Sibling gaps: (1) the javascript shape mixes two causes under one key (20 tree-sitter Flow span errors, 9 engine misses); the harness could label a function node that spans a sibling function as fp:ts-parse-error so the shape splits. (2) The engine gaps named above (parenthesised/function-pointer callee in C and JS, interpolation and optional calls in TS/Dart/Scala, brace-lambda calls in Scala, qualified and point-free Haskell calls, class and conversion-operator headers read as calls in Python and C++) are engine fixes, not done here.

Gates

pr_gates --fast 7/7, --ratchets 9/9 pass; test_graph_ledger, test_graph_coverage_chart, test_call_graph_accuracy 72 passed. Raw --ci baseline unaffected (ledger-only change).

🤖 Generated with Claude Code

Haskell, TypeScript, Scala, Dart and C: GitGalaxy missed real calls
(qualified/point-free, interpolation and optional calls, brace-lambda
methods, function pointers). Python nested class headers and C++
conversion-operator headers: GitGalaxy wrong. JavaScript: mostly a Flow
parse in tree-sitter.

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 14:40
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 14:41
@squid-protocol
squid-protocol merged commit bda50dd into main Oct 24, 2026
51 checks passed
@squid-protocol
squid-protocol deleted the churn/3799-20261024T1426Z branch October 24, 2026 15:03
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