Skip to content

v0.10.0 - Calibrated detection

Choose a tag to compare

@omertt27 omertt27 released this 11 Sep 18:40
· 100 commits to main since this release

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_REGISTRY ships 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 tag builtin_estimate vs benchmark_run always shown.
  • AnomalySummary / DetectorCalibrationSummary (schema 1.2.0) — new top-level field on CalibraReport pairing 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) — FindingCharacterization enum (TRUE_CORRUPTION / UNUSUAL_VALID / AMBIGUOUS), ReviewedFinding, and ReviewedFindingDataset with precision_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 in experiments/results/.

Changed

  • CalibraReport.schema_version bumped to 1.2.0. Reports from earlier versions are structurally forward-compatible — new nullable fields default to null.