Repository navigation
DOOM check 7: managed-doom, mochadoom, cssdoom pass call-graph (Part of #6266) - #6291
Conversation
…eck (Part of #6266) Java sizeof() is a method not a keyword; the tree-sitter oracle reads bound function expressions as their own units and C# built-in type names as references. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6291 @ 756e132: 1 failed check(s) == shard 1 (1669449 LOC) (failure) -- real |
…#6301) cssdoom, mochadoom, managed-doom, sqldoom: callgraph-only drift (recall, misses, unscored/engine_only, fails, verdict). Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Part of #6266 (Track B). Takes managed-doom, mochadoom and cssdoom to 0 misses / 0 scored engine-only on DOOM-rosetta check 7, so
callgraphleaves theirexpected_fails.Owner decisions
Owner OK (2026-10-23): Track B as above (tree-sitter oracle on the 6 non-C/C++ ports failing check 7, post the per-shape breakdown on #6266, fix the smallest-to-finish ports first: managed-doom, mochadoom, cssdoom; one PR, tests, golden re-bless).
Shape breakdown for all 6 ports: #6266 (comment)
What changed
filelump_t.sizeof()dropped:sizeofis in the global calls-out ignore setdetector.pyjavaadded to_CALLS_OUT_GLOBAL_IGNORE_NOT_KEYWORDS(alsoalignof,decltype,def,function,using,include,require,typeof: none is a Java keyword)window.f = () => {..}is a function the engine names and owns the calls of; the oracle folded them into the enclosing functionts_callgraph_oracle.Spec.is_unit: a function expression bound by assignment / declarator / pair is its own unitnew string(..)beside a useroperator string: oracle did not read the built-in type namepredefined_typeread as a name, so the edge is reported (kindfunction-pointer, unscored), notabsentVerified with real scans of the three ports (commit
148e7f520+ this change; mochadoom needed a fresh scan dir, the harness skips a dir that hasrc.txt): mochadoom PERFECT, managed-doom and cssdoom 0 misses / 0 scored engine-only. Tests:tests/extraction/languages/test_calls_out_java_sizeof_6266.py(engine, incl. resolver and C unchanged), two oracle tests intests/doom_rosetta/test_doom_rosetta.py.Golden
crucible_check.py --update --yesvia golden-lock: no drift in either fixture (no Java.sizeof(in the crucible), nothing to re-bless.Class / Sibling gaps
Class: a call-graph shape that makes a non-C/C++ port fail check 7 (engine call extraction or oracle attribution). Done here: the three smallest ports above. Gaps (not in this PR, different mechanisms): Python function body ends at its first multi-line triple-quoted string (mood 9 misses, sqldoom 68 misses, engine); helion (59 misses + 9
absent, C#, shape not yet read); the 11 C/C++ ports (separate oracle).callgraphstays inexpected_failsfor mood, sqldoom, helion.Checklist: partial [c:a1f0d74e] -- breakdown posted for the 6 non-C/C++ ports only; the 11 C/C++ ports are not covered
Checklist: partial [c:9e7fe6a3] -- three shape classes fixed with tests; the Python triple-quote shape, helion and the C/C++ shapes remain
Checklist: partial [c:0254d813] --
callgraphdropped for managed-doom, mochadoom, cssdoom only (14 of 17 left); nightly not yet run with this changeChecklist: partial [c:84996f5e] -- PERFECT count not posted yet; three more ports reach PERFECT-or-unscored-only on check 7 but the seven-check tally needs the nightly
Gates
pr_gates --fast7/7.--ratchets: 8 pass;portsFAILS locally only because the shared/home/joe/gitgalaxy/cics-cruciblecheckout is on 3ca75ae, not the pinned v0.10.0 (not touched, nothing here changes ports). Local ruff 0.16 vs CI 0.17.1 warning: formatted with the cached 0.17.1 binary.Lessons for agents
doom_speedrun.py scan/runsilently reuses a scan dir that hasrc.txt: after an engine change delete<work>/scans/<sha>/<port>/rc.txt(or the dir) before re-scoring, else the oracle reads the stale scan.pr_gates --fastlint did not flag a long line thatruff format --check(cached 0.17.1) did: run the format check on changed files.🤖 Generated with Claude Code