Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Optuna architecture

Changing optuna/_warnings.py in Optuna reaches 196 modules. 48 files call it directly. Snapshot abf8914.

The first file to open in Optuna is optuna/_warnings.py. A change there reaches 196 of 239 modules.

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

optuna/_warnings.py196 · 48 fan-in
optuna/_imports.py195 · 49 fan-in
optuna/_experimental.py195 · 47 fan-in
optuna/_deprecated.py193 · 36 fan-in
optuna/distributions.py188 · 48 fan-in

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

Download the finding

Project: Optuna · Score: 70.9/100 (Moderate technical debt) · 239 modules · 1,012 edges · Python · 40 of 54 · Language score median 78.9

Cycles
100+
Duplicate authorities
0
God modules
16
Layer violations
0
arc impact optuna/_warnings.py

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

README badge

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

Blast radius paths

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

Optuna · abf8914

RankFileFan-inBlastShare
1optuna/_warnings.py

concentrates too many responsibilities, shared utility hub

4819682%
2optuna/_imports.py

concentrates too many responsibilities, shared utility hub

4919582%
3optuna/_experimental.py

concentrates too many responsibilities

4719582%
4optuna/_deprecated.py3619381%
5optuna/distributions.py4818879%
All ranked files
RankFileFan-inBlastShare
6optuna/logging.py3818678%
7optuna/study/_study_direction.py2418577%
8optuna/trial/__init__.py8518477%

Highest fan-in

optuna/trial/__init__.pyfan-in 85

Circular dependencies

This snapshot records 100+ dependency cycles.

Nearby proofs

Snapshot notes

In optuna optuna, a change that begins in optuna _warnings.py keeps traveling until it reaches optuna _imports.py, with optuna _experimental.py as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark efccabcbdf.

optuna _deprecated.py is worth opening beside optuna _warnings.py because optuna distributions.py still participates when optuna _deprecated.py moves, and optuna logging.py stays in view for optuna optuna, snapshot mark efccabcbdf.

Review study _study_direction.py only after optuna _imports.py and trial __init__.py are both on the table, since the link from optuna __init__.py back to optuna _experimental.py belongs to optuna optuna under snapshot mark efccabcbdf.

study __init__.py and optuna _warnings.py are later stops, and a reviewer who has already seen optuna _imports.py should still look at optuna _experimental.py before treating the ROOT_CLUSTER group as understood for optuna optuna, snapshot mark efccabcbdf.

optuna _experimental.py closes the file list after optuna _deprecated.py and optuna _warnings.py, which keeps the optuna optuna note tied to snapshot mark efccabcbdf, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (220 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 optuna optuna: optuna _warnings.py?
Start with optuna _warnings.py, because the rest of the optuna optuna walk leaves from that file and optuna _imports.py is the next file in the same review. Commit efccabcbdf records it.
What else is on the optuna optuna walk besides optuna _warnings.py and optuna _experimental.py?
optuna _experimental.py and optuna _deprecated.py stay on the walk with optuna distributions.py, which are different files from optuna _warnings.py inside the ROOT_CLUSTER group for optuna optuna. Commit efccabcbdf records it.
How should a reviewer use optuna logging.py in the optuna optuna snapshot?
Keep optuna logging.py, study _study_direction.py, and trial __init__.py open together, then check optuna __init__.py before merging the optuna optuna change. Commit efccabcbdf records it.
Where does the optuna optuna review stop after study __init__.py?
Stop after study __init__.py, optuna _warnings.py, and optuna _imports.py have been compared with optuna _experimental.py, leaving the ROOT_CLUSTER group until those optuna optuna files are clear. Commit efccabcbdf 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/optuna/" width="320" height="180" frameborder="0"></iframe>

Explore

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