Repository navigation
tools: DOOM speedrun diff subcommand, before/after and round-2 comparison (Part of #5468) - #5529
Merged
Merged
Conversation
…mparison of clean_check.csv (Part of #5468) 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 20:27
squid-protocol
enabled auto-merge (squash)
October 18, 2026 20:38
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 (slice 2 of 4).
What
doom_speedrun.py diff BEFORE AFTER [--fail-on-regression]compares twoclean_check.csvfiles. A ref is a CSV, a results dir, an engine SHA under<work>/results, orround2(the study's CSV,DOOM_ROUND2_CSVoverrides). Only columns both files carry are compared (round 2 has no tree-sitter columns). Prints PERFECT counts, each moved port, and regressions (a port that gained a failed check or vanished);--fail-on-regressionexits 1 on any.Real output,
diff round2vs the 39-port run at41777e5f4: PERFECT 8/39 -> 16/39, 31 ports changed (e.g. doom-ios 5/6 -> 4/6, psydoom function count 21361 -> 3977 after vendoring is now the engine's call). Moves are expected (engine changed since585c243e9); the round-2 diff is for reading, not gating.Class sweep
Class: comparisons of a run's result file. Covered: run-vs-run, run-vs-round-2 (same mechanism). Sibling gaps: none. Remaining slices: libclang subset oracle; PR body results table / docs (slices 3-4).
Files (4 hand-written):
doom_diff.py(new),doom_speedrun.py,README.md,tests/tools/test_doom_speedrun.py.Gates
pr_gates --fast6/6 pass; tree-wide guards + new tests pass (17 tests, time ratchet 0 over).--ratchetsnot run: tool-only change, no parsing logic touched.🤖 Generated with Claude Code