-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Simplify Pre-Qsearch Extension Condition #5518
Conversation
This has the risk to make unbounded search extensions if the transposition table contains the pv line? We have the same guard in step 15. |
Indeed, this strikes me as the sort of thing which wasn't for Elo but for minimizing explosions. So long as deleting it doesn't gain elo, probably better to keep it (this has considerable historical precedent) |
I don't honestly see what's unbounded about a condition that depends on ttmove existing, also on the other hand, one would argue why not, what makes it a risk specifically? |
I don't think search explosion is of concern here because the next ply is searched only at a depth of 1. This means that pruning is aggressive and most of the child nodes dive in to qsearch immediately. At the very worst case such an explosion will probably only result in a few thousand qsearch calls, which is not really enough to be considered as a search explosion. |
Did a depth 22 bench on big bench, no explosions if (move == ttData.move)
+ {
+ dbg_extremes_of(ss->ply);
newDepth = std::max(newDepth, 1);
+ }
|
Also note that you are simplifying an Elo gaining patch which has been committed a few hours ago:
|
The test was stopped prematurely, it's not statistically rigorous to make conclusions from it.
I don't see how this simplification would have any interaction with any other parameters, especially since |
Well one concern is that if one is allowed to do this *2 *3 *4 while nothing already triggers and they means nothing, then the patch already was phacking the pass.. So... |
rebased |
matetrack result:
|
mh i think id like to keep this for now given that we will soonish release sf 17 but yea the extend to which we extend the search depth here is rather limited and constrained |
Rebased |
bench 1309410
https://tests.stockfishchess.org/tests/view/6736825586d5ee47d953ec97 retest fails LTC |
Passed Non-regression STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 47424 W: 12362 L: 12151 D: 22911
Ptnml(0-2): 180, 5489, 12178, 5670, 195
https://tests.stockfishchess.org/tests/view/669ffce14ff211be9d4ecb0d
Passed Non-regression LTC:
LLR: 3.04 (-2.94,2.94) <-1.75,0.25>
Total: 117372 W: 29675 L: 29545 D: 58152
Ptnml(0-2): 84, 12733, 32941, 12825, 103
https://tests.stockfishchess.org/tests/view/66a0eaa34ff211be9d4ecbcd
bench 1660869