Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

pytest architecture

Changing _pytest/outcomes.py in pytest reaches 56 modules. 22 files call it directly. Snapshot 50234b4.

The first file to open in pytest is _pytest/outcomes.py. A change there reaches 56 of 81 modules.

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

_pytest/outcomes.py56 · 22 fan-in
_pytest/compat.py54 · 21 fan-in
_pytest/warning_types.py52 · 18 fan-in
_pytest/__init__.py47 · 20 fan-in
_pytest/deprecated.py47 · 18 fan-in

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

Download the finding

Project: pytest (src) · Score: 67.6/100 (Moderate technical debt) · 81 modules · 476 edges · Python · 49 of 54 · Language score median 78.9

Cycles
85
Duplicate authorities
0
God modules
16
Layer violations
0
arc impact _pytest/outcomes.py

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

README badge

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

Blast radius paths

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

pytest · 50234b4

RankFileFan-inBlastShare
1_pytest/outcomes.py

concentrates too many responsibilities, shared utility hub

225669%
2_pytest/compat.py

concentrates too many responsibilities, shared utility hub

215467%
3_pytest/warning_types.py

concentrates too many responsibilities

185264%
4_pytest/__init__.py204758%
5_pytest/deprecated.py184758%
All ranked files
RankFileFan-inBlastShare
6_pytest/config/argparsing.py264454%
7_pytest/config/__init__.py394353%
8_pytest/nodes.py274353%

Highest fan-in

_pytest/config/__init__.pyfan-in 39

Circular dependencies

This snapshot records 85 dependency cycles.

Nearby proofs

Snapshot notes

In pytest-dev pytest, a change that begins in _pytest outcomes.py keeps traveling until it reaches _pytest compat.py, with _pytest warning_types.py as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark bffccfbdfb.

_pytest __init__.py is worth opening beside _pytest outcomes.py because _pytest deprecated.py still participates when _pytest __init__.py moves, and config argparsing.py stays in view for pytest-dev pytest, snapshot mark bffccfbdfb.

Review config __init__.py only after _pytest compat.py and _pytest nodes.py are both on the table, since the link from _pytest outcomes.py back to _pytest warning_types.py belongs to pytest-dev pytest under snapshot mark bffccfbdfb.

_pytest compat.py and _pytest warning_types.py are later stops, and a reviewer who has already seen _pytest outcomes.py should still look at _pytest __init__.py before treating the ROOT_CLUSTER group as understood for pytest-dev pytest, snapshot mark bffccfbdfb.

_pytest deprecated.py closes the file list after config argparsing.py and _pytest outcomes.py, which keeps the pytest-dev pytest note tied to snapshot mark bffccfbdfb, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (76 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 pytest-dev pytest: _pytest outcomes.py?
Start with _pytest outcomes.py, because the rest of the pytest-dev pytest walk leaves from that file and _pytest compat.py is the next file in the same review. Commit bffccfbdfb records it.
What else is on the pytest-dev pytest walk besides _pytest outcomes.py and _pytest warning_types.py?
_pytest warning_types.py and _pytest __init__.py stay on the walk with _pytest deprecated.py, which are different files from _pytest outcomes.py inside the ROOT_CLUSTER group for pytest-dev pytest. Commit bffccfbdfb records it.
How should a reviewer use config argparsing.py in the pytest-dev pytest snapshot?
Keep config argparsing.py, config __init__.py, and _pytest nodes.py open together, then check _pytest outcomes.py before merging the pytest-dev pytest change. Commit bffccfbdfb records it.
Where does the pytest-dev pytest review stop after _pytest compat.py?
Stop after _pytest compat.py, _pytest warning_types.py, and _pytest __init__.py have been compared with _pytest outcomes.py, leaving the ROOT_CLUSTER group until those pytest-dev pytest files are clear. Commit bffccfbdfb 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/pytest/" width="320" height="180" frameborder="0"></iframe>

Explore

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