I want to play around with player winrates and stronger/weaker opponents. But I struggle to replicate OGS implementation. My numbers are off by a bit. I try to follow this code.
For example, player 650492. Third ranked game in the list (or fourth if we count one unranked game), id 20514424. Both in rating chat and in game history it appears as loss to weaker opponent.
(why it says there ād.handicapā instead of āhandicapā like two lines above, at line 104?)
We turn opponentās rating 1130.47 into ranks, we get 8.911012654718443, plus 5 stones is 13.911012654718443, which translates back into rating as 1326.6188343301117 which is more than our player rating 1269.95, so itās a loss against stronger opponent?
Sorry for being dense, Iām sure thereās easy explanation but I canāt figure it out. I look at the numbers, and look, and look.
I think it possibly also has something to do with people who play handicap possibly care less whether their opponent was stronger or weaker than them, specifically because handicap is designed to render that point moot.