1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Obey skipQuiets strictly in MovePicker

The current logic in master is to continue return quiet moves if their
history score is above 0. It appears as though this check can be
removed, which is also more logically consistent with the “skipQuiets”
semantics used in search.cpp.

This patch may open new opportunitiesto get Elo by changing or
tuning the definition of 'moveCountPruning' in line 830 of search.cpp,
because obeying skipQuiets without checking the history scores makes
the search more sensitive to 'moveCountPruning'.

STC
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 34780 W: 7680 L: 7584 D: 19516
http://tests.stockfishchess.org/tests/view/5a79f8d80ebc5902971a99db

LTC
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 38757 W: 6732 L: 6641 D: 25384
http://tests.stockfishchess.org/tests/view/5a7afebe0ebc5902971a9a46

Bench 4954595
This commit is contained in:
protonspring 2018-02-08 10:45:45 +01:00 committed by Stéphane Nicolet
parent 312a248fa9
commit 69067e1988

View file

@ -221,8 +221,8 @@ Move MovePicker::next_move(bool skipQuiets) {
/* fallthrough */ /* fallthrough */
case QUIET: case QUIET:
while ( cur < endMoves if (!skipQuiets)
&& (!skipQuiets || cur->value >= VALUE_ZERO)) while (cur < endMoves)
{ {
move = *cur++; move = *cur++;