Repository navigation
tools: DOOM Port Speedrun harness -- manifest, clone/scan driver, clean-scan scorer (Part of #5468) - #5515
Merged
Conversation
…can driver, clean-scan scorer (Part of #5468) Manifest of pinned SHAs (no third-party code), a resumable clone+scan+score driver keyed by engine SHA, the six-check clean-scan scorer ported from the round-2 study, ctags plus an opt-in tree-sitter oracle, and a README with the checks and their blind spots. Opt-in, not part of default CI. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 18, 2026 18:50
squid-protocol
enabled auto-merge (squash)
October 18, 2026 18:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5468 (milestone DOOM Port Speedrun). First self-contained slice: manifest + clone/scan driver + scorer + README + tests.
What
tests/tools/doom_speedrun/:manifest.csv(39 ports, pinned SHAs, languages, lineage; no third-party code),doom_speedrun.py(resumable fetch/scan/score/report, results keyed by engine SHA under--work, refused inside the repo; scans go throughheavy-run.sh),doom_scorer.py(the six round-2 checks, ctags definitions-only, opt-in tree-sitter oracle--oraclebeside ctags, never scored),README.md(checks + blind spots). Opt-in, not in default CI.Evidence: full 39-port run at engine
41777e5f4(below); round 2 was 8 PERFECT at585c243e9. linuxdoom reproduces its round-2 row exactly (778/778 ctags, 1 missed file, 5/6).Results (engine
41777e5f4,--oracle; measurements, not a correctness claim)16 PERFECT / 39 ports
Design decisions: vendoring is the engine's
VendorDirectoryDetectoronly (its API changed with #5464); the round-2 hand-kept vendor-name list is--legacy-vendor. The 8-perfect/39 table cannot be byte-reproduced at a different engine, so the harness makes the diff between two engine SHAs the product.Class
Class: "measure the DOOM port corpus reproducibly". Covered: manifest, clone/scan, six-check scorer, ctags + tree-sitter oracle, per-engine-SHA CSV/markdown.
Sibling gaps: none beyond Remaining slices.
Remaining slices: (1) libclang oracle on a subset with
compile_commands; (2) adiffsubcommand comparing tworesults/<sha>/clean_check.csv(before/after per issue) and an--againstround-2 CSV check; (3) optional manual workflow wrapper.Gates:
pr_gates --fast6/6; tree-wide guards pass (after fixingtest_source_reads: useread_bytes().decode); audit_check clear; new tests 14 pass, time-ratchet 0 over limit.--ratchetsnot run: no engine, golden or generated-doc change.Lessons for agents
VendorDirectoryDetector.is_candidate_nameno longer exists; callis_vendored(rel_dir)on each ancestor directory.tests/test_source_reads.pyflagsread_text(errors="replace")in tools; useread_bytes().decode("utf-8", "replace").Cross-repo: none.
🤖 Generated with Claude Code