mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
QA UX-H1 (v1.4.39): the rollup fast-path feeds `summarize()` one DataPoint per calendar day (the rollup's `mean`); the live-fallback used to pass every raw entry, which silently shifted `summary.count / latest / min / max / mean / avg7 / avg30 / slope30` on multi-entry days. Pre-aggregating the live-fallback through `aggregateDailyAverages` before `summarize()` keeps both branches byte-identical on multi-entry days too. Pinned with a two-entries-on-the-same-day parity test that compares the live-fallback and rollup-tier summary fields directly.