Preview what the anomaly gate would flag (beta)
preview_anomaliesSimulate anomaly detection on recorded robot logs to preview which signals and thresholds would flag events, enabling informed configuration before deploying an anomaly pipeline.
Instructions
Dry-run the on-robot anomaly screen over a recorded log without calling any decision model or writing artifacts. Learns a rolling baseline the way the src.pipeline.gates.anomaly gate does, then reports every window the screen would flag (mean shift, extreme sample, topic dropout) with the signal, value and z-score, flag counts per signal, and plain-language advice (signals that drift by design, warm-up longer than the log). Inspect topics first and pass signals as rates and errors (accelerations, angular rates, currents), never positions or orientations. Use it to choose signals and thresholds before saving an anomaly pipeline. It models screen mode with the decision model confirming every flag, every: N seconds cadences, and a gate that sees every fire (list the anomaly gate first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| path | Yes | ||
| topics | No | ||
| signals | No | ||
| max_signals | No | ||
| z_threshold | No | ||
| cadence_topic | No | ||
| warmup_minutes | No | ||
| window_seconds | Yes | ||
| cadence_seconds | No | ||
| dropout_seconds | No | ||
| baseline_window_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||