Repository navigation
sfs: subway maps (call graphs by subsystem on a reference's layout) - #17
Merged
Merged
Conversation
Builds the DOOM-study subway-map prototype into the scanner, generalised: - sfs subway / compare --subway-reference: each repository's resolved call graph collapsed to subsystems (taxonomy JSON, or the reference's top-level directories) and drawn on the reference's fixed, seeded layout - functions placed by structural twin first (name-blind), then name, then path rules; stations sized by functions, lines by call share, coloured by per-subsystem survival on the Universal gradient - wiring similarity (cosine of subsystem call matrices) and calls kept (reference calls still made between counterparts); a structure-vs-wiring scatter; subway.json/csv - fingerprints now store resolved call edges (.sfp.npz 'edges'; older files load) - DOOM taxonomy in examples/doom/subsystems.json; results in the DOOM README: translations keep linuxdoom's wiring (gore 77% of calls) where descent sees nothing, and doom3-bfg's embedded DOOM Classic keeps 83% - 8 new tests (42 total) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.
Builds the DOOM study's subway-map prototype (
doom-study/study-prototype/callmaps.py) into structural-fingerprint-scanner as a general feature. Stacked on #16 (the gradient colours); merge #16 first.What
sfs subway INPUTS --reference R [--taxonomy subsystems.json]writessubway.html,subway.jsonandsubway.csv.sfs compare … --subway-reference Radds the same section toreport.html..sfp.npzfiles still load.DOOM findings (in
examples/doom/README.md)Tests
42 pass (8 new), including real-scan parity; ruff is clean. The full 44-port DOOM report with subway maps was regenerated and checked.
🤖 Generated with Claude Code