Skip to content

DOOM-rosetta callgraph baseline: linuxdoom and doomgeneric clang numbers as CI measures them (Part of #6266) - #7056

Merged
squid-protocol merged 1 commit into
mainfrom
doom/clang-baseline-ci
Oct 30, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
doom/clang-baseline-ci

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6266

Why

After #7019 and #7020 merged, the DOOM-rosetta nightly (dispatched on main as run 40976028791) passes every shard. Its callgraph job fails on one line only:

REGRESSION clang linuxdoom: precision 0.9968 -> 0.9955

#7020 re-measured the baseline's clang section on a dev box, and the CI runner's libclang reference sees slightly fewer edges than that box does:

port dev box (baseline) CI (10-29 morning nightly and run 40976028791)
linuxdoom 1541 clang edges, precision 0.9968, 2 fatal 1539, 0.9955, 2 fatal
doomgeneric 2098, 0.9854, 12 fatal 2097, 0.9850, 13 fatal

The CI counts are the same in both runs, so the gap comes from the environment and does not flap. Both sides use gcc 13 and libclang 18.1.1, so the likely cause is a system header the dev box has and the runner doesn't. Every other port matches to the edge. The engine side (engine_edges) is identical, so this is not an engine change. CI is the judge, so the baseline takes CI's numbers.

What

callgraph_baseline.json: the clang.linuxdoom and clang.doomgeneric entries are set to CI's counts (agree = recall × clang_edges; precision = agree / engine_edges, checked to 4 places). 7 lines change, and no other port or section moves.

Next

Measure future clang baselines on CI. This is a follow-up and does not block this PR.

Gates

pr_gates.py --fast 9/9.

Class / Sibling gaps

Class: a reference baseline measured off the CI runner. Sibling gaps: the body-oracle section is engine-side and deterministic; none.

🤖 Generated with Claude Code

…ers as CI measures them (Part of #6266)

#7020 re-measured the clang section on a dev box. The CI runner's libclang
reference finds 2 fewer linuxdoom edges (1539, not 1541) and 1 fewer
doomgeneric edge (2097, one more fatal file), steadily: the 10-29 morning
nightly and the post-#7020 dispatch (run 40976028791) give the same counts.
At 1546 engine edges, 2 edges is just over the 0.001 tolerance, so the
nightly failed on linuxdoom precision 0.9968 -> 0.9955 alone. The engine
side (engine_edges) is unchanged; only the reference's counts move.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol
squid-protocol merged commit 8aa3c62 into main Oct 30, 2026
35 checks passed
@squid-protocol
squid-protocol deleted the doom/clang-baseline-ci branch October 30, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant