Repository navigation
Call-graph accuracy: measure solidity, apex (Part of #3641) - #6415
Conversation
Step 2 of the epic, calls half. call_graph_accuracy.py scores callee names for two more
tree-sitter-comparable languages. Harness fix: solidity `t.call{value: v}(d)` names the call,
not the `value` field. Apex needed none (method_invocation / object_creation_expression already
resolve). Baseline and ledger seeded (new shapes only, all unvalidated).
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
…dger and chart Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
CI shepherd: the head of this PR (ba7bcaf) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
…dger and chart Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
|
No description provided. |
Part of #3641 (step 2, calls half). Checklist: none named.
What
call_graph_accuracy.pynow measures solidity and apex (the kotlin/lua/scala/swift group the brief named was already merged in Call-graph accuracy: measure kotlin, scala, swift, lua (Part of #3641) #6396; zig/dart/haskell/perl in Call-graph accuracy: measure zig, dart, haskell, perl (Part of #3641) #6401).t.call{value: v}(d)is astruct_expressioncallee; it now namescall, notvalue. Apex needed no change.graph_comparison_ledger.jsonregenerated; only solidity/apex entries added, existing entries untouched. The committed ledger had duplicate JSON keys, so re-serialising it shows a large line diff with no content change to other languages.gitgalaxy/change: no golden bless needed.Class / Sibling gaps
Class: tree-sitter-comparable languages that
call_graph_accuracy.pydoes not score (a missingLANGSentry plus grammar-specific call-node and callee-name handling).LANGSLANGScall{value: v}(d); test addedcommandcallee extractor and a ruling on what counts as a call; different mechanismfunction_call,call_statement,message_expression, list forms); different mechanismSibling gaps need no burned-estate program (none of these languages is mainframe), so their scope is sweep.
Gates
pytest tests/tools/test_call_graph_accuracy.py: 53 passedcall_graph_accuracy.py --ci: OKaudit_check.py: all clear (ruff, mypy, dead-key, ast-accuracy)Cross-repo
None. Overlaps another in-flight PR only on
graph_comparison_ledger.json/graph_coverage_chart.svg: whichever lands second regenerates both (--regenerate,--ledger) after merging main.Remaining slices
Groovy, powershell, tcl (command-position grammars, need a
commandcallee extractor and a ruling on what counts); matlab, fortran, objective-c, scheme (own call nodes); ada, makefile (grammar not probed). No burned-estate program needs any of them.Lessons for agents
graph_comparison_ledger.jsoncarries duplicate keys;--ledgerrewrites the whole file. Restore old entries and keep only the new language's to scope the change.chart.svgis not regenerated by--ledger; check whether it needsgraph_coverageregeneration.🤖 Generated with Claude Code