Closed tyrcho closed 9 years ago
-The badge refresh cron job has been erroring so I'll look into that. -That win rate on the profile page takes the previous day's win rate into account so that it is more representative of your performance. Also it looks a lot better (instead of bouncing from 0 to 100 then to 50, etc.) -I'm trying to find a better way to implement the "Top Deck" algorithm for sure. No good ideas so far :(
Hmmm, now the badge image was updated to rank 5, but the percentage on the badge are just different to the other stats displayed on the page.
About the stats per day, I'm surprised by what you say ... For instance on the 06 Jan, it displays 100% win with 0 games played this day. On the 5th I won 3 out of 6 games and the stats displays 85%. On the 4th I won 6 out of 9 games and it displays 75%. In short it seems almost random ...
For the top deck, I suggest to compute the average # of games per deck owned by the user, and weight the win rate by the ratio of games played to this average. For instance :
With regards to the best deck calculations, I will try to implement it with games only in the current season. I'll also have to modify it a bit to take in decks used in the current season only. Seems like quite a bit of calculation so I guess I'll cache it per day as well.
PS. You love Druid :P
Agreed with current season !
I'd say Druid is one of the only classes I don't s.ck too much ... but still did not get golden Druid, about 100 more games to win !
Implemented the weight stuff here: 6d6f038
On my profile, several errors :