Repository navigation
Closed
Labels
claim:nyxenhancementNew feature, sensor, or structural signaturemetricsHeuristics, risk exposures, and topological math updatesneeds:doom-corpusNeeds the pinned DOOM-ports corpus (doom-study)priority: mediumscope:frontierMapped, not yet built: eras/commands/regions the burned estates don't use (Gap Atlas)
Milestone
Description
Goal
Produce the analysis the DOOM study was for: how much of id Software's 1997 linuxdoom survives in each port, how ports diverge, and how the same subsystems look across languages. It doubles as an engine check: are GitGalaxy's metrics comparable across languages? (If a Go or COBOL renderer scores wildly differently from the C original for the same algorithm, that is an engine calibration finding.)
Inputs
- Corpus:
tests/tools/doom_speedrun/manifest.csv(39 ports; moving totests/doom_crucible/with DOOM-rosetta: golden-gated CI regression test over the DOOM port corpus (measurements-only golden, zero drift, sharded, nightly oracles) #5619) plus the ports added by the manifest-expansion issue (COBOL, Python, SQL, web...). - Round-1 method (16 ports, C-family only, engine
a8510fc07), local on nyx at/srv/storage_16tb/projects/gitgalaxy/doom-study/scripts/survival.py+canonical.py: function bodies sliced by engine boundaries, normalised, sha1 + difflib similarity vs linuxdoom's 659 functions, per subsystem (renderer, playsim, menus, netcode, ...). Example result: chocolate-doom keeps 86.6% of linuxdoom function names, 35.1% exact bodies; doomretro 68.9% names, 0.2% exact.
Work
- Port the round-1 scripts into the repo as our own tool (
tests/tools/doom_speedrun/lineage.pyor undertests/doom_crucible/), reading the harness scans; rerun on all ports at current main. - Lineage table: per port, survival of linuxdoom names / exact bodies / near (>=0.9) / derived (>=0.6), per subsystem; checked against each port's stated lineage in the manifest (does Chocolate -> Crispy -> inter-doom show monotone drift? do rewrites show ~0 exact bodies but high name survival?).
- Cross-language: map subsystems by file/function-name families (r_* renderer, p_* playsim, m_* menu...), then compare per subsystem across C / C++ / C# / Java / Go / Rust / COBOL / Python: function count, LOC, cyclomatic complexity, call fan-out. Report where the engine's metrics are comparable and where they are not, with the language-specific reason; file an engine issue for each calibration defect found.
- Write-up:
docs/research/doom-port-study.md, measurements only (third-party policy: no code, no reconstructions, brief quotes with attribution), every number reproducible by one command; per-port clean-scan table before/after the fixes (round 2585c243e9-> current).
Acceptance
- One command regenerates every table from the pinned corpus.
- Lineage for all C-family ports + name-level lineage for the rewrites; cross-language subsystem table including at least C, C++, C#, Java, Go, Rust, and COBOL/Python once added.
- Calibration findings filed as issues (or "none found", with the evidence).
Part of #5457.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
claim:nyxenhancementNew feature, sensor, or structural signaturemetricsHeuristics, risk exposures, and topological math updatesneeds:doom-corpusNeeds the pinned DOOM-ports corpus (doom-study)priority: mediumscope:frontierMapped, not yet built: eras/commands/regions the burned estates don't use (Gap Atlas)
Activity
squid-protocol commentedon Oct 19, 2026
Claimed by promoter-bot host
nyx, lease renewed 2026-10-23T00:21Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:nyxlabel.squid-protocol commentedon Oct 19, 2026
Scope addition (owner, 2026-10-19): distributions around the original, behavioural equivalence, deep-dive post
First pass (licensed ports only, 40 code ports, engine
0e2bf4ade/29349f079, whole-repo function distributions):Add to this issue:
.lmpinput recordings) replay tic-exactly only if game logic matches, so "plays the same demo in sync" is an objective same-output class. Check which licensed ports support demo playback/timedemo/statdump headless, whether Freedoom (BSD) provides demos usable for this (no commercial IWADs), and run the C ports that build easily. Then ask: how much structural distance is compatible with tic-identical behaviour?docs/wiki/03-07-claim-7-doom-comparisons.md("Tracking the Genetic Drift of DOOM"): measurements only, licensed ports only, every number reproducible by one command.Script for the first pass is local on nyx (
/srv/storage_16tb/projects/gitgalaxy/doom-study/dist.py); fold it into the study tool rather than committing it as is.🤖 Generated with Claude Code
squid-protocol commentedon Oct 19, 2026
Scope update (owner, 2026-10-19): call-graph "subway maps"; no byte-for-byte work
Drop the demo-sync / behavioural-equivalence step. Take each port's own stated stance on fidelity from its README/docs (vanilla-exact, demo-compatible, limit-removing, enhanced, rewrite) as a manifest column, and cite it where it matters. We don't run behavioural tests ourselves.
Add: call-graph network comparison. Each port's function call graph (engine
calls_out_to, resolved by name inside the port) collapsed into DOOM subsystems (renderer, playsim, game, main, menu/misc, hud, automap, intermission, finale, sound, video, wad, zone, system, net, other), and drawn as a "subway map" on linuxdoom's fixed layout (same station positions for every port, station size = functions, line width = share of calls), so 40 maps can be compared by eye. A function goes to the subsystem of the linuxdoom function with the same normalised name where names survive, otherwise by file/path.First pass (licensed ports, prototype):
Work for this issue:
Render/,World/), report the mapped share per port, and treat a large "other" as a finding to explain, not noise.Prototype script and images (local on nyx):
/srv/storage_16tb/projects/gitgalaxy/doom-study/study-prototype/(callmaps.py,subway_maps.png,structure_vs_wiring.png).🤖 Generated with Claude Code
DOOM study: lineage.py, name/body survival vs linuxdoom on licensed p…
squid-protocol commentedon Oct 21, 2026
Scope update (owner, 2026-10-21): the call-graph / subway-map work lives in structural-fingerprint-scanner
The 2026-10-19 call-graph scope ("subway maps") is built as
sfs subwayin squid-protocol/gitgalaxy-population-analyses (structural-fingerprint-scanner/, squid-protocol/gitgalaxy-population-analyses#17 and squid-protocol/gitgalaxy-population-analyses#18). Do not portstudy-prototype/callmaps.pyinto this repo: slice 3 in the handoff is dropped. The write-up takes its subway figures and tables fromsfsoutput.What the scope asked for, and where it now stands:
subway.csv/subway.json)--declared-lineageorders them depth-first from linuxdoom)examples/doom/subsystems.json; the "other" share is reported per portHeadline results (licensed ports, engine
9f213ab83), fromexamples/doom/README.mdthere:doomclassic/doom/). Twin matching fails on it, but 83% of the calls survive.Still in this issue (unchanged): slice 2
distribution.py(queued), slice 4 the manifest fidelity column, the cross-language subsystem tables and calibration findings, and the write-updocs/research/doom-port-study.md. Reproduce the subway figures with:🤖 Generated with Claude Code
DOOM study: distribution.py, per-function metric distributions vs lin…
DOOM study: manifest fidelity column read from each port's README, fi…
DOOM study write-up: docs/research/doom-port-study.md and study_repor…
squid-protocol commentedon Oct 23, 2026
Acceptance met by #5714, #6067, #6077, #6094: one command (study_report.py --write/--check) regenerates the tables; lineage and cross-language tables are in docs/research/doom-port-study.md; calibration findings (Scheme case, Dart break/continue; Go none found) are tracked in #6097.