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

Incorrect Evaluation of Stalemate #686

Closed
PraseodymiumSpike opened this issue Aug 2, 2023 · 1 comment
Closed

Incorrect Evaluation of Stalemate #686

PraseodymiumSpike opened this issue Aug 2, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@PraseodymiumSpike
Copy link
Contributor

https://discord.com/channels/779317816897699850/791247944463417374/1131175562291990533

also applies to royal ferz, etc.

I suggest that draw by dead position be removed, even for chess. It is too difficult to calculate and took significant research to calculate for normal chess. This is near-impossible to do automatically for arbitrary supported variants. The only exception is when all the pieces are colorbound, and stalemate is a draw. Then, it's easy to tell sometimes. I propose this change be made immediately as incorrectly determining the value of a game is a serious bug.

@ianfab
Copy link
Member

ianfab commented Aug 3, 2023

Thanks for reporting. Just for clarification, the insufficient material calculation we are referring to here is exclusively used by the libraries, i.e., in effect the GUIs, like fairyground and pychess, but not by the engine.

It is generally implemented very conservatively to avoid false positives, it does not really do a dead position detection. Therefore we should just fix this buggy scenario.

@ianfab ianfab added the bug Something isn't working label Aug 20, 2023
@ianfab ianfab added this to the v14.0.2 milestone Aug 20, 2023
@ianfab ianfab closed this as completed in ac35f89 Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants