online-go / goratings

This repository contains the (future) official rating and ranking system for online-go.com, as well as analysis code and data to develop that system and compare it to other reference systems.
MIT License
19 stars 6 forks source link

Drop tie breaker for perfect komi and refactor #61

Closed dexonsmith closed 10 months ago

dexonsmith commented 10 months ago

Drop the 0.5 tie-breaker from fair/correct komi (3053fe704c4c3d892c768c5633b16a6e206bd895). The best guess for the correct komi for perfect play is 7 for area and 6 for territory, according to the robots. See https://senseis.xmp.net/?Komi#toc8 and https://en.wikipedia.org/wiki/Komi_(Go)#Perfect_Komi for more.

Also, refactor get_handicap_rank_difference, renaming and improving comments to improve clarity (cfdd2acdf47dfbc3a34c911441547a03d005f5b8).

Note: there was going to be a merge conflict with https://github.com/online-go/goratings/pull/59, so I just built this on top. I'll make this a draft until that one lands.

dexonsmith commented 10 months ago

Some data:

Old: old-rankdiff.txt New: new-rankdiff.txt

Zooming in on hc0 "black wins", very small effect on 19x19, a bit more on 9x9, and something in the middle on 13x13. This makes sense, given the relative impact of 0.5 points.

dexonsmith commented 10 months ago

Note: there was going to be a merge conflict with #59, so I just built this on top. I'll make this a draft until that one lands.

Landed. Merged in master.