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

Switch user activity chart to 4-week intervals #135

Merged
merged 1 commit into from
Mar 20, 2018

Conversation

pluehne
Copy link
Contributor

@pluehne pluehne commented Feb 28, 2018

The user activity chart stems from before most sliding windows and aggregation methods were switched from 30-day intervals to 4-week intervals. The benefit of this is that weekends are evened out, which avoids accidentally misinterpreting some fluctuations.

This changes the user activity chart accordingly for consistency.

Additionally, the time range computation in the updater report receives a minor refactoring based on the more recent reports.

Note that this change will invalidate previously recorded data based on 30-day intervals. However, no action is taken, because the difference between data aggregated over 28 and 30 days is expected to be subtle.

Resolves #129.

@pluehne pluehne self-assigned this Feb 28, 2018
The user activity chart stems from before most sliding windows and
aggregation methods were switched from 30-day intervals to 4-week
intervals. The benefit of this is that weekends are evened out, which
avoids accidentally misinterpreting some fluctuations.

This changes the user activity chart accordingly for consistency.

Additionally, the time range computation in the updater report receives
a minor refactoring based on the more recent reports.

Note that this change will invalidate previously recorded data based on
30-day intervals. However, no action is taken, because the difference
between data aggregated over 28 and 30 days is expected to be subtle.
@pluehne pluehne force-pushed the patrick/4-weeks-in-user-activity-chart branch from 1964544 to 75cce07 Compare March 20, 2018 10:43
@pluehne
Copy link
Contributor Author

pluehne commented Mar 20, 2018

@larsxschneider: I rebased this on top of the merged changes of #137 and #138.

@larsxschneider larsxschneider merged commit 8201531 into master Mar 20, 2018
@larsxschneider larsxschneider deleted the patrick/4-weeks-in-user-activity-chart branch March 20, 2018 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants