]> git.sesse.net Git - stockfish/commit
Fix capturing underpromotions issue
authorperegrineshahin <peregrineshahin@gmail.com>
Thu, 16 Mar 2023 21:04:41 +0000 (00:04 +0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 12 Apr 2023 18:38:43 +0000 (20:38 +0200)
commit4ad2713e19cbf8db1e588c4d24d1fe4af5c6e917
tree3cf81b410fac5ad1f3135f6ed5b70b0b597f30fe
parent7bd23d4d04d6644b6ccae8ea63cfc6646e4248dd
Fix capturing underpromotions issue

Fix underpromotion captures are generated amongst quiets although dealt with as a capture_stage in search, this makes not skipping them when move count pruning kicks-in consistent with updating their histories amongst captures.

Passed STC:
https://tests.stockfishchess.org/tests/view/6415579f65775d3b539e7537
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 118896 W: 31678 L: 31553 D: 55665
Ptnml(0-2): 356, 12911, 32793, 13028, 360

Passed LTC:
https://tests.stockfishchess.org/tests/view/641633b965775d3b539e9e95
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 126800 W: 34255 L: 34148 D: 58397
Ptnml(0-2): 57, 12216, 38763, 12291, 73

see also discussion in https://github.com/official-stockfish/Stockfish/pull/4436
closes https://github.com/official-stockfish/Stockfish/pull/4452

bench: 3979409
src/movegen.cpp