dblock / slack-gamebot

Ping pong, chess, pool and other games bot for Slack.
MIT License
129 stars 103 forks source link

elo calculations seem wrong #195

Open jonathandavis805 opened 3 years ago

jonathandavis805 commented 3 years ago

I just ran the "challenge? command" for all the players in our leaderboard and the way it's calculating elo at risk doesn't seem to be right. It may be that I just don't understand the calculation. Feedback would be helpful. image image

dblock commented 3 years ago

The code is in https://github.com/dblock/slack-gamebot/blob/88ecc6e955da78e74d9fe4600f5abe478c0c5472/slack-gamebot/models/match.rb#L128 - what do you see that's wrong in that screenshot?