Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Question: Is Ray accounting for the number of handicap stones for score calculation? #152
For this question, I am assuming Ray is playing according to Chinese rule (area scoring). Please correct me if I am wrong.
There is not 100% consensus regarding area scoring and handicap games, but it is usual to add the number of handicap stones to the points made by White. So that White score, after removing all dead stones, will be the sum of :
For instance, Leela Zero accounts for it:
From what I can read in the code; Ray does not account for it:
Could you confirm?
I got my answer: I crafted the enclosed SGF file (9 handicap stones, komi 11.5) and asked Ray to evaluate final_score. Result for Ray: B+132.5
In the same time, Leela, Leela Zero and GnuGo give B+112.5
If I count myself (Chinese rule):
Now, even without accounting for the handicap stone, it should be B+121.5 and not B+132.5 which seems to indicate that Ray does not accound neither for handicap (<- this might be ok depending on rule set) neither for komi.
Difference of score : 132.5 - 121.5 = 11.0
This is Ray's bug. I will fix it.