-
Notifications
You must be signed in to change notification settings - Fork 0
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
Comments
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. |
Possible solutions if someone has not participated in all of the last 4 weeks:
|
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.
The text was updated successfully, but these errors were encountered: