Repository navigation
C++ macro class head: chain starts at the first macro; oracle reads a macro class as a class (Part of #5630) - #6755
Conversation
…hole body (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… its body (powertoys FancyZones.cpp) (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…day recall .9887 -> .9906) (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…init + #6753) (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…y is not a function; oracle reads a macro class as a class (Part of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…art of #5630) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
# Conflicts: # tests/tools/doom_speedrun/callgraph_baseline.json
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #6755 @ 1b9b436: 3 failed check(s) == shard 1 (1669449 LOC) (failure) -- real == shard 2 (1666363 LOC) (failure) -- real == shard 3 (1667394 LOC) (failure) -- real |
Part of #5630. Slice 2: macro-class header extent for the doomsday
DE_PIMPL/DE_GUI_PIMPL/DE_OBSERVESshape (243 "unparsed" misses on the DOOM call-graph oracle).What changed
cpp.pyfunc_start: (1) a line that follows a line ending in a comma is a base-list entry, not a function (lookbehind, LF and CRLF); (2) a chain group lets the unit start at the FIRST macro ofDE_PIMPL(X)\n, DE_OBSERVES(..)instead of the leading-comma entry. 138 chains were invisible before and are nowDE_PIMPLunits; 9 phantom units (DE_OBSERVES,Deletion,Change,Toggle,GameChange) are gone.callgraph_oracle.py: a macro class (*PIMPL*() owns only its member-initializer calls (_member_initializers), so the text fallback reads it as a class, not a function body.test_cpp_macro_class_head_5630.py(chain naming x4 head shapes, base-list entry LF/CRLF, comma-expression statement before a definition), two cases intest_callgraph_oracle.py.callgraph_baseline.jsonregenerated.Evidence (doomsday, DOOM call-graph oracle)
Other 22 ports unchanged (gzdoom 0.9972/0.9658, eternity 0.9987/0.9869, odamex 0.9989/0.9800, doom3-bfg 0.9999/0.9840). Consensus: holes 321, engine missed 2, suspects 0.
--fail-on-regressionpasses.Disclosure: precision dips 0.0006. Engine-only edges rose by 48 (function-pointer 193 -> 239): the newly visible class units are credited calls from
#if 0blocks and lambda-argument bodies (e.g. busyrunner.cpp:61DE_PIMPL_NOREF-> mainCall, terminate; audiosystem.cpp:191). Within the baseline tolerance; listed below as a sibling gap, not hidden.Gates
golden-lock.sh+crucible_check.py --update --yes): no drift, so the change is golden-neutral on the pinned crucible.pr_gates --fast9/9,--ratchets9 pass / 0 fail. New tests pass under plainpytestfrom an unrelated cwd (44 passed).Class / Sibling gaps
Class: C++ macro-introduced class headers and macro statements that the function-start regex reads as definitions. Sibling gaps (none needed by a burned COBOL estate; DOOM oracle only):
DE_FOR_EACH*/DE_FOR_OBSERVERS/DE_NOTIFY_PUBLICmacro-statement loops read as function units (~20 of the 37 remaining misses).#if 0blocks and lambda-argument bodies credited to the macro-class unit (+48 engine-only edges).self,layout,writer,entry,uri; two tree-sitter Body cases in gloomed editor.cpp; variable.cppDE_PIMPL_NOREF).Remaining slices
The three bullets above, in that order.
Cross-repo
None.
Lessons for agents
crucible_checkpins sync to/home/joe/gitgalaxy/<name>here, not/srv/storage_16tb/...: use the pathsync-pins.shprints.gitgalaxy/is content-identical (a squash of your own earlier merge), symlink<work>/scans/<new sha>to the old scan dir instead of rescanning all 23 ports; the baseline file is the only conflict.🤖 Generated with Claude Code