mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
A sensor reading every five minutes puts about 26 000 glucose readings in a 90-day window, and the per-kind series sent every one of them raw. The hourly bucketing that already applies to a dense heart-rate stream now applies to glucose too, with the same 10 000-reading cap: the hour's mean converted once to the user's unit, statistics over every raw reading. A fingerstick meter stays far under the cap and keeps its raw points. The doctor report keeps glucose raw inside 90 days. Its clinical panel is computed from the raw readings of every source, while the day path works from canonical-source day buckets, so the two do not give the same figures when a meter and a sensor overlap.