goonpug / goonpug-stats

This flask stats site is deprecated and has been replaced with goonpug-web
https://github.com/goonpug/goonpug-web
Other
1 stars 2 forks source link

add a PlayerRating model #2

Open pmrowla opened 11 years ago

pmrowla commented 11 years ago

PlayerRating should be used to track a player's goonskill rating numbers, as well as the player's total RWS and number of rounds played. Having all of this info in one table will make it easier to do the queries we need on the SM plugin side.

pmrowla commented 11 years ago

Also, I think that average RWS should be calculated using the harmonic mean instead of the arithmetic mean. This reduces the impact of outlier rounds, and rewards players who are more consistent than others.

pmrowla commented 11 years ago

harmonic mean won't work since there are 0 values. I tried geometric mean and everyone's numbers end up being super low, so I guess I'll stick with arithmetic