feat(insights): look for level shifts in thirteen vitals over 180 days

The health-status read scanned five vitals over 90 days for a dated,
sustained level shift. It now scans every vital with a stable daily level
(adding RMSSD, diastolic pressure, pulse, body fat, respiratory rate,
oxygen saturation, walking heart rate and VO2 max) over 180 days, reads one
value per day per metric, leaves a metric unread when its module is off,
and reports how many days stand on each side of the break. The Coach keeps
its five-metric, 90-day scan unchanged.
This commit is contained in:
Marc-André Bombeck committed 2026-10-21 22:27:20 +02:00
1 parent 9be720146c
commit 6320c54edd
16 files changed
+347 -24

No files matched your search

+10
View File
@@ -66698,6 +66698,16 @@ components:
enum:
- up
- down
beforeDays:
description: v1.44 — days with a value before the break.
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
afterDays:
description: v1.44 — days with a value from the break on.
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- metric
- breakDate