Navigation Menu

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

[PATCH] PyChess engine can die probing tablebases #653

Closed
pychess opened this issue Feb 4, 2015 · 2 comments
Closed

[PATCH] PyChess engine can die probing tablebases #653

pychess opened this issue Feb 4, 2015 · 2 comments

Comments

@pychess
Copy link
Collaborator

pychess commented Feb 4, 2015

Original issue 653 reported by UncombedCoconut 2011-03-12

To see the problem, play PyChess (level 8) vs. itself from the attached position. It will hang.

Direct cause: k4it.de changed its promotion flags. I'd just updated the numbers in my dev branch, but this shouldn't be fatal anyway.
This time I tried to get it right: handle exceptions while parsing, cache a "parse error" result as "no moves", and then fix the numbers.

Aside: Pychess still plays like an idiot in the attached position if the TB probes fail. They slow down the search so much that it can't finish a ply, so it plays a8=B?? basically at random. This suggests 2 ideas to try later:

  1. Unless we're at the root or the depth is large (so searching the subtree would be slow anyway), don't probe. (Checking the cache is OK.)
  2. Consider promotions in move ordering. Promotion to Q and to N (only with check?) can go with captures: they "win material". Underpromotions can go last because they're usually stupid.
@pychess
Copy link
Collaborator Author

pychess commented Feb 4, 2015

@pychess
Copy link
Collaborator Author

pychess commented Feb 4, 2015

Original comment 1. posted by UncombedCoconut 2011-03-13

This issue was closed by revision b5f9a903a2.

  • changed status to: Fixed

@pychess pychess closed this as completed Feb 4, 2015
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

No branches or pull requests

0 participants