Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shorten daily averages at start of repository #32

Open
rinusser opened this issue Apr 12, 2019 · 0 comments
Open

shorten daily averages at start of repository #32

rinusser opened this issue Apr 12, 2019 · 0 comments

Comments

@rinusser
Copy link
Owner

Currently the daily intake analysis averages the last n days for each day. At the start of a repository this results in lower averages, since e.g. on the first day there's only one tally for that day, but no prior data.

Change this behavior: days before the first Tally entry shouldn't be counted as empty: the first day's average should always equal that day's tally. The second day should average the first 2 days, and so on.

Missing days in between should still be counted as 0, like is currently being done.

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

No branches or pull requests

1 participant