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

Add more rigorous testing for exact optimizations #47

Open
sroelants opened this issue Nov 20, 2023 · 0 comments
Open

Add more rigorous testing for exact optimizations #47

sroelants opened this issue Nov 20, 2023 · 0 comments

Comments

@sroelants
Copy link
Owner

There's a whole class of optimizations where we know they should not change the search result, even if they might change the returned score.

  • Transposition table lookups
  • Move ordering (MVV, killer moves, etc...)

A good way to test these features, then, is have a test suite of positions to run over, and make sure they always return the same move as when the optimization is disabled.

Note that this kind of stuff doesn't work for non-exact optimizations like null-move pruning or
quiesence search, because those will inherently change the resulting move.

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

1 participant