spaxel/mothership/internal/analytics
jedarden 1266c4c0b1 test: add comprehensive tests for auto-away/disarm and system mode endpoints
Added tests for:
- Auto-away activation when all registered BLE devices absent for 15+ minutes
- Auto-disarm triggering when registered BLE device returns with strong RSSI
- Manual override pausing auto-away detection
- System mode GET/PUT REST API endpoints
- Edge cases: no registered devices, weak BLE signals, unregistered devices

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 07:26:34 -04:00
..
alert_handler.go test: add comprehensive tests for auto-away/disarm and system mode endpoints 2026-04-09 07:26:34 -04:00
anomaly.go fix: wire anomaly detection & security mode API endpoints 2026-04-07 12:10:01 -04:00
anomaly_test.go feat: implement 7-day pattern learning algorithm for anomaly detection 2026-04-06 21:27:10 -04:00
flow.go feat: complete anomaly detection & security mode dashboard UI 2026-04-09 05:59:54 -04:00
flow_test.go feat(localization): implement self-improving localization with BLE ground truth 2026-03-29 20:11:22 -04:00
handler.go feat: wire anomaly detection & security mode API endpoints 2026-04-07 14:47:44 -04:00
patterns.go feat: implement 7-day pattern learning algorithm for anomaly detection 2026-04-06 21:27:10 -04:00
patterns_test.go feat: implement 7-day pattern learning algorithm for anomaly detection 2026-04-06 21:27:10 -04:00