# 9x9 handicap behaving strange

Going to the site and checking out this game with automatic handicap: https://online-go.com/game/1484829, I have come to the conclusion that OGS thinks that a 20k player is 11 ranks weaker than a 13k player. This is strange. The handicap calculation probably has got a bug in it.

I count 9 stones difference, which still doesnât add up.

There are two places to look at when figuring out the ranks. The second place is game information page. I wrote the ranks from there. I have no clue which ranks are used for handicap calculations and I generally dislike the system where you have four ranks and on every page one of them (maybe at random, I have no clue) is displayed, without info about which rank it is.

Looks like itâs just a display issue where the UI is not using the âLiveâ game speed rank to display. In that case the handicap does add up

1 Like

So, there are two different ranks shown for each player and yet, neither of them is used for handicap calculation?

If you go to a playerâs profile page you will see that we have 3 game speed ranks and then an overall rank.

Handicap selection is based on the playerâs rank as determined by the speed of the game (blitz, live, or correspondence).

I think this game was blitz. The differences in rank are 7 [9 6 10]. The differences of 7, 9 and 6 for overall, blitz and live are nowhere near an eleven stone difference.

I think we are doing this correctly as per your very first link.

For 9x9 where automatic handicap is selected here is our basic algorithm:

actual_handicap = math.ceil(max(0, abs(white_speed_rank - black_speed_rank)) / 4.0

Note that in this game we didnât use an 11 stone handicapâŚ we gave black 3 stones.

(Very off topic, but isnât max(0, abs(sth)) redundant?)

maybe

First thing to come to mind after finding out what the functions mean: why isnât â/4â inside the .ceil?
OK, to the point, the three point handicap is correct, but the -2.5 komi corresponds to 11 rank difference, A komi of about +3 would be correct for a difference of 9 ranks.

1 Like

Just finished another handicap 9x9 game https://online-go.com/game/1505882 and again the komi doesnât seem right. Since there is a two rank difference between me and my opponent in every rank, the komi value according to the table should be 0, but it is 3.5. Could you please check the way server decides komi for automatically handicapped 9x9 games?

Edit: my opponentâs rank has just changed, but this game is another example https://online-go.com/game/1505978