HF RL Explorer

chess club Elo ratings: fix bug

chess club Elo ratings: fix bug: a task in smol-software-harbor (Harbor dataset). After an upset win the club ratings move the wrong way: when a 1400 player beats a 1600 player the winner gains almost nothing. The expected score of player A in new ratings() ( elo.py ) uses the rating difference…

The task

After an upset win the club ratings move the wrong way: when a 1400 player beats a 1600 player the winner gains almost nothing. The expected score of player A in `new_ratings()` (`elo.py`) uses the rating difference with the wrong sign. Fix it and run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.