Repository navigation
v0.10.0 - Calibrated detection
Addresses the core HF feedback question: "Is this anomaly actually corruption, or just unusual data?" Three interlocking additions answer it. A CalibrationRegistry ships empirically-measured benign firing rates on known-clean LeRobot datasets (PushT n=206, ALOHA n=50), so any observed rate can be compared to a baseline rather than treated as absolute. AnomalySummary (schema 1.2.0) surfaces per-detector context — baseline, concentration, detection rate — in the public JSON report. The FindingCharacterization evidence schema (ADR-012) provides vocabulary to distinguish true corruption from unusual-but-valid episodes. Architecture rule enforced throughout: detected anomaly ≠ confirmed corruption ≠ DROP decision.
Added
CalibrationRegistry/CalibrationProfile— in-memory registry of empirically-measured benign firing rates keyed by detector, dataset, task family, and detector version.DEFAULT_REGISTRYships 10 benchmark-measured profiles across PushT (n=206) and ALOHA (n=50) for five detectors (jitter_cv,dropout_rate,spike_rate,vel_disc_rate,ldlj). Provenance tagbuiltin_estimatevsbenchmark_runalways shown.AnomalySummary/DetectorCalibrationSummary(schema 1.2.0) — new top-level field onCalibraReportpairing observed flag rates against calibration baselines, with concentration tags (spread/clustered/endpoint/unknown).Finding.benign_baseline_rate/Finding.baseline_source— calibration context attached per-finding in schema 1.2.0.- Human-reviewed evidence schema (ADR-012) (
calibra/schema/evidence.py) —FindingCharacterizationenum (TRUE_CORRUPTION/UNUSUAL_VALID/AMBIGUOUS),ReviewedFinding, andReviewedFindingDatasetwithprecision_table(),to_markdown(),summary(). - Benign firing rate benchmark (
experiments/benign_firing_rate_benchmark.py) — full HuggingFace-backed benchmark script with Wilson-score 95% CIs; results for PushT and ALOHA included inexperiments/results/.
Changed
CalibraReport.schema_versionbumped to1.2.0. Reports from earlier versions are structurally forward-compatible — new nullable fields default to null.