Average Joe Matt
Method · Changepoint detection · detect_changepointsAs of 1 Dec

Changepoint detection (abrupt level shift)

Binary segmentation: recursively finds the strongest single-changepoint split (CUSUM-style max-statistic scan, _single_changepoint) in each sub-segment, up to max_changepoints (default 3); each accepted break must clear a Bonferroni-corrected confidence gate (default 0.99) AND a |Cohen's d| ≥ min_effect (default 1.0) magnitude gate
WindowCaller-supplied chronological series (None/non-numeric dropped, order kept); the one registered consumer runs it over a 60-day lookback (CHANGEPOINT_WINDOW_DAYS) and only surfaces breaks dated within the trailing 28 days (CHANGEPOINT_RECENT_DAYS) as actionable. Minimum n14 Used bydaily_insight_compute_lambda.py's _compute_changepoints (IC-31, #542) — HRV / Resting HR / Weight level-shift detection injected into the daily brief's priority queue. No public website consumer as of #3449.

Limitations

Needs ≥ 2·min_segment (default 7) clean points on both sides of a candidate split or returns status 'insufficient_data' with an empty changepoint list — no shift is ever claimed that can't be tested. Finds abrupt LEVEL shifts only, not gradual drift (see the platform's separate slow-drift window comparison) or seasonal breaks. Binary segmentation is greedy (strongest break first), not exhaustive, so a real but smaller simultaneous break can be missed. SCOPE NOTE (#542, the deliberately weaker exemplar of this hygiene pass, #3449): as of this entry the only registered consumer is the daily-insight compute's priority-3/4 injection into the DAILY EMAIL BRIEF, a private single-recipient surface — not the public website. This entry documents it anyway because the registry's contract is 'every stat the platform publishes', and a personal daily brief is a publication surface even though it is not public; re-scope this note if a public consumer is added.