Repository navigation
DOOM-rosetta: tree-sitter call-graph oracle covers kotlin; kocoa-doom scored (Part of #5874) - #6422
Conversation
… scored (Part of #5874) kocoa-doom: recall 0.9970, precision 0.9998, 14 misses (user functions called with only a trailing lambda, e.g. ifKey { }); expected_fails gains callgraph. A trailing-lambda-only call of a Kotlin stdlib scope function (run, map, ...) is no call: by name it collides with the port's own run() overrides. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6422 @ a77032c: 1 failed check(s) == shard 4 (1666524 LOC) (failure) -- real |
…tlin only (Part of #5874) It had dropped map/run/with calls from JS/Go/Rust call_expression too, moving sqldoom's golden. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (5e5ee0c) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
Part of #5874 (check 7, item 3: oracles for more languages).
What
ts_callgraph_oracle.pynow covers kotlin (function declarations, secondary constructors,initblocks; call callee = first named child,a.b.f->f). kocoa-doom goes fromn/ato scored: recall 0.9970, precision 0.9998, 14 misses, 1 unscored engine-only. The 14 misses are user functions the engine does not see when they are called with only a trailing lambda (ev.ifKey { .. }). kocoa-doom is added toexpected_fails(callgraph); golden re-blessed for kocoa-doom only (7 callgraph/verdict fields, nothing else).Convention (stated in the README): a trailing-lambda-only call of a Kotlin stdlib scope/iteration function (
run,with,apply,let,also,repeat,times,map,filter,forEach, ...) is no call. By bare name it collides with the port'srun()overrides (81 false misses on kocoa-doom before this). A user function called the same way still counts.Class / Sibling gaps
Class: DOOM-rosetta ports with no check-7 oracle (
n/a). Handled here: kotlin (kocoa-doom). Not handled, each a different mechanism:n/a.selectornodes after the callee identifier and the signature is separate from the body: needs its own walker.n/a(a shown pass, not silent).type/function-pointeredges: owner's open question, kept unscored.callgraph_baseline.jsonrefresh for the C/C++ ports that moved: separate slice.Evidence
doom_rosetta_check.py --only kocoa-doom: drift was exactly the 7 callgraph fields before bless.init/constructor units and trailing-lambda calls.tests/doom_rosetta+test_doom_speedrun.pypass (the 44 skipped are the opt-indoom_rosettamarker).pr_gates --fast: 7/7;pr_gates --ratchets: 9 pass, 0 fail, 0 skipped.🤖 Generated with Claude Code