python/cpython

Branch: main · 9 May 2026 at 22:49

Commits
100
Nodes
30
dir edges
49
co_change edges
45
Hub shadows
5
Universal hubs
0

Cross-layer hub correlation

directory_coupling ↔ co_change
r = -0.3962
weak negative hub persistence — layers show partially independent structure
not significant

Hub shadows (5)

Files with a large gap between directory rank (declared) and co-change rank (behavioral).

Lib/profiling/sampling/cli.py
3 commits
dir rank
#27
co_change rank
#2
gap
25
hub_shadow
Lib/typing.py
2 commits
dir rank
#6
co_change rank
#30
gap
24
hub_shadow
Lib/functools.py
2 commits
dir rank
#4
co_change rank
#27
gap
23
hub_shadow
Lib/argparse.py
3 commits
dir rank
#2
co_change rank
#24
gap
22
hub_shadow
Modules/_testinternalcapi.c
5 commits
dir rank
#22
co_change rank
#1
gap
21
hub_shadow

Hub ranking (30 nodes)

#Filehub scorecommitsarchetype
1optimizer.c0.34483
2optimizer_bytecodes.c0.31034
3test_stable_abi_ctypes.py0.31034
4specialize.c0.31033
5inspect.py0.31033
6pdb.py0.31033
7tarfile.py0.31032
8binary_io_reader.c0.27594
9bytecodes.c0.27594
10_testinternalcapi.c0.24145hub_shadow
11module.c0.24143
12argparse.py0.24143hub_shadow
13pylifecycle.c0.24142
14difflib.py0.24142
15test_binary_format.py0.20694
16test_frame_pointer_unwind.py0.20694
17cli.py0.20693hub_shadow
18binary_io_writer.c0.20693
19functools.py0.20692hub_shadow
20typing.py0.20692hub_shadow
21test_robotparser.py0.17244
22test_opt.py0.17244
23test_argparse.py0.17243
24typeobject.c0.13793
25python3dll.c0.13793
26test_collectors.py0.13792
27test_webbrowser.py0.13792
28threads.c0.10342
29arraymodule.c0.06903
30robotparser.py0.03453