Repository navigation
Re-bless DOOM-rosetta and refresh the call-graph accuracy baseline after #6793 (Part of #6266) - #6799
Conversation
…ersion-operator decisions (Part of #6266) cpp recall 99.7 -> 99.0 (FN 24 -> 77), precision 96.6 -> 98.2 (FP 271 -> 137). Bisected on the language-crucible: 25 -> 38 FN at #6762 (x->~T() is the unit ~T, tree-sitter says T), 38 -> 77 at #6776 (String(operator Vector2()) names a conversion operator, not the Vector2 type; read in godot variant.cpp). Neither PR refreshed this baseline; #6793 does not move it (the pre-#6793 parent measures the same 99.0). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… callgraph on 6 ports (Part of #6266) Only callgraph fields move: woof, odamex, doom3-bfg, srb2, doomsday, nugget-doom gain precision (nugget-doom unscored 21 -> 0, srb2 55 -> 27). Cost: 4 misses (srb2 2 -> 4, odamex 21 -> 23) where a macro defined inside a function is invoked in it (HWR_RenderPlane SETUP3DVERT, md5_process H): the oracle credits the body to the invoking function, the engine no longer does. Macro expansion is a sibling gap. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
PR #6799 @ e735e2c: 1 failed check(s) == shard 3 (1667394 LOC) (failure) -- real |
…ODE findings on 4 ports (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6799 @ 606308f: 1 failed check(s) == shard 4 (1666524 LOC) (failure) -- real |
|
No description provided. |
…on chocolate-doom, crispy-doom, doo-cr (Part of #6266) Full 44-port doom_rosetta_check at this head: only these three drift, summary counts only (by_level, by_rule, sarif_total); the other 41 match. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (0c1c46f) is not the one a maintainer labelled |
|
No description provided. |
…precheck 6 s red on #6799) Churn's precheck runs pr_gates under /usr/bin/python3, which has no pytest, so `sys.executable -m pytest` failed `affected` in 6 s on every branch whose change reaches a test; under the selfscan venv it passed, so earlier runs could not reproduce it. Fall back to the `pytest` on PATH with this checkout first on PYTHONPATH (the same trap pr_gates' _tool_bin_dir closes for ruff). Part of #6266. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
CI shepherd: the head of this PR (b024112) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #6266. Follow-up to #6793, which was already merged (13:20Z) when the
shepherd:needs-fixrequest arrived, so there was no open branch to fix: this PR carries the two red checks that #6793's merge left on main.What was red, and why
doom-rosetta
test_port_matches_golden(woof, odamex, doom3-bfg, srb2, doomsday, nugget-doom): C/C++: a backslash-continued directive is blanked to its last line (Part of #6266) #6793's engine fix drops continued-#definebody calls, which moves only callgraph fields intests/golden_doom_rosetta. Re-blessed withdoom_rosetta_check.py --update --yes. Scope: precision up on all six (nugget-doom engine-only unscored 21 -> 0, srb2 55 -> 27); recall cost is 4 misses (srb2 2 -> 4, odamex 21 -> 23).call-graph-accuracy-audit (cpp recall 99.7 -> 99.0): not caused by C/C++: a backslash-continued directive is blanked to its last line (Part of #6266) #6793. The pre-C/C++: a backslash-continued directive is blanked to its last line (Part of #6266) #6793 parent (
e3a3c84c0~1) measures the same 99.0. Bisected on the crucible: FN 25 -> 38 at C++ explicit destructor call p->~T() is a call to the ~T unit; re-bless goldens (Part of #5630) #6762 (x->~T()is recorded as the unit~T, tree-sitter names itT), 38 -> 77 at C++ a conversion operator does not call its target type; a qualified function-type argument is no call (Part of #6266) #6776 (String(operator Vector2())names a conversion operator, not theVector2type; read in godotvariant.cpp:1610, the tree-sitter side is the false positive). Neither PR refreshedtests/call_graph_accuracy_baseline.json; regenerated here (cpp precision 96.6 -> 98.2, FP 271 -> 137, other languages move slightly in the right direction).Precheck
pr_gates --fastred onaffectedin 6 s (reported four times, never reproduced): churn's precheck runs the gates under/usr/bin/python3, which has no pytest, andtests/tools/affected_tests.pyransys.executable -m pytest->No module named pytest. Earlier rounds ran the gates from the selfscan venv, which has pytest, so it always passed for them. Fix:affected_tests.pytest_command()falls back to thepyteston PATH with this checkout first onPYTHONPATH(the trappr_gates._tool_bin_diralready closes for ruff), with 3 tests intests/tools/test_affected_tests.py. This reaches every churn PR whose change touches a test, not just this one. The two files are this PR's only hand-written ones; ruff 0.17.1 also reflowed one over-long line in each.File-cap exception: the
tests/golden_doom_rosetta/*.json.gzfiles (ten after the third bless below) are one atomic, mechanical re-bless (doom_rosetta_check.py --update --yes) of the ports that #6793 moved; splitting them would leave the unblessed ports' doom-rosetta checks red.Second bless (needs-fix round 2): #6796 (
dead_codeignoresevalin prose and//in URL strings) merged after the first bless and drops 1-2GG-SAST-DEAD_CODEfindings on doomretro, nugget-doom, odamex and woof (summary counts only). Re-blessed those four; doomretro is a seventh golden file, covered by the file-cap exception above.Third bless (Opus rescue): the earlier rounds re-blessed only the ports CI had flagged, so each round surfaced more #6796 drift. This round ran
doom_rosetta_check.py --update --yesover all 44 ports at the merged head: only chocolate-doom, crispy-doom and doo-cr drift (summaryby_level/by_rule/sarif_total, oneGG-SAST-DEAD_CODEfewer each); the other 41 match. No further #6796 drift remains on any port.Sibling gaps
Class: a macro defined inside a function and invoked in it. Its body now belongs to no function, but the oracle credits the calls to the invoker. Misses: srb2
hw_main.c:356 HWR_RenderPlane(SETUP3DVERT->P_GetSlopeZAt,FloatToFixed), odamexcommon/md5.cpp:140andodalaunch/src/md5.cpp:138md5_process(H). Needs real macro expansion at use sites. The burned-estate program: none (DOOM ports, not mainframe).Checklist: partial [c:0254d813] -- as in #6793;
absent/unparsedclasses and per-port 0/0 remain.Verification
pr_gates --fast9/9 (also under the precheck's/usr/bin/python3,affected45 files / 199 s);call_graph_accuracy.py --regenerateran at this head; doom_rosetta/oracle unit tests 140 passed. Mergedorigin/main(clean). The full-m doom_rosettashard run is CI's; the localdoom_rosetta_check.pyover all 44 ports before the bless listed exactly these six ports.Lessons for agents
doom_rosetta_check.pytakes its own heavy slot: do not wrap it inheavy-run.shon a one-slot box (self-deadlock, load 0.0 and an empty log).doom_rosetta_check.py --update --yes, no--only) instead of only the ports in the red shard: CI shards report a few ports at a time, so a partial bless comes back red round after round.env -i HOME=$HOME PATH=$HOME/.local/bin:/usr/local/bin:/usr/bin:/bin tests/tools/box/heavy-run.sh /usr/bin/python3 tests/tools/pr_gates.py --fast.gh api repos/.../pulls/N -q .mergedfirst.🤖 Generated with Claude Code