Repository navigation
DOOM per-subsystem distributions: every metric, vendored code dropped (Part of #6097) - #6833
Merged
Merged
Conversation
… (Part of #6097) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Oct 28, 2026
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 #6097. Checklist: partial [c:b68f4dd4] -- LOC/fan-out/token mass/args per subsystem and the vendored drop are done; plots, lineage-based subsystem assignment, study_report wiring and the sfs-side pieces are left.
Slice 2 of the per-subsystem distributions (slice 1: #6744).
subsystem_distribution.pynow summarises every metric ofdistribution.FIELDS(complexity, loc, func_fan_out, token_mass, args) per linuxdoom subsystem: median, p90 and the port/linuxdoom median ratio each (complexity also the share >= 10), one md table per metric and a wide CSV. It drops vendored code with the same engine detector test asdistribution.py(needs the port clone under<work>/repos/<port>, likedistribution.py; a port without one is skipped). Tooling only: no engine, golden or ledger input.Class / Sibling gaps
Class: per-subsystem distribution of the per-function engine metrics for the licensed ports. Handled: all five metrics (complexity and the four added here share one mechanism, one
FIELDSloop, each covered by a test; args covers the old text-list form too) and vendored exclusion.Sibling gaps (DOOM study work; no burned-estate program needs them):
lineage.py).study_report.py/docs/research/doom-port-study.mddo not include these tables yet.Remaining slices
subsystem_distribution.py,lineage.py, test).subsystem_plots.py+ test).study_report.pyanddocs/research/doom-port-study.md(needs a real scan run).Evidence
test_doom_subsystem_distribution.py(synthetic scan DBs): grouping, all metrics and ratios (incl. text args), vendored drop,othershare, skips, baseline required, CLI outputs.test_doom_distribution.py, source-reads, generated-branch and change-classifier guards pass.pr_gates.py --fast: 9/9 (pinned ruff 0.17.1, mypy 2.4.0).--ratchets(tooling only).🤖 Generated with Claude Code