Skip to content

fix: count the interpolation grid in calendar days - #577

Open
gwosd wants to merge 1 commit into
mainfrom
fix/interpolation-day-count
Open

gwosd wants to merge 1 commit into
mainfrom
fix/interpolation-day-count

Conversation

@gwosd

@gwosd gwosd commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

The number of days in the interpolation grid came from a timestamp difference, so it was a day off depending on the time of day of the first and last reading and on clock changes. A day too many left one day at 0 kg, which broke the curve and all stats.

Same change as 57a18f0 on feat/state-space-smoothing, so it merges cleanly into v2 later.

Closes #576

Counting 24-hour periods lost or gained a day, depending on the time of
day of the first and last reading and on clock changes. A gained day
showed up as 0 kg in the curve.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new hole on graph breaks all calcs

1 participant