Shape a metric, then watch detection happen.
Dial in a series that looks like one of yours, turn the detector's real knobs, and see the corridor of normal, what gets flagged, and whether an alert would fire. The math is the actual detectkit detector, ported to run entirely on this page — nothing is sent anywhere.
An alert fires only when this many grid-adjacent flagged points form a run — so a single noisy blip never pages anyone. Each qualifying run is one alert, marked with a ▼ on the chart.
// the same windowed statistics that run in production — current point excluded from its own
window, NaN gaps skipped, seasonality & recency applied per point
// detection runs only in the effective zone (past warm-up, dimmed on the
left); caught = injected incidents a flag landed on · flag rate
= share of judged points flagged · MCC = correlation of flags with the truth ·
the alert needs consecutive_anomalies grid-adjacent flags