Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

MinerU architecture

Changing mineru/types.py in MinerU reaches 204 modules. 83 files call it directly. Snapshot f0497e0.

The first file to open in MinerU is mineru/types.py. A change there reaches 204 of 436 modules.

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

mineru/types.py204 · 83 fan-in
mineru/config.py177 · 48 fan-in
utils/i18n.py139 · 31 fan-in
mineru/errors.py136 · 36 fan-in
runtime/device.py99 · 12 fan-in

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

Download the finding

Project: MinerU · Score: 86.6/100 (Healthy architecture) · 436 modules · 1,349 edges · Python · 13 of 54 · Language score median 78.9

Cycles
18
Duplicate authorities
0
God modules
19
Layer violations
0
arc impact mineru/types.py

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

README badge

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

Blast radius paths

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

MinerU · f0497e0

RankFileFan-inBlastShare
1mineru/types.py

concentrates too many responsibilities, shared utility hub

8320447%
2mineru/config.py

concentrates too many responsibilities, shared utility hub

4817741%
3mineru/utils/i18n.py

concentrates too many responsibilities

3113932%
4mineru/errors.py3613631%
5mineru/model/runtime/device.py129923%
All ranked files
RankFileFan-inBlastShare
6mineru/parser/page_range.py209121%
7mineru/model/ocr/image.py149121%
8mineru/filetypes.py258820%

Circular dependencies

This snapshot records 18 dependency cycles.

Nearby proofs

Snapshot notes

In opendatalab mineru, a change that begins in mineru types.py keeps traveling until it reaches mineru config.py, with utils i18n.py as the third file on that walk and the reader-ofd_reader.py group as the group around them, snapshot mark eaafabedae.

mineru errors.py is worth opening beside mineru types.py because runtime device.py still participates when mineru errors.py moves, and parser page_range.py stays in view for opendatalab mineru, snapshot mark eaafabedae.

Review ocr image.py only after mineru config.py and mineru filetypes.py are both on the table, since the link from utils _private_file_macos.py back to utils i18n.py belongs to opendatalab mineru under snapshot mark eaafabedae.

utils private_file.py and mineru types.py are later stops, and a reviewer who has already seen mineru config.py should still look at utils i18n.py before treating the reader-ofd_reader.py group as understood for opendatalab mineru, snapshot mark eaafabedae.

utils i18n.py closes the file list after mineru errors.py and mineru types.py, which keeps the opendatalab mineru note tied to snapshot mark eaafabedae, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • reader-ofd_reader.py (6 modules)
  • modeling-common.py (10 modules)
  • heads-generation_cache.py (3 modules)
  • runtime-hybrid.py (7 modules)
  • runtime-windows_gpu.py (20 modules)
  • ROOT_CLUSTER (264 modules)
  • tools-benchmark_mps_det_service.py (31 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 opendatalab mineru: mineru types.py?
Start with mineru types.py, because the rest of the opendatalab mineru walk leaves from that file and mineru config.py is the next file in the same review. Commit eaafabedae records it.
What else is on the opendatalab mineru walk besides mineru types.py and utils i18n.py?
utils i18n.py and mineru errors.py stay on the walk with runtime device.py, which are different files from mineru types.py inside the reader-ofd_reader.py group for opendatalab mineru. Commit eaafabedae records it.
How should a reviewer use parser page_range.py in the opendatalab mineru snapshot?
Keep parser page_range.py, ocr image.py, and mineru filetypes.py open together, then check utils _private_file_macos.py before merging the opendatalab mineru change. Commit eaafabedae records it.
Where does the opendatalab mineru review stop after utils private_file.py?
Stop after utils private_file.py, mineru types.py, and mineru config.py have been compared with utils i18n.py, leaving the reader-ofd_reader.py group until those opendatalab mineru files are clear. Commit eaafabedae 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/mineru/" width="320" height="180" frameborder="0"></iframe>

Explore

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