Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ScoreEstimator bug for Japanese scoring #142

Merged

Conversation

benjaminpjones
Copy link
Contributor

@benjaminpjones benjaminpjones commented Dec 19, 2023

This bug was introduced in d6194f4 and caused captures to be multiplied by a factor of height.

https://forums.online-go.com/t/in-game-score-estimator-bugged/50046


Testing: I added a unit test based on stone_defender's demo board. 8x8 instead of 20x20.

@benjaminpjones benjaminpjones changed the title Fix bug where captures were multiplied by height Fix ScoreEstimator bug for Japanese scoring Dec 19, 2023
@anoek
Copy link
Member

anoek commented Dec 19, 2023

Thanks for the fix!

@anoek anoek merged commit 2b28729 into online-go:main Dec 19, 2023
1 check passed
@benjaminpjones benjaminpjones deleted the fix-japanese-scoring-capture-bug branch December 19, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants