Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

SymPy architecture

Changing sympy/core/cache.py in SymPy reaches 780 modules. 56 files call it directly. Snapshot 530b96d.

The first file to open in SymPy is sympy/core/cache.py. A change there reaches 780 of 871 modules.

This lead file reaches 90% of the graph. The median published proof reaches 60%.

core/cache.py780 · 56 fan-in
utilities/exceptions.py779 · 63 fan-in
core/logic.py773 · 53 fan-in
external/mpmath.py773 · 49 fan-in
external/gmpy.py771 · 64 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: SymPy · Score: 74.8/100 (Moderate technical debt) · 871 modules · 7,411 edges · Python · 33 of 54 · Language score median 78.9

Cycles
100+
Duplicate authorities
0
God modules
50
Layer violations
0
arc impact sympy/core/cache.py

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for SymPy
[![ArcSight architecture proof for SymPy](https://arcsight.ai/badge/proof/sympy/)](https://arcsight.ai/repositories/sympy/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

SymPy · 530b96d

RankFileFan-inBlastShare
1sympy/core/cache.py

concentrates too many responsibilities, shared utility hub

5678090%
2sympy/utilities/exceptions.py

concentrates too many responsibilities, shared utility hub

6377989%
3sympy/core/logic.py

concentrates too many responsibilities

5377389%
4sympy/external/mpmath.py4977389%
5sympy/external/gmpy.py6477189%
All ranked files
RankFileFan-inBlastShare
6sympy/core/sympify.py23177088%
7sympy/core/symbol.py21777088%

Highest fan-in

sympy/core/sympify.pyfan-in 231

Circular dependencies

This snapshot records 100+ dependency cycles.

Nearby proofs

Snapshot notes

In sympy sympy, a change that begins in sympy cache.py keeps traveling until it reaches utilities exceptions.py, with sympy logic.py as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark bbdefbbaed.

external mpmath.py is worth opening beside sympy cache.py because external gmpy.py still participates when external mpmath.py moves, and sympy sympify.py stays in view for sympy sympy, snapshot mark bbdefbbaed.

Review sympy symbol.py only after utilities exceptions.py and sympy numbers.py are both on the table, since the link from sympy __init__.py back to sympy logic.py belongs to sympy sympy under snapshot mark bbdefbbaed.

sympy singleton.py and sympy cache.py are later stops, and a reviewer who has already seen utilities exceptions.py should still look at sympy logic.py before treating the ROOT_CLUSTER group as understood for sympy sympy, snapshot mark bbdefbbaed.

sympy logic.py closes the file list after external mpmath.py and sympy cache.py, which keeps the sympy sympy note tied to snapshot mark bbdefbbaed, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (809 modules)
  • logic-boolalg.py (12 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in sympy sympy: sympy cache.py?
Start with sympy cache.py, because the rest of the sympy sympy walk leaves from that file and utilities exceptions.py is the next file in the same review. Commit bbdefbbaed records it.
What else is on the sympy sympy walk besides sympy cache.py and sympy logic.py?
sympy logic.py and external mpmath.py stay on the walk with external gmpy.py, which are different files from sympy cache.py inside the ROOT_CLUSTER group for sympy sympy. Commit bbdefbbaed records it.
How should a reviewer use sympy sympify.py in the sympy sympy snapshot?
Keep sympy sympify.py, sympy symbol.py, and sympy numbers.py open together, then check sympy __init__.py before merging the sympy sympy change. Commit bbdefbbaed records it.
Where does the sympy sympy review stop after sympy singleton.py?
Stop after sympy singleton.py, sympy cache.py, and utilities exceptions.py have been compared with sympy logic.py, leaving the ROOT_CLUSTER group until those sympy sympy files are clear. Commit bbdefbbaed records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/sympy/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo