From 28749ec6e70464df690444ae121be22110ba9854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Tue, 7 Jul 2026 10:22:17 +0200 Subject: [PATCH] docs(dashboard): describe the MED_COMPLIANCE ring as today's dose tally MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The scoreRings doc comment still called the ring the pooled 7-day adherence — that was the v1.27.7 first cut. Since v1.27.8 the ring is today's taken/scheduled dose progress from the snapshot's own medsToday block (see src/lib/dashboard/score-rings.ts). Comment-only change. --- src/lib/dashboard/snapshot.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/dashboard/snapshot.ts b/src/lib/dashboard/snapshot.ts index 424177dc9..5840676fa 100644 --- a/src/lib/dashboard/snapshot.ts +++ b/src/lib/dashboard/snapshot.ts @@ -408,8 +408,9 @@ export interface DashboardSnapshot { /** * v1.27.7 — the user-selected hero score rings (max 3), resolved * server-side: READINESS / RECOVERY_SCORE / SLEEP_SCORE through the - * same engines the derived batch route calls, MED_COMPLIANCE as the - * pooled 7-day adherence from the canonical compliance engine. Only + * same engines the derived batch route calls, MED_COMPLIANCE as + * TODAY's dose tally (taken / scheduled, from the snapshot's own + * medsToday block — v1.27.8; not a trailing 7-day rate). Only * rings with data appear (selection order preserved); module-disabled * and data-less selections drop out, so the hero row self-gates. * Optional on the type (additive contract) so older cached snapshots