mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 09:39:36 +00:00
Simplify NMP Condition
Remove eval >= ss->staticEval condition for Null Move Pruning. Passed non-regression STC: LLR: 2.93 (-2.94,2.94) <-1.75,0.25> Total: 44000 W: 11420 L: 11202 D: 21378 Ptnml(0-2): 174, 5243, 10978, 5401, 204 https://tests.stockfishchess.org/tests/live_elo/6603ee490ec64f0526c57984 Passed non-regression LTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 82956 W: 20978 L: 20818 D: 41160 Ptnml(0-2): 54, 9353, 22499, 9523, 49 https://tests.stockfishchess.org/tests/live_elo/660464b50ec64f0526c5804d closes https://github.com/official-stockfish/Stockfish/pull/5142 Bench 1759189
This commit is contained in:
parent
0ef5d05102
commit
e13e4cfb83
2 changed files with 3 additions and 2 deletions
1
AUTHORS
1
AUTHORS
|
@ -204,6 +204,7 @@ sf-x
|
||||||
Shahin M. Shahin (peregrine)
|
Shahin M. Shahin (peregrine)
|
||||||
Shane Booth (shane31)
|
Shane Booth (shane31)
|
||||||
Shawn Varghese (xXH4CKST3RXx)
|
Shawn Varghese (xXH4CKST3RXx)
|
||||||
|
Shawn Xu (xu-shawn)
|
||||||
Siad Daboul (Topologist)
|
Siad Daboul (Topologist)
|
||||||
Stefan Geschwentner (locutus2)
|
Stefan Geschwentner (locutus2)
|
||||||
Stefano Cardanobile (Stefano80)
|
Stefano Cardanobile (Stefano80)
|
||||||
|
|
|
@ -774,8 +774,8 @@ Value Search::Worker::search(
|
||||||
|
|
||||||
// Step 9. Null move search with verification search (~35 Elo)
|
// Step 9. Null move search with verification search (~35 Elo)
|
||||||
if (!PvNode && (ss - 1)->currentMove != Move::null() && (ss - 1)->statScore < 16878
|
if (!PvNode && (ss - 1)->currentMove != Move::null() && (ss - 1)->statScore < 16878
|
||||||
&& eval >= beta && eval >= ss->staticEval && ss->staticEval >= beta - 20 * depth + 314
|
&& eval >= beta && ss->staticEval >= beta - 20 * depth + 314 && !excludedMove
|
||||||
&& !excludedMove && pos.non_pawn_material(us) && ss->ply >= thisThread->nmpMinPly
|
&& pos.non_pawn_material(us) && ss->ply >= thisThread->nmpMinPly
|
||||||
&& beta > VALUE_TB_LOSS_IN_MAX_PLY)
|
&& beta > VALUE_TB_LOSS_IN_MAX_PLY)
|
||||||
{
|
{
|
||||||
assert(eval - beta >= 0);
|
assert(eval - beta >= 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue