Simplify TT move extension formula - #6521
Conversation
No functional change
|
Judging by the comment, this would need a matetrack run as well. Not sure how to check effect on retrograde analysis. @pb00068 |
|
I think this was added with the comment to make sure it stays for this reason? |
|
Yes, this is non-functional. |
Unfortunately this patch breaks the retrograde analysis ability of SF, |
|
Thanks! Could you double-check that master is still fine? So the patch is indeed functional, it just doesn't change bench, correct? |
Good catch. P.S.: In order to re-establish the previous backward analysis capability it seems that now we need following condition: Edit 2: condition above sometimes work sometimes not. |
|
I think the best strategy would be to find the (simplification?) commit that broke the retrograde analysis fix you introduced and then possibly revert that (while also adding a comment in the source)? |
Not an easy task to find it. |
|
Starting point would probably be a git-blame on the parts of the code you introduced and believe are critically important. Alternative explanation is that your fix was not that robust in the first place? So maybe it "broke" due to some unrelated patch. |
Since TT entries might be overriden by other positions, no fix is really robust in that sense when relying on TT only. Finding a robust solution would surely require lot of more code and further research... |
by simplifying according condition in search.cpc Passed STC and LTC non-reg bounds: https://tests.stockfishchess.org/tests/view/695ce092912b7ff140de60c6 LLR: 3.17 (-2.94,2.94) <-1.75,0.25> Total: 121728 W: 31439 L: 31298 D: 58991 Ptnml(0-2): 305, 13281, 33554, 13416, 308 https://tests.stockfishchess.org/tests/view/695dfc9702d0182a589fe8e8 LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 56220 W: 14472 L: 14299 D: 27449 Ptnml(0-2): 30, 5326, 17219, 5511, 24 Superseeds PR official-stockfish#6521 bench: 2477446
|
So, similarly to #6531 (comment), the comparison with master for this patch is: Patch Master: So a quite clearly regression for retrograde analysis, from 5294 to 4592 mates found. Edit: Numbers are now corrected, after an earlier version of |
|
based on matetrack results closing |

Simplify TT move extension formula
Passed STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 110560 W: 28603 L: 28469 D: 53488
Ptnml(0-2): 303, 12146, 30254, 12268, 309
https://tests.stockfishchess.org/tests/view/6958ed4dd844c1ce7cc7e98e
No functional change