swactor/docs/connectome/connectome_report.txt
zacheryasc 9c866b51a6 feat: transport protocol (#27)
Address actors via ID, send messages over transport (TCP, QUIC, etc)


Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-02-09 19:05:37 +00:00

66 lines
No EOL
3.7 KiB
Text

========================================================================
SPECTRAL ANALYSIS REPORT — Dependency DAG
========================================================================
GRAPH SUMMARY
----------------------------------------
Nodes: 39
Directed edges: 97
Modules: 9
Connected components: 2
Modules: actor, worker, channel, error, config, delivery, stats, runtime, transport
STRUCTURAL PROPERTIES
----------------------------------------
Edges/node (avg degree): 2.49
Max fan-in: 16 (ActorAddress)
Max fan-out: 18 (Runtime)
DAG depth: 7
Clustering coefficient: 0.2668
MODULE COHESION
----------------------------------------
Module Size Cohesion
actor 7 0.214
worker 4 0.167
channel 3 0.500
error 1 —
config 2 0.500
delivery 7 0.167
stats 5 0.250
runtime 3 0.500
transport 7 0.119
────────────────────────────────
Average cohesion: 0.302
Avg module size: 4.3
MODULE COUPLING MATRIX (directed edge counts)
----------------------------------------
actor worker channel error config delivery stats runtime transport
actor 9 0 0 2 0 0 0 0 0
worker 9 2 1 1 0 5 3 0 0
channel 0 0 3 0 0 1 0 0 0
error 0 0 0 0 0 0 0 0 0
config 0 0 0 0 1 0 0 0 0
delivery 5 0 1 2 1 7 0 0 2
stats 2 0 0 0 0 0 5 0 0
runtime 4 1 2 1 1 5 2 3 2
transport 3 0 2 4 0 0 0 0 5
Cross-module edges: 62 / 97 (63.9%)
CONNECTOME COMPLEXITY INDEX (CCI)
----------------------------------------
Sub-metric Raw Normalized Weight Contrib
──────────────────────────────────────── ────────── ────────── ──────── ────────
Algebraic connectivity (lambda_2/n) 0.0000 0.0000 0.25 0.0000
Spectral entropy (H/log2(k)) 4.7287 0.9077 0.25 0.2269
Edge density (|E|/n(n-1)) 0.0655 0.0655 0.15 0.0098
Cross-module coupling ratio 0.6392 0.6392 0.20 0.1278
Spectral radius (rho/(n-1)) 7.9636 0.2096 0.15 0.0314
──────────────────────────────────────── ────────── ────────── ──────── ────────
CCI (weighted sum) 1.00 0.3960
Interpretation: MODERATE complexity — typical well-structured codebase
========================================================================