Repository navigation
DOOM study: lineage.py, name/body survival vs linuxdoom on licensed ports (Part of #5620) - #5714
Merged
Merged
Conversation
…orts (Part of #5620) Ports round-1 survival.py / canonical.py into the speedrun harness as our own tool: per-function name and body survival (exact / near / derived), per-subsystem and file-stem survival, the stated parent from the manifest lineage with exact-vs-parent, name/body divergence matrices skipping vendored code, and 12 landmark functions. Refuses any port outside the licensed set. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 20, 2026 09:17
squid-protocol
enabled auto-merge (squash)
October 20, 2026 09:29
This was referenced Oct 22, 2026
Merged
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 #5620 (slice 1 of 4).
What
tests/tools/doom_speedrun/lineage.pyports round-1survival.pyandcanonical.pyinto the speedrun harness as our own tool. It reads the clones and scans thatdoom_speedrun.pyalready produces (<work>/repos,<work>/scans/<sha>) and writes to<work>/results/<sha>/lineage/.exact_vs_parentis the change in exact bodies against that parent.VendorDirectoryDetector.--onlyrefuses anything outsidecallgraph_oracle.LICENSEDplus the licensed non-C ports.Check against round 1 (engine
0e2bf4ade, 662 baseline functions)Class sweep
Class: the round-1 DOOM study scripts that still live outside the repo.
doom_scorer.py)callcheck*,consensus*: sibling gap (callgraph_oracle.pycovers part of this)Remaining slices (in order)
tests/tools/doom_speedrun/distribution.py+ test: port study-prototypedist.py(distribution module).tests/tools/doom_speedrun/callmaps.py+ test: the call-graph subway map (per-port graph metrics, subsystem call matrix, layout-free check).fidelitycolumn in the manifest holding each port's stated fidelity from its README, plus a test update.docs/research/doom-port-study.md).Gates
tests/tools/test_doom_lineage.py: 18 passed, bothpython -m pytestand plainpytestfrom/tmptest_source_reads: passes (sources read throughread_source)--ci: no new findings. mypy--ci: 3 new findings, all incobol_to_java(not this PR's files)ruff format: cleantests/tools/:test_pin_requirements_check_allfails locally because it resolves the lockfiles against live PyPI; unrelated to this PR🤖 Generated with Claude Code