Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

spaCy architecture

Changing spacy/lang/char_classes.py in spaCy reaches 273 modules. 37 files call it directly. Snapshot 7ff14d4.

The first file to open in spaCy is spacy/lang/char_classes.py. A change there reaches 273 of 601 modules.

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

lang/char_classes.py273 · 37 fan-in
lang/punctuation.py251 · 25 fan-in
spacy/compat.py234 · 12 fan-in
spacy/errors.py233 · 64 fan-in
lang/tokenizer_exceptions.py231 · 43 fan-in

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

Download the finding

Project: spaCy · Score: 81.8/100 (Healthy architecture) · 601 modules · 1,238 edges · Python · 24 of 54 · Language score median 78.9

Cycles
65
Duplicate authorities
0
God modules
16
Layer violations
0
arc impact spacy/lang/char_classes.py

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

README badge

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

Blast radius paths

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

spaCy · 7ff14d4

RankFileFan-inBlastShare
1spacy/lang/char_classes.py

concentrates too many responsibilities, shared utility hub

3727345%
2spacy/lang/punctuation.py

concentrates too many responsibilities, shared utility hub

2525142%
3spacy/compat.py

concentrates too many responsibilities

1223439%
4spacy/errors.py6423339%
5spacy/lang/tokenizer_exceptions.py4323138%
All ranked files
RankFileFan-inBlastShare
6spacy/about.py723038%
7spacy/kb/__init__.py423038%
8spacy/matcher/__init__.py423038%
9spacy/language.py11222938%

Highest fan-in

spacy/language.pyfan-in 112

Circular dependencies

This snapshot records 65 dependency cycles.

Nearby proofs

Snapshot notes

In explosion spacy, a change that begins in lang char_classes.py keeps traveling until it reaches lang punctuation.py, with spacy compat.py as the third file on that walk and the lang-norm_exceptions.py group as the group around them, snapshot mark aebccdbbee.

spacy errors.py is worth opening beside lang char_classes.py because lang tokenizer_exceptions.py still participates when spacy errors.py moves, and spacy about.py stays in view for explosion spacy, snapshot mark aebccdbbee.

Review kb __init__.py only after lang punctuation.py and matcher __init__.py are both on the table, since the link from spacy language.py back to spacy compat.py belongs to explosion spacy under snapshot mark aebccdbbee.

spacy util.py and tokens __init__.py are later stops, and a reviewer who has already seen lang char_classes.py should still look at lang punctuation.py before treating the lang-norm_exceptions.py group as understood for explosion spacy, snapshot mark aebccdbbee.

lang punctuation.py closes the file list after spacy compat.py and lang char_classes.py, which keeps the explosion spacy note tied to snapshot mark aebccdbbee, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • lang-norm_exceptions.py (3 modules)
  • lang-tokenizer_exceptions.py (42 modules)
  • spacy-util.py (246 modules)
  • components-link (60 modules)
  • src-templates (11 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 explosion spacy: lang char_classes.py?
Start with lang char_classes.py, because the rest of the explosion spacy walk leaves from that file and lang punctuation.py is the next file in the same review. Commit aebccdbbee records it.
What else is on the explosion spacy walk besides lang char_classes.py and spacy compat.py?
spacy compat.py and spacy errors.py stay on the walk with lang tokenizer_exceptions.py, which are different files from lang char_classes.py inside the lang-norm_exceptions.py group for explosion spacy. Commit aebccdbbee records it.
How should a reviewer use spacy about.py in the explosion spacy snapshot?
Keep spacy about.py, kb __init__.py, and matcher __init__.py open together, then check spacy language.py before merging the explosion spacy change. Commit aebccdbbee records it.
Where does the explosion spacy review stop after spacy util.py?
Stop after spacy util.py, tokens __init__.py, and lang char_classes.py have been compared with lang punctuation.py, leaving the lang-norm_exceptions.py group until those explosion spacy files are clear. Commit aebccdbbee 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/spacy/" width="320" height="180" frameborder="0"></iframe>

Explore

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