You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the #3332 Level-1 benchmark (tests/tools/call_graph_accuracy.py): ruby's calls_out recall against tree-sitter is 33.7% (every other measured language is ≥85%).
CALLS_OUT_C_STYLE needs name(. Idiomatic Ruby calls without parentheses (puts x, xs.each do, obj.to_s), and its method names can end in ?/!.
Under the #3327 contract these are all invocations. Fix shape: a ruby-local calls_out pattern with a [?!]? suffix, plus receiver-dot calls without parens (\.name\b after an identifier). Keep precision by never matching bare paren-less words: Ruby cannot tell foo the local variable from foo the call without a symbol table. Measure with call_graph_accuracy.py before and after.
Activity
Benchmark call-graph accuracy (#3332) + two resolver fixes it found (#…
fix(ruby): calls without parentheses, ?/! names, and methods owned by…