You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(clam): CHAODA outlier-discrimination spike — single-method LFD is below the PROBE-CHAODA-1000G bar
Runs the "1-day spike substitute" named in the genetics-probes-v1 spec
(AdaWorldAPI/lance-graph): a kernel smoke test for the claim "CHAODA
detects novel variants without a trained classifier."
Synthesises a 5-lane Gaussian mixture (matching the probe's 5-lane
variant feature vector) — three tight "common" clusters plus eight
deliberately extreme "novel" outliers — thermometer-encodes each lane
into 48 bits so Hamming distance is monotone in per-lane L1 magnitude
(the honest bridge from ordinal features to the Hamming-metric CLAM
default), builds the shipped ClamTree, and scores via anomaly_scores.
MEASURED (deterministic, seed-fixed):
mean cluster score = 0.6749, mean outlier score = 0.7500
frac cluster >= 0.5 = 0.733, frac outlier >= 0.5 = 0.750
ROC-AUC (Mann-Whitney U) = 0.6240
FINDING: the shipped single-method leaf-LFD anomaly_scores reaches only
AUC ~ 0.62 on the EASIEST possible case (clean synthetic clusters with
far outliers) — well below the probe's >= 0.85 bar. The cause is
mechanical: leaf LFD = log2(|B(c,r)|/|B(c,r/2)|) measures intra-leaf
geometry complexity, not inter-leaf isolation, so an isolated singleton
lands in a leaf whose LFD is comparable to a dense cluster's, and global
min-max normalisation compresses both into the same band. The CHAODA
ensemble of Ishaq et al. 2021 combines several graph-based signals
(relative/component cardinality, graph neighbourhood, random-walk
stationary distribution, vertex degree); only the LFD signal is shipped
here. PROBE-CHAODA-1000G therefore needs the multi-method ensemble or an
augmented signal before it can pass — not merely genomic fixtures.
The test locks robust, wide-tolerance invariants (valid range, bit-exact
determinism, correct polarity, better-than-chance lower bound) plus one
tripwire (auc < 0.85) that fails by design if a future multi-method port
lifts the signal to the probe bar, forcing a cross-repo FINDING update
rather than letting the claim silently rot.
This is the evidence-before-build payoff: the gap is caught before any
adapter-genetics-experimental (D-GEN-1..4) spend.
https://claude.ai/code/session_01VysoWJ6vsyg3wEGc5v7T5v
0 commit comments