KeymashGame / game-tracker

Official Bugtracking Repository for all Keyma.sh issues
6 stars 0 forks source link

Consistency ladder: inaccurate calculations #123

Closed aevi72 closed 3 years ago

aevi72 commented 3 years ago

It seems like the calculation on the consistency ladder is inaccurate. After testing the ladder thoroughly with the help of @ DAMAGED, we found out that there are two possibilities:

Not too sure what happens exactly since our manually calculated averages were always slightly off except for once. Might be worth investigating.

CameronCT commented 3 years ago

Yes there is a confirmed bug.

I forgot to update one part of the code where it shifts the recentWPM object after a certain amount of rows. Since tournaments were always top 20 results, it would shift after the top 20 but then the array would re-average itself based on 20 results.

Fix pushed for staging.