The remaining seven MetricKinds #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Adds the rest of the curated set from ADR 0007, following the pattern proven in #8: sleep minutes, awake minutes, resting heart rate, HRV, exercise minutes, screen time minutes, and alcoholic drinks.
Each is one newtype with its own valid range plus one
MetricValuevariant. Units live in the type —Hrvis milliseconds; no field carries a unit suffix.The set is deliberately small and membership is earned. A
MetricKindmust have real day-to-day variance, be measured well enough to trust, and not restate one already present. ADR 0007 records what was rejected and why — blood oxygen and respiratory rate are near-constant in healthy people, wrist-based sleep staging is weakly validated, active energy and average heart rate restate steps and exercise, mindful minutes is zero for most people on most days, water is unreliable self-report, and weight moves with hydration rather than signal.Do not add anything not on this list. Every added kind costs an expected false positive across the correlation set, which is what makes the survivors credible.
Alcohol is a count of standard drinks, matching what health providers already report — no conversion needed. Caffeine is deliberately absent: providers report milligrams, humans report cups, and nothing converts between them honestly.
Acceptance criteria
MetricValuevariant;MetricKindderivation covers all of themBlocked by