Skip to content

doom scorer: generator-signature + tooling-dir exclusions, functions on ctags OR tree-sitter (Part of #5468) - #5617

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5468-20261019T1151Z
Oct 19, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5468-20261019T1151Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Part of #5468 (#5457). Scorer-only change (tests/tools/doom_speedrun); no engine or golden change.

  • Generated files without a banner are excluded-by-design (generated-signature, with a reason) by content signature: Bison's A Bison parser, made by (re2c parser.cc in gzdoom/zandronum/vizdoom) and an @generated marker comment (room4doom info.rs).
  • Tooling dirs build/scripts and web/site are excluded-by-design (tooling-dir).
  • functions passes within 3% of ctags OR tree-sitter; new functions_agree column says which (ctags tried first; tree-sitter runs as a fallback only when ctags misses, or with --oracle).

Re-scored the existing 0e2bf4a scans (engine unchanged since, git diff 0e2bf4ade HEAD -- gitgalaxy empty) with score --oracle through heavy-run.sh: 27 -> 35 PERFECT, 0 regressions. Remaining: psydoom (#5462, real undercount), doom-ios and doomsday (documented .h-as-ObjC caveat), vizdoom (tools/re2c/config.h, an autoheader output with a "Generated from configure.in by autoheader" banner, not covered by this slice).

Class table (scorer false-fails on a clean scan, round-5 list on #5457)

member status evidence
re2c/bison parser.cc without a banner (gzdoom, zandronum, vizdoom) handled here: generated-signature 3 ports' coverage now passes
room4doom gameplay/src/info.rs (@generated) handled here: generated-signature room4doom PERFECT
doomsday build/scripts/*.py (15), edge-classic web/site/webplayer.py handled here: tooling-dir edge-classic PERFECT; doomsday coverage clears
ctags-only functions fails (gore, doom-nano, helion, eternity) handled here: ctags OR tree-sitter all 4 PERFECT
doomsday functions fail covered by the same OR rule no longer failing; doomsday's remaining fail is language
vizdoom tools/re2c/config.h (autoheader) missing, out of scope see Sibling gaps
.h beside .m as ObjC (doom-ios, doomsday) out of scope (documented caveat) README
psydoom C++ undercount out of scope, engine gap #5462

Sibling gaps

Cross-repo: none.

Lessons for agents

  • Scans are keyed by engine SHA, so to re-score old scans with a new scorer symlink <work>/scans/<HEAD sha> to the old scan dir (valid only when gitgalaxy/ has no diff).

🤖 Generated with Claude Code

…s pass on ctags OR tree-sitter (Part of #5468)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant