← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
scikit-learn architecture
Changing externals/array_api_compat/numpy/__init__.py in scikit-learn reaches 296 modules. 201 files call it directly. Snapshot ee56c8b.
The first file to open in scikit-learn is externals/array_api_compat/numpy/__init__.py. A change there reaches 296 of 353 modules.
This lead file reaches 84% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: scikit-learn (sklearn) · Score: 67.6/100 (Moderate technical debt) · 353 modules · 2,020 edges · Python · 48 of 54 · Language score median 78.9
- Cycles
- 100+
- Duplicate authorities
- 0
- God modules
- 32
- Layer violations
- 0
arc impact externals/array_api_compat/numpy/__init__.pyUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/sklearn/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
scikit-learn · ee56c8b
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | externals/ concentrates too many responsibilities, sits on a dependency cycle, shared utility hub | 201 | 296 | 84% |
| 2 | externals/ sits on a dependency cycle | 11 | 296 | 84% |
| 3 | externals/ sits on a dependency cycle | 7 | 296 | 84% |
| 4 | externals/ | 6 | 296 | 84% |
| 5 | externals/ | 6 | 296 | 84% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | externals/ | 6 | 296 | 84% |
| 7 | externals/ | 5 | 296 | 84% |
| 8 | externals/ | 3 | 296 | 84% |
| 9 | externals/ | 3 | 296 | 84% |
| 10 | externals/ | 3 | 296 | 84% |
| 11 | externals/ | 2 | 296 | 84% |
| 12 | externals/ | 2 | 296 | 84% |
| 13 | externals/ | 2 | 296 | 84% |
Circular dependencies
This snapshot records 100+ dependency cycles.
Nearby proofs
- mypy architecture 70.6/100 · 354 modules
- typer architecture 82.6/100 · 339 modules
- artemis architecture 83.3/100 · 377 modules
Snapshot notes
In scikit-learn sklearn, a change that begins in numpy __init__.py keeps traveling until it reaches common __init__.py, with cupy __init__.py as the third file on that walk and the common-_typing.py group as the group around them, snapshot mark eaabaeedcf.
common _helpers.py is worth opening beside numpy __init__.py because array __init__.py still participates when common _helpers.py moves, and torch __init__.py stays in view for scikit-learn sklearn, snapshot mark eaabaeedcf.
Review common _aliases.py only after common __init__.py and common _linalg.py are both on the table, since the link from numpy _typing.py back to cupy __init__.py belongs to scikit-learn sklearn under snapshot mark eaabaeedcf.
torch _typing.py and cupy _aliases.py are later stops, and a reviewer who has already seen numpy __init__.py should still look at array _aliases.py before treating the common-_typing.py group as understood for scikit-learn sklearn, snapshot mark eaabaeedcf.
numpy _aliases.py closes the file list after utils _param_validation.py and numpy __init__.py, which keeps the scikit-learn sklearn note tied to snapshot mark eaabaeedcf, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- common-_typing.py (19 modules)
- _lib-_typing.py (30 modules)
- ROOT_CLUSTER (264 modules)
CLI workflow
Impact, then scan, fix, finish, and watch.
arc impact <file>See what a change breaksarc scanFind issuesarc fixApply fixesarc finishResolve remainingarc watchKeep clean
FAQ
- Which file should change first in scikit-learn sklearn: numpy __init__.py?
- Start with numpy __init__.py, because the rest of the scikit-learn sklearn walk leaves from that file and common __init__.py is the next file in the same review. Commit eaabaeedcf records it.
- What else is on the scikit-learn sklearn walk besides numpy __init__.py and cupy __init__.py?
- cupy __init__.py and common _helpers.py stay on the walk with array __init__.py, which are different files from numpy __init__.py inside the common-_typing.py group for scikit-learn sklearn. Commit eaabaeedcf records it.
- How should a reviewer use torch __init__.py in the scikit-learn sklearn snapshot?
- Keep torch __init__.py, common _aliases.py, and common _linalg.py open together, then check numpy _typing.py before merging the scikit-learn sklearn change. Commit eaabaeedcf records it.
- Where does the scikit-learn sklearn review stop after torch _typing.py?
- Stop after torch _typing.py, cupy _aliases.py, and array _aliases.py have been compared with numpy __init__.py, leaving the common-_typing.py group until those scikit-learn sklearn files are clear. Commit eaabaeedcf records it.
Run ArcSight on your repo
Install locally, then run arc impact on the file you plan to change — before merge.
Embed this report
Use this iframe to show the architecture badge on your site.
<iframe src="https://arcsight.ai/embed/sklearn/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo