No description
- BreathingRateEstimator: FFT peak detection on 512-sample (25.6s) phase windows at 20Hz, zero-padded to 1024 points, 0.1-0.5 Hz band (6-30 BPM), 60s EMA smoothing - BreathingAnomalyTracker: per-person 30-day rolling EMA (α=0.05), flags elevated breathing at >25% above personal average - ComputeBreathingRegularity: coefficient of variation (std/mean) with regular/normal/irregular labels - Migration 008: add breathing_anomaly BOOL and breathing_samples_json TEXT to sleep_records - Integration: anomaly check in GenerateMorningReports, anomaly data in report/metrics/handler JSON - Table-driven tests: synthetic 15/12/20 BPM signals, circular buffer, noise, EMA convergence, anomaly threshold boundary cases, JSON round-trip, regularity CV computation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .beads | ||
| .marathon | ||
| dashboard | ||
| docs | ||
| firmware | ||
| mothership | ||
| .dockerignore | ||
| .gitignore | ||
| .needle-predispatch-sha | ||
| .needle.yaml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| PROGRESS.md | ||
| VERSION | ||