mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Resolve the selected rings server-side and publish them as scoreRings on the dashboard snapshot (additive, optional for cached payloads). READINESS, RECOVERY_SCORE and SLEEP_SCORE go through the same computeDerivedMetric dispatcher the derived batch route calls, with the profile loaded once via the shared loader; MED_COMPLIANCE pools the 7-day adherence across active non-PRN medications through the canonical compliance engine (taken over taken-plus-missed, skips out of the denominator) and bands on the targets-tile thresholds. Rings gate on their owning module plus the insights gate for the derived trio, drop out when no data backs them, and resolve fail-soft per ring so a throwing engine never sinks the snapshot. OpenAPI regenerated.
887 KiB
887 KiB