Expand description
§ax-detect — the detector engine
A Detector is a contract: given a normalized RecordSet, it either
runs and emits Findings, or it declares honest Absence (e.g. “no
numeric columns”). It never fabricates a clean result for data it couldn’t
assess. The Registry runs a set of detectors deterministically and
collects everything into one Report, which the CLI turns into a tq1
envelope.
All math routes through ax_core::det, so every detector inherits
order-independent, reproducible reductions.
Re-exports§
pub use cadence::CadenceDetector;pub use coll::CusumDetector;pub use config::DetectConfig;pub use ctx::SeasonalDetector;pub use dist::Chi2Detector;pub use dist::KsDetector;pub use dist::PsiDetector;pub use mv::MahalanobisDetector;pub use point::PointDetector;pub use structural::SchemaDetector;
Modules§
- cadence
- Cadence anomaly detector (metronomic regularity).
- calibrate
- Unified confidence calibration.
- coll
- Collective anomaly detector (CUSUM level shift).
- config
- Detector configuration and the config-version fingerprint.
- ctx
- Contextual anomaly detector (seasonal subseries).
- dist
- Distributional drift detectors — they compare a column in the current
corpus against the same column in a baseline. With no baseline they report
honest
Absence: drift is undefined without something to drift from. - fdr
- Multiplicity control for per-cell significance tests — Benjamini–Hochberg false-discovery-rate (FDR) control.
- linalg
- Minimal, deterministic linear algebra for the multivariate detector.
- mv
- Multivariate outlier detector (Mahalanobis distance).
- point
- Statistical point-anomaly detector.
- robustz
- Robust modified z-score primitives, shared by the point and contextual detectors so the (mutation-pinned) scale selection and confidence mapping live in exactly one place.
- structural
- Structural anomaly detector.
Structs§
- Registry
- An ordered set of detectors. Order is fixed at registration, so output is deterministic; the envelope re-sorts findings, but absence order follows registration for a stable contract.
- Report
- What a detector emits into the shared report. Detectors push findings and, when they cannot meaningfully run, mark themselves absent with a reason.
- Scan
Context - The corpus (or pair of corpora) under assessment.
Traits§
- Detector
- A single anomaly-detection contract.