FauziAkram and Joost VandeVondele
d864148595
Simplify beta formula
...
Passed STC:
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 152384 W: 39907 L: 39814 D: 72663
Ptnml(0-2): 557, 17958, 39053, 18083, 541
https://tests.stockfishchess.org/tests/view/6890b66692fcad741b804a10
Passed LTC:
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 98688 W: 25411 L: 25270 D: 48007
Ptnml(0-2): 45, 10692, 27743, 10805, 59
https://tests.stockfishchess.org/tests/view/6896019c618946ab878347b0
closes: https://github.com/official-stockfish/Stockfish/pull/6220
bench: 3002300
2025-08-16 11:57:44 +02:00
Stefan Geschwentner and Joost VandeVondele
2e91a86354
Add log depth as term to reduction factors.
...
Replace most reduction factors with a linear term of the form X + Y * msb(depth) (using msb(depth) as simple and fast approximation for log(depth))
and tune the weights with following SPSA test: https://tests.stockfishchess.org/tests/view/689903860049e8ccef9d6415 .
Here the tuned values of X[8] and Y[8] were ignored because a simple test with this parameters alone failed badly (https://tests.stockfishchess.org/tests/view/68992b350049e8ccef9d6482 ).
Passed STC:
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 32448 W: 8651 L: 8342 D: 15455
Ptnml(0-2): 81, 3695, 8408, 3914, 126
https://tests.stockfishchess.org/tests/view/6899489b0049e8ccef9d64ad
Passed LTC:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 73854 W: 19042 L: 18649 D: 36163
Ptnml(0-2): 37, 7908, 20659, 8271, 52
https://tests.stockfishchess.org/tests/view/689abbe7fd8719b088c8d514
closes https://github.com/official-stockfish/Stockfish/pull/6229
Bench: 3151102
2025-08-16 11:51:39 +02:00
Jost Triller and Joost VandeVondele
7a07ac0e76
Adjust probcut on staticEval
...
Reducing probcut depth more when staticEval is very good and less if staticEval is not so good compared to beta
STC: https://tests.stockfishchess.org/tests/view/68926bf6690844f940fa1350
LLR: 2.98 (-2.94,2.94) <0.00,2.00>
Total: 174400 W: 45698 L: 45174 D: 83528
Ptnml(0-2): 622, 20356, 44672, 20976, 574
LTC: https://tests.stockfishchess.org/tests/view/689651b4f8a258623dda6531
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 56010 W: 14547 L: 14191 D: 27272
Ptnml(0-2): 31, 5929, 15738, 6267, 40
This patch was generated using qwen3-235b-a22b-thinking-2507:
Prompt: https://rentry.co/bm6vriai
Thinking: https://rentry.co/34km4zf8
Final respone: https://rentry.co/rauotrvr
closes https://github.com/official-stockfish/Stockfish/pull/6219
Bench: 3629755
2025-08-09 09:08:38 +02:00
Stockfisher69 and Joost VandeVondele
303fe9a164
Simplification: Futility pruning for captures
...
tested in final form as simplication
passed LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 113682 W: 29199 L: 29074 D: 55409
Ptnml(0-2): 68, 12359, 31859, 12490, 65
https://tests.stockfishchess.org/tests/view/688e85a17d68fe4f7f130e24
earlier test, equivalent:
passed STC:
LLR: 2.96 (-2.94,2.94) <0.00,2.00>
Total: 120224 W: 31621 L: 31176 D: 57427
Ptnml(0-2): 415, 14167, 30567, 14484, 479
https://tests.stockfishchess.org/tests/view/68888bdd7b562f5f7b732643
closes https://github.com/official-stockfish/Stockfish/pull/6209
Bench: 2661621
2025-08-09 08:49:12 +02:00
KazApps and Joost VandeVondele
b177b7394a
Separate bonus/malus parameters for quiet and capture moves
...
Parameters were tuned on 60k STC games.
Passed STC
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 16928 W: 4570 L: 4277 D: 8081
Ptnml(0-2): 57, 1905, 4270, 2152, 80
https://tests.stockfishchess.org/tests/view/688b4486502b34dd5e711122
Passed LTC
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 43602 W: 11373 L: 11041 D: 21188
Ptnml(0-2): 23, 4657, 12116, 4975, 30
https://tests.stockfishchess.org/tests/view/688c0eb5502b34dd5e71124b
Passed non-regression VLTC
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 181016 W: 46335 L: 46281 D: 88400
Ptnml(0-2): 33, 18177, 54034, 18231, 33
https://tests.stockfishchess.org/tests/view/688e0a77f17748b4d23c822b
closes https://github.com/official-stockfish/Stockfish/pull/6200
bench: 3435529
2025-08-09 08:43:49 +02:00
Jost Triller and Joost VandeVondele
377a3a5269
Depth dependent reduction threshold when full-depth re-search
...
STC: https://tests.stockfishchess.org/tests/view/68894d577b562f5f7b73273b
LLR: 2.98 (-2.94,2.94) <0.00,2.00>
Total: 155072 W: 40651 L: 40150 D: 74271
Ptnml(0-2): 609, 18271, 39292, 18738, 626
LTC: https://tests.stockfishchess.org/tests/view/688c2705502b34dd5e71127a
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 321012 W: 82891 L: 81995 D: 156126
Ptnml(0-2): 227, 34421, 90285, 35375, 198
This commit was generated using qwen3-235b-a22b-thinking-2507:
Prompt: https://rentry.co/iqtaoht7
Reasoning/thinking: https://rentry.co/wm6t9hye
closes https://github.com/official-stockfish/Stockfish/pull/6210
Bench: 2983938
2025-08-04 15:12:55 +02:00
Shawn Xu and Joost VandeVondele
14a2e50a3d
Simplify key after
...
Passed Non-regression STC:
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 534016 W: 139438 L: 139771 D: 254807
Ptnml(0-2): 2098, 63469, 136136, 63278, 2027
https://tests.stockfishchess.org/tests/view/688ac64d502b34dd5e7110a4
Passed Non-regression LTC:
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 43980 W: 11346 L: 11149 D: 21485
Ptnml(0-2): 31, 4689, 12353, 4886, 31
https://tests.stockfishchess.org/tests/view/688ea8a47d68fe4f7f130eb3
closes https://github.com/official-stockfish/Stockfish/pull/6207
Bench: 2884232
2025-08-04 15:07:37 +02:00
Michael Chaly and Joost VandeVondele
5d1505d8c7
Reintroduce reduction term in LMR for cutnodes
...
This term increases reduction for cutnodes without tt move, term was simplified away recently.
Passed STC:
https://tests.stockfishchess.org/tests/view/688882007b562f5f7b73262f
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 187616 W: 49367 L: 48824 D: 89425
Ptnml(0-2): 710, 21898, 48034, 22471, 695
Passed LTC:
https://tests.stockfishchess.org/tests/view/688c71f4502b34dd5e71139a
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 140280 W: 36280 L: 35750 D: 68250
Ptnml(0-2): 79, 15175, 39121, 15667, 98
closes https://github.com/official-stockfish/Stockfish/pull/6206
Bench: 2996732
2025-08-04 14:58:59 +02:00
FauziAkram and Joost VandeVondele
8e733d68fd
Refactor: Simplify pawn structure indexing
...
Refactoring the mechanism for calculating pawn structure hash indices and make it consistent with the rest.
closes https://github.com/official-stockfish/Stockfish/pull/6205
No functional change
2025-08-04 14:56:03 +02:00
FauziAkram and Joost VandeVondele
a37b38bdf0
Add "d < newDepth" condition for doDeeperSearch
...
Add "d < newDepth" condition for doDeeperSearch
Passed STC:
LLR: 2.97 (-2.94,2.94) <0.00,2.00>
Total: 66144 W: 17512 L: 17148 D: 31484
Ptnml(0-2): 220, 7726, 16833, 8056, 237
https://tests.stockfishchess.org/tests/view/6887cce67b562f5f7b731a79
Passed LTC:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 411240 W: 106103 L: 105023 D: 200114
Ptnml(0-2): 256, 44249, 115566, 45257, 292
https://tests.stockfishchess.org/tests/view/6887ec527b562f5f7b731c37
closes https://github.com/official-stockfish/Stockfish/pull/6204
Bench: 2917036
2025-08-02 16:25:31 +02:00
Daniel Monroe and Joost VandeVondele
cd52859bd5
Simplify improving term
...
Set improving whenever ss->staticEval >= beta
Passed simplification STC
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 38016 W: 10122 L: 9900 D: 17994
Ptnml(0-2): 143, 4388, 9747, 4564, 166
https://tests.stockfishchess.org/tests/view/688803917b562f5f7b7322eb
Passed simplification LTC
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 21648 W: 5594 L: 5375 D: 10679
Ptnml(0-2): 12, 2241, 6096, 2466, 9
https://tests.stockfishchess.org/tests/view/688820397b562f5f7b73235d
closes https://github.com/official-stockfish/Stockfish/pull/6198
Bench: 3576884
2025-08-02 16:18:46 +02:00
CSTENTOR and Joost VandeVondele
57b32f3e60
Make Resetting the Aspiration Window after FailLow more aggressive
...
Sets beta=(3alpha+beta)/4 when failLow. Before it was beta=(alpha+beta)/2, even
though in theory we should be getting an upper bound from a failLow, we can’t
trust the score that caused the failLow. Therefore beta=alpha doesn’t work. I
made the buffer between the new beta to the bestValue that caused the failLow
smaller.
passed STC:
https://tests.stockfishchess.org/tests/view/688674947b562f5f7b7315b5
LLR: 2.93 (-2.94,2.94) <0.00,2.00>
Total: 119616 W: 31253 L: 30818 D: 57545
Ptnml(0-2): 313, 14028, 30724, 14397, 346
passed LTC:
https://tests.stockfishchess.org/tests/view/6887e0ad7b562f5f7b731afc
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 96978 W: 24905 L: 24466 D: 47607
Ptnml(0-2): 59, 10376, 27183, 10809, 62
closes https://github.com/official-stockfish/Stockfish/pull/6197
bench: 3085519
2025-08-02 16:12:12 +02:00
aronpetkovski and Joost VandeVondele
cef551092c
Only do IIR in minimally reduced nodes
...
Passed STC
LLR: 2.93 (-2.94,2.94) <0.00,2.00>
Total: 164256 W: 42799 L: 42299 D: 79158
Ptnml(0-2): 451, 19305, 42087, 19863, 422
https://tests.stockfishchess.org/tests/view/68868e9b7b562f5f7b731615
Passed LTC
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 279396 W: 71871 L: 71062 D: 136463
Ptnml(0-2): 126, 30117, 78404, 30924, 127
https://tests.stockfishchess.org/tests/view/6886a4977b562f5f7b731663
closes https://github.com/official-stockfish/Stockfish/pull/6196
Bench: 3490609
2025-08-02 16:02:41 +02:00
FauziAkram and Joost VandeVondele
fdd9c34b75
Re-adding ttHit condition, but this time in the inner block
...
Passed STC:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 150240 W: 39305 L: 38819 D: 72116
Ptnml(0-2): 536, 17541, 38494, 17999, 550
https://tests.stockfishchess.org/tests/view/6887ce577b562f5f7b731a85
Passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 159120 W: 41025 L: 40461 D: 77634
Ptnml(0-2): 96, 16974, 44866, 17518, 106
https://tests.stockfishchess.org/tests/view/6887f0ba7b562f5f7b731c5d
closes https://github.com/official-stockfish/Stockfish/pull/6193
bench: 3498926
2025-08-02 15:50:17 +02:00
aronpetkovski and Joost VandeVondele
64e8e1b247
Simplify LMR extension limit formula
...
This patch simplifies the maximum depth formula that reductions in LMR can allow.
Passed STC
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 35616 W: 9358 L: 9139 D: 17119
Ptnml(0-2): 101, 4051, 9278, 4284, 94
https://tests.stockfishchess.org/tests/view/688608cf966ed85face24882
Passed LTC
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 22284 W: 5833 L: 5613 D: 10838
Ptnml(0-2): 8, 2367, 6173, 2585, 9
https://tests.stockfishchess.org/tests/view/68860d7f966ed85face248d5
closes https://github.com/official-stockfish/Stockfish/pull/6191
Bench: 2902492
2025-07-28 20:18:55 +02:00
Daniel Monroe and Joost VandeVondele
525a5749bc
Simplify extra continuation history updates
...
Passed simplification STC
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 254464 W: 65774 L: 65793 D: 122897
Ptnml(0-2): 699, 30087, 65638, 30150, 658
https://tests.stockfishchess.org/tests/view/68863283966ed85face24a59
Passed simplification LTC
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 144750 W: 37111 L: 37018 D: 70621
Ptnml(0-2): 79, 15676, 40764, 15785, 71
https://tests.stockfishchess.org/tests/view/6886655f7b562f5f7b731359
closes https://github.com/official-stockfish/Stockfish/pull/6189
Bench: 3071078
2025-07-28 20:13:15 +02:00
Styx and Joost VandeVondele
ab83d320b8
Simplify NMP condition
...
As this is tried only for cutNode, and all children of cutNodes will be nonCutNodes, the guard condition is redundant.
Simplification just removes the unnecessary condition (always true).
closes https://github.com/official-stockfish/Stockfish/pull/6187
No functional change
2025-07-28 20:11:40 +02:00
FauziAkram and Joost VandeVondele
a9b7638e96
Simplify newDepth modification formulas
...
Passed STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 21856 W: 5709 L: 5471 D: 10676
Ptnml(0-2): 77, 2466, 5589, 2734, 62
https://tests.stockfishchess.org/tests/view/68862ea4966ed85face24a27
Passed LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 108828 W: 27893 L: 27763 D: 53172
Ptnml(0-2): 59, 11860, 30435, 12012, 48
https://tests.stockfishchess.org/tests/view/68863046966ed85face24a3b
closes https://github.com/official-stockfish/Stockfish/pull/6181
Bench: 3069051
2025-07-28 20:03:05 +02:00
Nonlinear2 and Joost VandeVondele
2e2d2778fc
increase futility value when capturing last moved piece
...
Passed STC:
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 204320 W: 53059 L: 52500 D: 98761
Ptnml(0-2): 551, 23874, 52778, 24379, 578
https://tests.stockfishchess.org/tests/view/688618ae966ed85face24976
Passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 138582 W: 35748 L: 35225 D: 67609
Ptnml(0-2): 62, 14874, 38900, 15389, 66
https://tests.stockfishchess.org/tests/view/68862717966ed85face249f2
closes https://github.com/official-stockfish/Stockfish/pull/6190
Bench: 2894413
2025-07-28 19:52:40 +02:00
FauziAkram and Joost VandeVondele
9045fdb227
Add depth condition
...
Passed STC:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 103360 W: 26941 L: 26530 D: 49889
Ptnml(0-2): 291, 11964, 26770, 12353, 302
https://tests.stockfishchess.org/tests/view/68863547966ed85face24a6f
Passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 115128 W: 29734 L: 29258 D: 56136
Ptnml(0-2): 48, 12406, 32182, 12878, 50
https://tests.stockfishchess.org/tests/view/68864f867b562f5f7b7312f2
closes https://github.com/official-stockfish/Stockfish/pull/6184
Bench: 2972498
2025-07-28 19:49:05 +02:00
FauziAkram and Joost VandeVondele
4fcfb0b4b7
Tweak the logic for setting the improving flag
...
Tweak the logic for setting the improving flag when the static evaluation is significantly higher than alpha.
Passed STC:
LLR: 2.93 (-2.94,2.94) <0.00,2.00>
Total: 92320 W: 24057 L: 23664 D: 44599
Ptnml(0-2): 247, 10689, 23893, 11086, 245
https://tests.stockfishchess.org/tests/view/68860aba966ed85face248a1
Passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 281292 W: 72496 L: 71683 D: 137113
Ptnml(0-2): 135, 30289, 78995, 31082, 145
https://tests.stockfishchess.org/tests/view/6886168c966ed85face24962
closes https://github.com/official-stockfish/Stockfish/pull/6180
Bench: 3200439
2025-07-28 19:45:13 +02:00
pb00067 and Joost VandeVondele
402602a70d
Simplify static evaluation difference to move ordering logic
...
Passed STC simplification bounds
https://tests.stockfishchess.org/tests/view/686fcb091451bd6fb83082bc
LLR: 2.92 (-2.94,2.94) <-1.75,0.25>
Total: 762816 W: 196717 L: 197295 D: 368804
Ptnml(0-2): 2052, 90457, 196853, 90109, 1937
Passed LTC simplification bounds
https://tests.stockfishchess.org/tests/view/68808d316e17e7fa3939b35d
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 44736 W: 11499 L: 11303 D: 21934
Ptnml(0-2): 24, 4766, 12586, 4974, 18
closes https://github.com/official-stockfish/Stockfish/pull/6176
bench: 2684407
2025-07-28 19:40:15 +02:00
Guenther Demetz and Joost VandeVondele
b6082ba750
Simplify search functions according DRY principle
...
Passed STC non-regression bounds
https://tests.stockfishchess.org/tests/view/6870db4bfa93cf16d3bb286a
LLR: 3.00 (-2.94,2.94) <-1.75,0.25>
Total: 182016 W: 46735 L: 46673 D: 88608
Ptnml(0-2): 368, 19895, 50465, 19867, 413
closes https://github.com/official-stockfish/Stockfish/pull/6161
no functional change
2025-07-28 19:35:28 +02:00
Muzhen Gaming and Joost VandeVondele
90c83c381f
VVLTC Search Tune
...
alues were tuned with 125k VVLTC games.
Passed VVLTC 1st sprt:
https://tests.stockfishchess.org/tests/view/68865feb7b562f5f7b731341
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 39640 W: 10380 L: 10109 D: 19151
Ptnml(0-2): 5, 3556, 12424, 3833, 2
Passed VVLTC 2nd sprt:
https://tests.stockfishchess.org/tests/view/68864dfa7b562f5f7b7312ee
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 25972 W: 6807 L: 6537 D: 12628
Ptnml(0-2): 0, 2294, 8132, 2556, 4
closes https://github.com/official-stockfish/Stockfish/pull/6188
Bench: 3143696
2025-07-28 19:33:00 +02:00
aronpetkovski and Joost VandeVondele
a516b517d3
Simplify eval >= beta condition from NMP
...
It seems that now only checking if static eval is above beta by some margin is all that's necessary.
Passed Non-Regression STC
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 227264 W: 58430 L: 58421 D: 110413
Ptnml(0-2): 532, 26559, 59454, 26542, 545
https://tests.stockfishchess.org/tests/view/68763a77432ca24f6388c766
Passed Non-Regression LTC
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 72048 W: 18622 L: 18455 D: 34971
Ptnml(0-2): 26, 7775, 20272, 7908, 43
https://tests.stockfishchess.org/tests/view/687c9f2b6e17e7fa3939b0c5
closes https://github.com/official-stockfish/Stockfish/pull/6175
Bench: 2759840
2025-07-24 10:38:13 +02:00
Daniel Monroe and Joost VandeVondele
92514fd3a2
Simplify away a term in see pruning
...
This change only sets the margin to 0 when depth <= 2 and margin <= 42 which
never has a difference, thus non-functional
Passed non-regression STC
LLR: 3.51 (-2.94,2.94) <-1.75,0.25>
Total: 306976 W: 78935 L: 78961 D: 149080
Ptnml(0-2): 630, 34097, 84067, 34057, 637
https://tests.stockfishchess.org/tests/view/68708015fa93cf16d3bb2782
closes https://github.com/official-stockfish/Stockfish/pull/6170
No functional change
2025-07-24 10:32:41 +02:00
FauziAkram and Joost VandeVondele
bdc393d3a2
Correct comment
...
closes https://github.com/official-stockfish/Stockfish/pull/6159
No functional change
2025-07-24 10:26:15 +02:00
Daniel Samek and Joost VandeVondele
2c9a1871ae
Add offsets to history updates.
...
All parameters were tuned on 60k STC games (https://tests.stockfishchess.org/tests/view/6867ef49fe0f2fe354c0c735 ).
Passed STC:
LLR: 2.98 (-2.94,2.94) <0.00,2.00>
Total: 60576 W: 15794 L: 15444 D: 29338
Ptnml(0-2): 141, 7003, 15642, 7369, 133
https://tests.stockfishchess.org/tests/view/686d5af11451bd6fb830772a
Passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 58722 W: 15159 L: 14799 D: 28764
Ptnml(0-2): 19, 6259, 16455, 6599, 29
https://tests.stockfishchess.org/tests/view/686f9fd51451bd6fb83081c9
closes https://github.com/official-stockfish/Stockfish/pull/6158
bench: 2706299
2025-07-24 10:24:08 +02:00
FauziAkram and Joost VandeVondele
793110ca19
Remove !ttData.move condition from cutNode reduction
...
Passed STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 118080 W: 30427 L: 30298 D: 57355
Ptnml(0-2): 290, 13880, 30561, 14029, 280
https://tests.stockfishchess.org/tests/view/6853f9bc038630d25f468670
Passed LTC:
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 232272 W: 59187 L: 59182 D: 113903
Ptnml(0-2): 111, 25430, 65014, 25505, 76
https://tests.stockfishchess.org/tests/view/68585c40a596a06817bb922e
closes https://github.com/official-stockfish/Stockfish/pull/6157
bench: 2227361
2025-07-24 10:19:10 +02:00
Shawn Xu and Joost VandeVondele
e2aa125570
Consistent syntax for class members
...
Currently, search.cpp uses three different syntax when accessing class member variables
* thisThread object references. This was a remnant from when pos.this_thread() was necessary for thread-local variable access
* this object references
* implicit member variable access
This PR aims to deprecate thisThread and standardize this syntax to implicit variable access, which is consistent with the rest of SF's codebase.
closes https://github.com/official-stockfish/Stockfish/pull/6154
no functional change
2025-07-24 10:13:24 +02:00
Daniel Monroe and Joost VandeVondele
c13f883dc4
simplify away TT history term
...
Passed simplification STC
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 163168 W: 42136 L: 42055 D: 78977
Ptnml(0-2): 410, 19224, 42212, 19351, 387
https://tests.stockfishchess.org/tests/view/684e16ee703522d4f129c9e9
Passed simplification LTC
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 303144 W: 77580 L: 77647 D: 147917
Ptnml(0-2): 150, 33110, 85134, 33013, 165
https://tests.stockfishchess.org/tests/view/6852ff97703522d4f129d5f7
closes https://github.com/official-stockfish/Stockfish/pull/6152
bench: 2294774
2025-07-24 09:59:00 +02:00
Daniel Monroe and Joost VandeVondele
a43f12ef08
Simplify away constants in statscore
...
Passed simplification STC
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 317280 W: 81589 L: 81678 D: 154013
Ptnml(0-2): 799, 37651, 81847, 37526, 817
https://tests.stockfishchess.org/tests/view/684e197a703522d4f129c9f0
Passed simplification LTC
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 174816 W: 44656 L: 44593 D: 85567
Ptnml(0-2): 83, 19064, 49058, 19113, 90
https://tests.stockfishchess.org/tests/view/6858aa54a596a06817bb924f
closes https://github.com/official-stockfish/Stockfish/pull/6150
bench: 2508140
2025-07-24 09:56:36 +02:00
FauziAkram and Joost VandeVondele
6a09a24cd8
Remove depth condition from ttCapture reduction
...
Passed STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 25920 W: 6822 L: 6593 D: 12505
Ptnml(0-2): 54, 2932, 6783, 3113, 78
https://tests.stockfishchess.org/tests/view/6853f9c2038630d25f468672
Passed LTC:
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 177318 W: 45339 L: 45278 D: 86701
Ptnml(0-2): 85, 19333, 49765, 19388, 88
https://tests.stockfishchess.org/tests/view/6854468a038630d25f4686c0
closes https://github.com/official-stockfish/Stockfish/pull/6149
bench: 2437275
2025-07-24 09:52:35 +02:00
Daniel Monroe and Joost VandeVondele
62f08568cd
Simplify PV term in lmr
...
Passed simplification STC
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 204000 W: 52541 L: 52506 D: 98953
Ptnml(0-2): 561, 24133, 52589, 24144, 573
https://tests.stockfishchess.org/tests/view/684f24ce703522d4f129cab5
Passed simplification LTC
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 156150 W: 39890 L: 39807 D: 76453
Ptnml(0-2): 82, 16882, 44043, 17007, 61
https://tests.stockfishchess.org/tests/view/6855d8bf1d0d9fc6587538f8
closes https://github.com/official-stockfish/Stockfish/pull/6148
bench 2766493
2025-07-24 09:49:43 +02:00
FauziAkram and Disservin
e695b9537e
Remove eval & beta diff from NM reduction
...
Passed STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 43456 W: 11178 L: 10966 D: 21312
Ptnml(0-2): 114, 5078, 11114, 5326, 96
https://tests.stockfishchess.org/tests/view/6849ae13e84567164b5c9de9
Passed LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 63090 W: 16302 L: 16125 D: 30663
Ptnml(0-2): 37, 6837, 17603, 7048, 20
https://tests.stockfishchess.org/tests/view/684ab516e84567164b5ca02f
closes https://github.com/official-stockfish/Stockfish/pull/6134
Bench: 2249459
2025-07-02 18:41:46 +02:00
Robert Nurnberg @ elitebook and Disservin
84e2f3851d
Introduce a constant for ValueList size in search()
...
Having the size of these lists in two separate places likely contributed
to the crashes seen during the recent tuning attempt
https://tests.stockfishchess.org/tests/view/685c413343ce022d15794536 .
Thanks to @MinetaS for spotting this.
closes https://github.com/official-stockfish/Stockfish/pull/6142
No functional change
2025-07-02 18:32:02 +02:00
Daniel Monroe and Disservin
3a0fff96cf
Simplify quiet move streak logic
...
Passed non-regression STC
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 148960 W: 38409 L: 38312 D: 72239
Ptnml(0-2): 372, 17664, 38318, 17747, 379
https://tests.stockfishchess.org/tests/view/684c5773703522d4f129c5f7
Passed non-regression LTC
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 180720 W: 46188 L: 46130 D: 88402
Ptnml(0-2): 84, 19608, 50929, 19644, 95
https://tests.stockfishchess.org/tests/view/68505fa5703522d4f129cbab
closes https://github.com/official-stockfish/Stockfish/pull/6143
Bench: 2055894
2025-07-02 18:31:04 +02:00
Shawn Xu and Disservin
318c948c4d
Remove non-functional low-ply history fill
...
lowPlyHistory is always cleared at the start of `iterative_deepening`, so clearing it here is non-functional.
closes https://github.com/official-stockfish/Stockfish/pull/6144
No functional change
2025-07-02 18:31:04 +02:00
Daniel Monroe and Disservin
a7a56c41f6
Simplify history term in futility pruning
...
Passed simplification STC
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 298816 W: 76814 L: 76881 D: 145121
Ptnml(0-2): 726, 35477, 77057, 35434, 714
https://tests.stockfishchess.org/tests/view/683f440f6ec7634154f9dc7f
Passed simplification LTC
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 237774 W: 60801 L: 60802 D: 116171
Ptnml(0-2): 91, 26088, 66532, 26083, 93
https://tests.stockfishchess.org/tests/view/68441189ffbc71bd236778de
closes https://github.com/official-stockfish/Stockfish/pull/6130
Bench: 2411502
2025-07-02 18:31:04 +02:00
Shawn Xu and Joost VandeVondele
5337edfdb6
remove non-functional else
...
since we break out of the loop in the other branch
closes https://github.com/official-stockfish/Stockfish/pull/6116
no functional change
2025-06-02 22:12:37 +02:00
Daniel Monroe and Joost VandeVondele
9ac756695e
reduce depth by 5 in probcut
...
Passed simplification STC
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 63328 W: 16402 L: 16213 D: 30713
Ptnml(0-2): 174, 7378, 16340, 7629, 143
https://tests.stockfishchess.org/tests/view/6833530e6ec7634154f9be7f
Passed simplification LTC
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 69936 W: 17795 L: 17625 D: 34516
Ptnml(0-2): 29, 7631, 19474, 7809, 25
https://tests.stockfishchess.org/tests/view/68335e386ec7634154f9c266
closes https://github.com/official-stockfish/Stockfish/pull/6120
Bench: 2307268
2025-06-02 22:09:11 +02:00
Daniel Monroe and Joost VandeVondele
254b6d5e85
Simplify corrections in extension margins
...
Passed simplification STC
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 96192 W: 25002 L: 24852 D: 46338
Ptnml(0-2): 242, 10868, 25716, 11038, 232
https://tests.stockfishchess.org/tests/view/683b44cb6ec7634154f9d6ac
Passed simplification LTC
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 83334 W: 21473 L: 21317 D: 40544
Ptnml(0-2): 37, 8877, 23674, 9051, 28
https://tests.stockfishchess.org/tests/view/683b79786ec7634154f9d75a
closes https://github.com/official-stockfish/Stockfish/pull/6117
Bench: 2294814
2025-06-02 22:05:11 +02:00
Shawn Xu and Joost VandeVondele
259bdaaa9f
Remove an unnecessary bound check
...
When failing high, it is always true that `alpha < beta` and `beta <=
bestValue`. Therefore if alpha and bestValue is not in decisive range, it is
guaranteed that beta is not.
closes https://github.com/official-stockfish/Stockfish/pull/6115
no functional change
2025-06-02 21:57:19 +02:00
Daniel Monroe and Joost VandeVondele
3747a19937
Simplify away depth condition in IIR
...
Passed simplification STC
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 359520 W: 92714 L: 92849 D: 173957
Ptnml(0-2): 977, 42640, 92614, 42599, 930
https://tests.stockfishchess.org/tests/view/6833705d6ec7634154f9c302
Passed simplification LTC
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 201756 W: 51544 L: 51507 D: 98705
Ptnml(0-2): 89, 21965, 56728, 22012, 84
https://tests.stockfishchess.org/tests/view/68338e386ec7634154f9c790
Passed simplification VLTC
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 48558 W: 12675 L: 12492 D: 23391
Ptnml(0-2): 9, 4779, 14516, 4970, 5
https://tests.stockfishchess.org/tests/view/6838e0b26ec7634154f9d25b
closes https://github.com/official-stockfish/Stockfish/pull/6112
Bench: 2302583
2025-06-02 21:52:38 +02:00
Daniel Monroe and Joost VandeVondele
70ff5e3163
Simplify away cutoff term in prior countermove bonus
...
Passed simplification STC
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 61120 W: 16010 L: 15819 D: 29291
Ptnml(0-2): 150, 7105, 15869, 7276, 160
https://tests.stockfishchess.org/tests/view/683560226ec7634154f9ce0f
Passed simplification LTC
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 225090 W: 57555 L: 57543 D: 109992
Ptnml(0-2): 104, 24367, 63603, 24355, 116
https://tests.stockfishchess.org/tests/view/6836420c6ec7634154f9cf5c
closes https://github.com/official-stockfish/Stockfish/pull/6111
Bench: 2472910
2025-06-02 21:49:43 +02:00
Daniel Monroe and Joost VandeVondele
ddefd6eb6b
Simplify away check term in statscore
...
Passed simplification STC
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 61696 W: 16031 L: 15841 D: 29824
Ptnml(0-2): 151, 7160, 16046, 7330, 161
https://tests.stockfishchess.org/tests/view/68353fcc6ec7634154f9cdd5
Passed simplification LTC
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 237990 W: 60994 L: 60995 D: 116001
Ptnml(0-2): 95, 25964, 66903, 25913, 120
https://tests.stockfishchess.org/tests/view/683642256ec7634154f9cf5e
closes https://github.com/official-stockfish/Stockfish/pull/6110
Bench: 2521003
2025-06-02 21:47:26 +02:00
Nonlinear2 and Joost VandeVondele
8da3c2155a
Simplify NMP eval in qsearch
...
Passed non-regression STC:
https://tests.stockfishchess.org/tests/view/6834e9436ec7634154f9cd6e
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 24864 W: 6626 L: 6394 D: 11844
Ptnml(0-2): 62, 2806, 6477, 3012, 75
Passed non-regression LTC:
https://tests.stockfishchess.org/tests/view/683598fd6ec7634154f9ce82
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 200148 W: 51461 L: 51424 D: 97263
Ptnml(0-2): 92, 21672, 56503, 21721, 86
closes https://github.com/official-stockfish/Stockfish/pull/6109
Bench: 2316591
2025-06-02 21:44:29 +02:00
Carlos Esparza and Joost VandeVondele
5695486db9
Fix outdated comment
...
closes https://github.com/official-stockfish/Stockfish/pull/6108
No functional change
2025-06-02 21:40:13 +02:00
Shawn Xu and Joost VandeVondele
d0212906bd
Simplify stat eval history adjustment further
...
closes https://github.com/official-stockfish/Stockfish/pull/6106
bench 2074807
2025-06-02 21:37:37 +02:00
Daniel Monroe and Joost VandeVondele
9fd40b9ea8
Simplify tt depth in stat eval history adjustment
...
Passed simplification STC
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 102208 W: 26498 L: 26349 D: 49361
Ptnml(0-2): 284, 12095, 26166, 12306, 253
https://tests.stockfishchess.org/tests/view/683354c76ec7634154f9be88
Passed simplification LTC
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 133422 W: 34050 L: 33945 D: 65427
Ptnml(0-2): 56, 14473, 37559, 14556, 67
https://tests.stockfishchess.org/tests/view/683363626ec7634154f9c298
closes https://github.com/official-stockfish/Stockfish/pull/6099
Bench: 2652411
2025-06-02 21:19:17 +02:00