[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Incorrrect Average Calculation #16

Open
chiptopher opened this issue Jan 23, 2019 · 1 comment
Open

Incorrrect Average Calculation #16

chiptopher opened this issue Jan 23, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@chiptopher
Copy link
Owner

Bug report

The weight averages don't seem to be calculated correctly. Even if my rolling average is 3 days, it doesn't appear if the 231 is being included in the calculation at all:
image

Actual behavior?

Incorrect calculation of weight average.

Expected behavior?

Correct calculation of behavior. Assuming that it doesn't count the entry on the 20th because of timing, the average should be at 229.8. If it did include 232.2, then it would be even higher.

@chiptopher chiptopher added the bug Something isn't working label Jan 23, 2019
@chiptopher
Copy link
Owner Author

Another example.

screenshot from 2019-02-16 08-55-16

The weigh in from today (2019/02/16) doesn't get calculated in the running average calculation.

The current time in milliseconds is 1550325498402.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant