File size: 769 Bytes
d1ac27a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""Regression Root Cause Analysis (RCA) investigation workbench.

A skeptical, staged methodology for answering "offline says +5%, shadow says
-2% -- which is real, and why?" without assuming either measurement is valid.

Modules:
    models      investigation entity, stage state machine, evidence records
    scenario    synthetic offline+shadow dataset generator with planted causes
    stats       Wilson CIs, PSI / JS / KS, cluster-aware effective sample size
    diagnostics per-stage diagnostic computations (pure functions on data)
    scoring     root-cause scoring board, decision tree, experiment ranking
    report      final markdown + JSON report assembly
    store       persistence under runs/rca/
    api         FastAPI router mounted at /api/rca
"""