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

4-week average calculates incorrectly for recently added users #7

Open
shuesken opened this issue Feb 10, 2018 · 2 comments
Open

4-week average calculates incorrectly for recently added users #7

shuesken opened this issue Feb 10, 2018 · 2 comments
Labels
question Further information is requested

Comments

@shuesken
Copy link
Collaborator

Expected behavior: New user that has participated in the auction for two weeks, gaining 300 and 400 points respectively, has a 4-week average of (200 + 400) / 2 = 300 points.

Actual behavior: New user that has participated in the auction for two weeks, gaining 300 and 400 points respectively, has a 4-week average of (200 + 400) / 4 = 150 points.

@shuesken shuesken added the bug Something isn't working label Feb 10, 2018
@arsylum
Copy link
Owner

arsylum commented Feb 10, 2018

That is up to debate / matter of definition. As a matter of fact within the last 4 weeks that user has contributed an average of 150 points per week, since the contribution was 0 in the first two weeks.

This is related to the problem of total average which could be defined as (total_points / beginning_of_time) or ( total_points / time_since_first_participation) or (total_points / weeks_participated) or (total_points / weeks_contributed) etc... While the first option is not useful, most other options require a greater extent of data tracking that does not exist yet in the system since participation cannot be defined based on (lack of) bids or transactions.

It's also worth mentioning that there are many edge cases in which the statistic calculation will behave incorrect or fuzzy.

@arsylum arsylum added question Further information is requested and removed bug Something isn't working labels Feb 10, 2018
@DougInAMug
Copy link

Possible solutions if someone has not participated in all of the last 4 weeks:

  • leave the 4 week average section blank
  • grey the average and put an tooltip/hover-over explaining the user hasn't been there all 4 last weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants