No Ply Restriction in the condition that limits the depth extension to a certain point #5737
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was inspired by shawn's tests, which tried to remove the condition completely.
Interestingly, the patch passed STC but quickly failed LTC.
Reference:
shawn complete removal STC (Passed):
https://tests.stockfishchess.org/tests/view/67350b3a86d5ee47d953ea8f
shawn complete removal LTC (Failed):
https://tests.stockfishchess.org/tests/view/6736825586d5ee47d953ec97
Now, in this implementation, the depth extension is no longer tied to the current ply within the search tree, it now limits it based on the root depth itself. The extension will only be applied if the initial root search depth is greater than 8.
Passed STC:
https://tests.stockfishchess.org/tests/view/6767f4bb86d5ee47d9544582
Passed LTC:
https://tests.stockfishchess.org/tests/view/67695f9986d5ee47d954499c
bench: 926381