fsmosca / chess-artist

A python script that can annotate chess games in pgn file with static evaluation or search score of an engine, can annotate an epd file with acd, acs, bm, and ce opcodes, can test engine with epd test suite and can generate chess puzzles.
GNU General Public License v3.0
70 stars 18 forks source link

Calculate rating difference based average error. #25

Closed fsmosca closed 8 years ago

fsmosca commented 8 years ago

Convert the average error in a game into winning percentage, with winning percentage calculate the rating difference.

To get winning percentage:

y = -(averageError)/4.0
wp = 1.0/(1.0 + (10**y))

To get rating difference:

wp = 1 / (1 + 10**m)
m = ratingDifference/400
ratingDifference = 400 x m