kurt22i
d09653df0d
Adjust reduction less at medium depths
...
This patch dampens the reduction increase/decrease from statScore at mid-range depths.
Inspired by patterns noticed in this tune: https://tests.stockfishchess.org/tests/view/635188930e5f47a8d0ffe8f5
Passed STC:
https://tests.stockfishchess.org/tests/view/63599dfd6b27ef94d9ec04af
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 87464 W: 23519 L: 23134 D: 40811
Ptnml(0-2): 319, 9599, 23524, 9958, 332
Passed LTC:
https://tests.stockfishchess.org/tests/view/635a73046b27ef94d9ec2313
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 154792 W: 41746 L: 41214 D: 71832
Ptnml(0-2): 79, 15181, 46349, 15703, 84
closes https://github.com/official-stockfish/Stockfish/pull/4213
Bench 4271738
2022-10-30 16:19:09 +01:00
Joost VandeVondele
f154ed7a2d
Update MacOS CI
...
move to 12 following actions runner update deprecation
(see https://github.com/actions/runner-images/issues/5583 )
closes https://github.com/official-stockfish/Stockfish/pull/4212
No functional change
2022-10-30 16:17:49 +01:00
Clausable
8333b2a94c
Fix README typos, update AUTHORS
...
closes https://github.com/official-stockfish/Stockfish/pull/4208
No functional change
2022-10-27 08:15:46 +02:00
dav1312
a5500edc55
Add issue template
...
Add an issue template using GitHub's form schema
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
closes https://github.com/official-stockfish/Stockfish/pull/4210
No functional change.
2022-10-26 20:28:12 +02:00
Michael Chaly
4ec8945eaf
Use TT moves more often in qsearch
...
During the recapture phase of quiescence search (where we limit the generated moves to recaptures on the last seen capture square),
the move picker will now emit the tt move, even if the tt move is not a recapture.
Passed STC :
https://tests.stockfishchess.org/tests/view/6350df2928d3a71cb1eef838
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 90280 W: 24001 L: 23845 D: 42434
Ptnml(0-2): 273, 9779, 24941, 9813, 334
Passed LTC :
https://tests.stockfishchess.org/tests/view/6351308b28d3a71cb1ef06ce
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 104504 W: 27937 L: 27807 D: 48760
Ptnml(0-2): 54, 10378, 31260, 10504, 56
closes https://github.com/official-stockfish/Stockfish/pull/4206
Bench: 4540268
2022-10-23 20:22:04 +02:00
Clement
5604b255e6
Add RISC-V 64-bit support
...
adds a riscv64 target architecture to the Makefile to support RISC-V 64-bit.
Compiled and tested on VisionFive 2 board.
closes https://github.com/official-stockfish/Stockfish/pull/4205
No functional change.
2022-10-23 20:18:08 +02:00
disservin
804394b939
enable bit manipulation instruction set 1
...
bmi1 enables the use of _blsr_u64 for pop_lsb, and is availabe when avx2 is.
verified a small speedup (0.2 - 0.6%)
closes https://github.com/official-stockfish/Stockfish/pull/4202
No functional change
2022-10-23 20:08:18 +02:00
MinetaS
234d2156fd
Apply -flto-partition=one / -flto=full
...
This patch fixes a potential bug derived from an incompatibility between LTO and top-level assembly code (INCBIN).
Passed non-regression STC (master e90341f
):
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 119352 W: 31986 L: 31862 D: 55504
Ptnml(0-2): 439, 12624, 33400, 12800, 413
https://tests.stockfishchess.org/tests/view/634aacf84bc7650f0755188b
closes https://github.com/official-stockfish/Stockfish/pull/4201
No functional change
2022-10-23 19:58:47 +02:00
Rodrigo Roim
79c5f3a692
Fix tablebase probe for dtz >1000 w/o 50 move rule
...
For qn4N1/6R1/3K4/8/B2k4/8/8/8 w - - 0 1, white loses with DTZ 1034.
See https://syzygy-tables.info/?fen=qn4N1/6R1/3K4/8/B2k4/8/8/8_w_-_-_0_1
Prior to this fix, due to a too small hard-coded value, Stockfish interpreted this as winning.
The new value picked (1<<18) is large enough to deal with the largest DTZ values that can be stored in the current syzygy format.
closes https://github.com/official-stockfish/Stockfish/pull/4187
No functional change.
2022-10-16 12:58:48 +02:00
xoto10
9be2977da7
Adjust timeman constants
...
Adjust timeman constants to use more time in early part of game.
STC @ 10+0.1 th 1 :
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 93984 W: 25177 L: 24787 D: 44020
Ptnml(0-2): 350, 10096, 25729, 10448, 369
https://tests.stockfishchess.org/tests/live_elo/6339077135f43d649ff6162a
LTC @ 60+0.6 th 1 :
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 329368 W: 88953 L: 88093 D: 152322
Ptnml(0-2): 170, 31457, 100594, 32269, 194
https://tests.stockfishchess.org/tests/live_elo/6339baed35f43d649ff63142
Sudden death 10+0 :
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 20400 W: 5908 L: 5588 D: 8904
Ptnml(0-2): 177, 2252, 5128, 2360, 283
https://tests.stockfishchess.org/tests/live_elo/6347c9384bc7650f07549ba7
Sudden death 10+0, no adjudication :
LLR: 2.96 (-2.94,2.94) <0.00,2.00>
Total: 17920 W: 4755 L: 4442 D: 8723
Ptnml(0-2): 137, 1985, 4466, 2172, 200
https://tests.stockfishchess.org/tests/live_elo/634806e84bc7650f0754a639
closes https://github.com/official-stockfish/Stockfish/pull/4188
No functional change
2022-10-16 11:51:41 +02:00
Stéphane Nicolet
d6b6360ff5
Tweak the formula for NNUE complexity
...
Joint work by Ofek Shochat and Stéphane Nicolet.
passed STC:
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 93288 W: 24996 L: 24601 D: 43691
Ptnml(0-2): 371, 10263, 24989, 10642, 379
https://tests.stockfishchess.org/tests/view/63448f4f4bc7650f07541987
passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 84168 W: 22771 L: 22377 D: 39020
Ptnml(0-2): 47, 8181, 25234, 8575, 47
https://tests.stockfishchess.org/tests/view/6345186d4bc7650f07542fbd
================
It seems there are two effects with this patch:
effect A :
If Stockfish is winning at root, we have optimism > 0 for all leaves in
the search tree where Stockfish is to move. There, if (psq - nnue) > 0
(ie if the advantage is more materialistic than positional), then the
product D = optimism * (psq - nnue) will be positive, nnueComplexity will
increase, and the eval will increase from SF point of view.
So the effect A is that if Stockfish is winning at root, she will slightly
favor in the search tree (in other words, search more) the positions where
she can convert her advantage via materialist means.
effect B :
If Stockfish is losing at root, we have optimism > 0 for all leaves in
the search tree where the opponent is to move. There, if (psq - nnue) < 0
(ie if the opponent advantage is more positional than materialistic), then
the product D = optimism * (psq-nnue) will be negative, nnueComplexity will
decrease, and the eval will decrease from the opponent point of view.
So the effect B is that Stockfish will slightly favor in the search tree
(search more) the branches where she can defend by slowly reducing the
opponent positional advantage.
=================
closes https://github.com/official-stockfish/Stockfish/pull/4195
bench: 4673898
2022-10-16 11:49:07 +02:00
Dubslow
f97a86e213
Remove depth condition from razoring
...
The eval condition depends on depth anyways, so this patch is nearly (not quite) non-functional
passed STC:
https://tests.stockfishchess.org/tests/view/63428169fb7ccb2ea9be2629
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 185992 W: 49612 L: 49558 D: 86822
Ptnml(0-2): 618, 19956, 51842, 19914, 666
passed LTC:
https://tests.stockfishchess.org/tests/view/634418b14bc7650f07540760
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 126816 W: 34147 L: 34043 D: 58626
Ptnml(0-2): 74, 11941, 39281, 12031, 81
closes https://github.com/official-stockfish/Stockfish/pull/4196
bench 4148700
2022-10-16 11:45:16 +02:00
mstembera
93f71ecfe1
Optimize make_index() using templates and lookup tables.
...
https://tests.stockfishchess.org/tests/view/634517e54bc7650f07542f99
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 642672 W: 171819 L: 170658 D: 300195
Ptnml(0-2): 2278, 68077, 179416, 69336, 2229
this also introduces `-flto-partition=one` as suggested by MinetaS (Syine Mineta)
to avoid linking errors due to LTO on 32 bit mingw. This change was tested in isolation as well
https://tests.stockfishchess.org/tests/view/634aacf84bc7650f0755188b
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 119352 W: 31986 L: 31862 D: 55504
Ptnml(0-2): 439, 12624, 33400, 12800, 413
closes https://github.com/official-stockfish/Stockfish/pull/4199
No functional change
2022-10-16 11:42:19 +02:00
Stefan Geschwentner
e90341f9c9
Tweak history initialization
...
Simplify initialization of continuation history by using everywhere the same starting value.
STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 90952 W: 24312 L: 24153 D: 42487
Ptnml(0-2): 356, 10168, 24290, 10285, 377
https://tests.stockfishchess.org/tests/view/633948f235f43d649ff61fd0
LTC:
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 162416 W: 43540 L: 43466 D: 75410
Ptnml(0-2): 77, 16289, 48417, 16333, 92
https://tests.stockfishchess.org/tests/view/6339ee8a35f43d649ff63986
closes https://github.com/official-stockfish/Stockfish/pull/4186
Bench: 4156027
2022-10-08 18:09:02 +02:00
Giacomo Lorenzetti
d5271af0ee
Remove old line in "Futility pruning for captures"
...
The line is no longer needed after 910cf8b218
.
This patch incidentally applies "Futility Pruning for Captures" also in case of en-passant, changing the bench signature.
Passed STC:
https://tests.stockfishchess.org/tests/view/6332c1f1208c26088697b731
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 68760 W: 18440 L: 18256 D: 32064
Ptnml(0-2): 267, 7530, 18595, 7728, 260
Passed LTC:
https://tests.stockfishchess.org/tests/view/633312e9208c26088697c59b
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 455552 W: 121910 L: 122123 D: 211519
Ptnml(0-2): 253, 45439, 136600, 45236, 248
closes https://github.com/official-stockfish/Stockfish/pull/4185
Bench: 4374521
2022-10-08 18:07:30 +02:00
Joost VandeVondele
da937e219e
Revert "Mix alpha and statScore for reduction"
...
This reverts commit 8bab09749d
.
In this form the patch reduces mate finding effectiveness, as the large alpha value has negative influence on the reductions.
see also https://github.com/official-stockfish/Stockfish/pull/4183
Bench: 4114228
2022-10-05 22:59:05 +02:00
FauziAkram
8bab09749d
Mix alpha and statScore for reduction
...
Idea by @xoto10, and tuning by @FauziAkram.
Passed STC:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 57832 W: 15540 L: 15199 D: 27093
Ptnml(0-2): 207, 6343, 15477, 6680, 209
https://tests.stockfishchess.org/tests/view/6338db6f35f43d649ff60fdc
passed LTC:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 50968 W: 13770 L: 13440 D: 23758
Ptnml(0-2): 25, 4905, 15306, 5211, 37
https://tests.stockfishchess.org/tests/view/6339777035f43d649ff62686
Links to the tuning sessions:
https://tests.stockfishchess.org/tests/view/63345725a004bed9a2e47b28
https://tests.stockfishchess.org/tests/view/63345728a004bed9a2e47b2a
closes https://github.com/official-stockfish/Stockfish/pull/4183
Bench: 4426602
2022-10-04 01:07:27 +02:00
disservin
f436bf77ad
Use less reduction for escaping moves
...
This patch reuses the threatenedPieces variable (which is calculated in movepicker)
to reduce less in the search tree the moves which escape a capture.
passed STC:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 314352 W: 84042 L: 83328 D: 146982
Ptnml(0-2): 1105, 35084, 84207, 35552, 1228
https://tests.stockfishchess.org/tests/view/63355f37a004bed9a2e4a17f
passed LTC:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 90752 W: 24556 L: 24147 D: 42049
Ptnml(0-2): 59, 8855, 27123, 9296, 43
https://tests.stockfishchess.org/tests/view/63383a7735f43d649ff5fa8b
closes https://github.com/official-stockfish/Stockfish/pull/4181
bench: 4114228
2022-10-03 11:50:31 +02:00
peregrineshahin
232bf19be4
Simplify both position calls in useClassical
...
Simplify the use of classical evaluation when using default settings to only be dependent on piece count and decisive PSQ
passed STC:
https://tests.stockfishchess.org/tests/view/632d32a7006ef9eb96d86ce9
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 108048 W: 28904 L: 28763 D: 50381
Ptnml(0-2): 383, 12060, 29006, 12183, 392
passed LTC:
https://tests.stockfishchess.org/tests/view/632d705a006ef9eb96d87649
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 76600 W: 20671 L: 20516 D: 35413
Ptnml(0-2): 34, 7533, 23023, 7664, 46
Inspired by sorais, credit to him.
closes https://github.com/official-stockfish/Stockfish/pull/4177
bench 4173163
2022-09-27 07:54:36 +02:00
Brad Knox
4339a756ac
Update README.md
...
Adding some svg icons and additional information, insert links as references
closes https://github.com/official-stockfish/Stockfish/pull/4176
No functional change
2022-09-27 07:52:38 +02:00
Torsten Hellwig
70e51a5bc8
Always output hashfull
...
This removes the restriction that no hashfull information is printed within the first second of a search.
On modern systems, a non-zero value is returned within 6 ms with default settings.
passed STC:
https://tests.stockfishchess.org/tests/view/63277b08b9c0caa5f4a798e4
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 290096 W: 77505 L: 77561 D: 135030
Ptnml(0-2): 1008, 30713, 81592, 30797, 938
closes https://github.com/official-stockfish/Stockfish/pull/4174
No functional change
2022-09-27 07:48:05 +02:00
mstembera
29295ecfd3
Simplify EVASIONS scoring
...
remove some multipliers & adjust, doesn't change the move ordering
STC https://tests.stockfishchess.org/tests/view/6325c1c9b9c0caa5f4a759ae
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 192760 W: 51528 L: 51482 D: 89750
Ptnml(0-2): 642, 20490, 54148, 20380, 720
Credit to locutus2
closes https://github.com/official-stockfish/Stockfish/pull/4171
No functional change
2022-09-27 07:44:46 +02:00
mstembera
dc0c441b7c
Prioritize checks in movepicker
...
give a little bonus for moving pieces to squares where they give check
STC: https://tests.stockfishchess.org/tests/view/631da742162491686d2e40b5
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 80072 W: 21753 L: 21368 D: 36951
Ptnml(0-2): 421, 8876, 21075, 9225, 439
LTC: https://tests.stockfishchess.org/tests/view/631dd9e6b85daa436625de1d
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 263480 W: 70916 L: 70158 D: 122406
Ptnml(0-2): 322, 26156, 78029, 26908, 325
similar ideas have been tested by Viz and Guenther
closes https://github.com/official-stockfish/Stockfish/pull/4165
bench: 4326572
2022-09-17 09:30:52 +02:00
atumanian
154e7afed0
Simplify trend and optimism.
...
This patch simplifies the formulas used to compute the trend and optimism values before each search iteration.
As a side effect, this removes the parameters which make the relationship between the displayed evaluation value
and the expected game result asymmetric.
I've also provided links to the results of isotonic regression analysis of the relationship between the evaluation and game result (statistical data and a graph) for both tests, which demonstrate that the new version has a more symmetric relationship:
STC: [Data and graph](https://github.com/official-stockfish/Stockfish/discussions/4150#discussioncomment-3548954 )
LTC: [Data and graph](https://github.com/official-stockfish/Stockfish/discussions/4150#discussioncomment-3626311 )
See also https://github.com/official-stockfish/Stockfish/issues/4142
passed STC:
https://tests.stockfishchess.org/tests/view/6313f44b8202a039920e27e6
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 108016 W: 28903 L: 28760 D: 50353
Ptnml(0-2): 461, 12075, 28850, 12104, 518
passed LTC:
https://tests.stockfishchess.org/tests/view/631de45db85daa436625dfe6
LLR: 3.01 (-2.94,2.94) <-1.75,0.25>
Total: 34792 W: 9412 L: 9209 D: 16171
Ptnml(0-2): 24, 3374, 10397, 3577, 24
Furthermore, this does not measurably impact Elo strength against weaker engines,
as demonstrated in a match of master and patch vs SF13:
This patch vs SF 13:
https://tests.stockfishchess.org/tests/view/631fa34ae1612778c344c6eb
Elo: 141.66 +-1.2 (95%) LOS: 100.0%
Total: 100000 W: 48182 L: 9528 D: 42290
Ptnml(0-2): 96, 1426, 13277, 30130, 5071
nElo: 284.13 +-3.3 (95%) PairsRatio: 23.13
Master vs SF 13:
https://tests.stockfishchess.org/tests/view/631fa3ece1612778c344c6ff
Elo: 143.26 +-1.2 (95%) LOS: 100.0%
Total: 100000 W: 48525 L: 9479 D: 41996
Ptnml(0-2): 94, 1537, 13098, 29771, 5500
nElo: 281.70 +-3.3 (95%) PairsRatio: 21.63
closes: https://github.com/official-stockfish/Stockfish/pull/4163
Bench: 4425574
2022-09-17 09:13:07 +02:00
Joost VandeVondele
5a871e174f
Explicitly annotate a few variables
...
as [[maybe_unused]], avoiding the (void)foo trick.
closes https://github.com/official-stockfish/Stockfish/pull/4162
No functional change
2022-09-17 09:05:35 +02:00
mstembera
82bb21dc7a
Optimize AVX2 path in NNUE evaluation
...
always selecting AffineTransform specialization for small inputs.
A related patch was tested as
Initially tested as a simplification
STC https://tests.stockfishchess.org/tests/view/6317c3f437f41b13973d6dff
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 58072 W: 15619 L: 15425 D: 27028
Ptnml(0-2): 241, 6191, 15992, 6357, 255
Elo gain speedup test
STC https://tests.stockfishchess.org/tests/view/63181c1b37f41b13973d79dc
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 184496 W: 49922 L: 49401 D: 85173
Ptnml(0-2): 851, 19397, 51208, 19964, 828
and this patch gained in testing
speedup = +0.0071
P(speedup > 0) = 1.0000
on CPU: 16 x AMD Ryzen 9 3950X
closes https://github.com/official-stockfish/Stockfish/pull/4158
No functional change
2022-09-11 14:19:57 +02:00
Michael Chaly
1591e5ac3b
Do less singular extensions for former PVnode
...
Patch is a reintroduction of logic what was simplified a while ago
in a slightly different form. Do bigger extension offset in
case of non-pv node having a pv.
passed STC
https://tests.stockfishchess.org/tests/view/631977c048f27688a06e66d5
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 23296 W: 6404 L: 6108 D: 10784
Ptnml(0-2): 88, 2539, 6118, 2795, 108
passed LTC
https://tests.stockfishchess.org/tests/view/631989cb48f27688a06e696c
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 235592 W: 63890 L: 63188 D: 108514
Ptnml(0-2): 275, 23392, 69804, 24006, 319
closes https://github.com/official-stockfish/Stockfish/pull/4159
Bench: 3993611
2022-09-11 14:15:54 +02:00
Dubslow
9fa258ee1d
Razor also on PV nodes
...
Simplification introduced by xoto10
blue LTC vs new master:
https://tests.stockfishchess.org/tests/view/631ad4ef9cfa5e9b648d1b4e
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 59184 W: 16002 L: 15828 D: 27354
Ptnml(0-2): 65, 5777, 17747, 5925, 78
blue STC vs old master:
https://tests.stockfishchess.org/tests/view/6306b87b902a848543334c25
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 213944 W: 57184 L: 57159 D: 99601
Ptnml(0-2): 877, 23448, 58331, 23405, 911
blue LTC vs old master:
https://tests.stockfishchess.org/tests/view/63070e6b902a8485433357e7
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 192080 W: 52050 L: 52006 D: 88024
Ptnml(0-2): 232, 18981, 57611, 18943, 273
closes https://github.com/official-stockfish/Stockfish/pull/4147
bench 4208975
2022-09-11 14:13:24 +02:00
Michael Chaly
eaf2c8207f
Further LTC tuning of search parameters
...
Tuning done by bigpenor with some hand adjustments on top by Viz.
Had a good performance at fixed games 180+1.8:
https://tests.stockfishchess.org/tests/view/631836b437f41b13973d7da1
Elo: 1.35 +-1.2 (95%) LOS: 98.6%
Total: 60000 W: 16422 L: 16189 D: 27389
Ptnml(0-2): 39, 5335, 18992, 5622, 12
nElo: 3.13 +-2.8 (95%) PairsRatio: 1.05
Passed 60+0.6 8 threads SPRT:
https://tests.stockfishchess.org/tests/view/631ba0ff74bc4fe483a99db3
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 29712 W: 8301 L: 8039 D: 13372
Ptnml(0-2): 12, 2318, 9925, 2598, 3
closes https://github.com/official-stockfish/Stockfish/pull/4160
bench 3938073
2022-09-11 14:05:39 +02:00
FauziAkram
5eeb96d0e7
VLTC tuning
...
Tuning some parameters that scale well with longer time control:
Failed STC:
https://tests.stockfishchess.org/tests/view/6313424d8202a039920e130a
LLR: -2.94 (-2.94,2.94) <-1.75,0.25>
Total: 42680 W: 11231 L: 11540 D: 19909
Ptnml(0-2): 191, 5008, 11232, 4737, 172
Passed LTC:
https://tests.stockfishchess.org/tests/view/6311e2cd874169ca52ae7933
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 53448 W: 14782 L: 14437 D: 24229
Ptnml(0-2): 101, 5214, 15740, 5577, 92
Passed VLTC:
https://tests.stockfishchess.org/tests/view/6312530cfa99a92e3002c927
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 123336 W: 33465 L: 33007 D: 56864
Ptnml(0-2): 38, 11466, 38204, 11920, 40
closes https://github.com/official-stockfish/Stockfish/pull/4154
Bench: 5609606
2022-09-07 07:38:04 +02:00
Joost VandeVondele
a4d18d23a9
Provide network download fallback
...
in case the base infrastructure for providing the networks
https://tests.stockfishchess.org/nns
is down, use an alternate github repo for downloading networks during the build.
fixes #4149
fixes #4140
closes https://github.com/official-stockfish/Stockfish/pull/4151
No functional change
2022-09-07 07:32:53 +02:00
Joost VandeVondele
dddf8fc2b4
Increase the maximum number of threads to 1024
...
relatively soon servers with 512 threads will be available 'quite commonly',
anticipate even more threads, and increase our current maximum from 512 to 1024.
closes https://github.com/official-stockfish/Stockfish/pull/4152
No functional change.
2022-09-07 07:31:48 +02:00
dav1312
97860cb575
Disable ARM CI tests
...
Temporarily disable ARM CI tests until a mitigation is implemented
closes https://github.com/official-stockfish/Stockfish/pull/4148
No functional change.
2022-08-29 19:15:14 +02:00
mstembera
02ef1f4496
Make key_after() more consistent with key()
...
STC: https://tests.stockfishchess.org/tests/view/62f8547123d42b50a8dac674
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 176640 W: 47699 L: 47189 D: 81752
Ptnml(0-2): 776, 18599, 49129, 18971, 845
A bug fix plus non functional speed optimization. Position::key_after(Move m) is now
consistent with Position::key() thus prefetching correct TT entries which speeds things up.
Related PR #3759
closes https://github.com/official-stockfish/Stockfish/pull/4130
No functional change
2022-08-17 19:56:15 +02:00
Joost VandeVondele
15ac117ac4
Simplify the use of classical eval
...
no benefit of the fallback term (exercised rarely).
Cleanup the associated code.
passed STC
https://tests.stockfishchess.org/tests/view/62f62c2b6f0a08af9f776367
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 67832 W: 18334 L: 18148 D: 31350
Ptnml(0-2): 369, 7171, 18609, 7439, 328
passed LTC
https://tests.stockfishchess.org/tests/view/62f68beb6f0a08af9f77710e
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 104664 W: 28363 L: 28233 D: 48068
Ptnml(0-2): 169, 10162, 31511, 10350, 140
closes https://github.com/official-stockfish/Stockfish/pull/4132
Bench: 6079565
2022-08-15 18:01:37 +02:00
Michael Chaly
5f290352cd
Simplify away smp adjustment in TT use
...
Passed STC
https://tests.stockfishchess.org/tests/view/62f7d81f23d42b50a8dab568
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 98160 W: 26307 L: 26165 D: 45688
Ptnml(0-2): 201, 10282, 27960, 10448, 189
Passed LTC
https://tests.stockfishchess.org/tests/view/62f8d1a623d42b50a8dad4fb
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 81544 W: 22346 L: 22200 D: 36998
Ptnml(0-2): 44, 7542, 25446, 7704, 36
closes https://github.com/official-stockfish/Stockfish/pull/4131
No functional change (single threaded).
2022-08-15 17:54:56 +02:00
mckx00
3370f69881
Make LMR code easier to follow
...
Remove flags doFullDepthSearch and didLMR, and reorder instruction.
Small measured speedup.
Closes https://github.com/official-stockfish/Stockfish/pull/4129
No functional change.
2022-08-15 17:51:51 +02:00
mstembera
4568f6369b
Report longest PV lines for multithreaded search
...
In case several threads find the same bestmove,
report the longest PV line found.
closes https://github.com/official-stockfish/Stockfish/pull/4126
No functional change.
2022-08-15 17:46:27 +02:00
Joost VandeVondele
1054a483ca
Remove an unneeded randomization of evals.
...
most of the effect comes from the randomization of 3-folds.
passed STC:
https://tests.stockfishchess.org/tests/view/62e697e97e84186e5d19af6f
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 572976 W: 153168 L: 153539 D: 266269
Ptnml(0-2): 2505, 64783, 152364, 64250, 2586
passed LTC:
https://tests.stockfishchess.org/tests/view/62ee5977523c86dcd6957154
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 704808 W: 191212 L: 191680 D: 321916
Ptnml(0-2): 1340, 70579, 208972, 70235, 1278
closes https://github.com/official-stockfish/Stockfish/pull/4128
Bench: 5868987
2022-08-12 14:30:33 +02:00
Stefan Geschwentner
0a01dd044f
Cleanup code
...
This PR includes following cleanups:
- Remove the unused depth variable in the thread class.
- cleanup ValueList (added from mstembera)
closes https://github.com/official-stockfish/Stockfish/pull/4127
No functional change.
2022-08-12 14:29:40 +02:00
Joost VandeVondele
e639c45577
Update WDL model for current SF
...
This updates the WDL model based on the LTC statistics for the two weeks (3M games).
for old results see:
https://github.com/official-stockfish/Stockfish/pull/3981
https://github.com/official-stockfish/Stockfish/pull/3582
https://github.com/official-stockfish/Stockfish/pull/2778
closes https://github.com/official-stockfish/Stockfish/pull/4115
No functional change.
2022-08-06 13:57:30 +02:00
Joost VandeVondele
7cc929f437
Update CPU contributors list
...
Thanks for your contributions!
closes https://github.com/official-stockfish/Stockfish/pull/4116
No functional change
2022-08-06 13:53:55 +02:00
lonfom169
b8f4903fbb
Reintroduce singularQuietLMR
...
STC:
LLR: 2.96 (-2.94,2.94) <0.00,2.00>
Total: 88912 W: 23972 L: 23580 D: 41360
Ptnml(0-2): 365, 9820, 23712, 10176, 383
https://tests.stockfishchess.org/tests/view/62e9537a400addce2c13399b
LTC:
LLR: 2.97 (-2.94,2.94) <0.50,2.50>
Total: 85672 W: 23607 L: 23192 D: 38873
Ptnml(0-2): 219, 8316, 25365, 8703, 233
https://tests.stockfishchess.org/tests/view/62e9a174400addce2c1346e4
closes https://github.com/official-stockfish/Stockfish/pull/4122
Bench: 5921315
2022-08-06 13:52:36 +02:00
Stefan Geschwentner
675f6a038b
Tweak history updates
...
In general the history update bonus is slightly decreased by 11% which gives a slower saturation speed.
In addition only for main history the divisor is halfed (used history values are doubled to maintain same maximum)
which have an effect in the opposite direction on saturation speed.
STC:
LLR: 2.95 (-2.94,2.94) <0.00,2.50>
Total: 157088 W: 42673 L: 42168 D: 72247
Ptnml(0-2): 857, 17346, 41642, 17833, 866
https://tests.stockfishchess.org/tests/view/62e5517ab383a712b13867c5
LTC:
LLR: 2.94 (-2.94,2.94) <0.50,3.00>
Total: 325592 W: 88705 L: 87753 D: 149134
Ptnml(0-2): 594, 32288, 96076, 33248, 590
https://tests.stockfishchess.org/tests/view/62e5e4f4b383a712b1387d53
closes https://github.com/official-stockfish/Stockfish/pull/4119
Bench: 5518728
2022-08-06 13:50:01 +02:00
Michael Chaly
582c88ee94
Do more TT cutoffs in case of exact bound
...
The idea is that these TT entries are considered move valuable in TT replacement scheme - they are always overwriting other entries. So it makes sence for them to produce more aggressive cutoffs.
passed STC
https://tests.stockfishchess.org/tests/view/62e4d407b383a712b1385410
LLR: 2.95 (-2.94,2.94) <0.00,2.50>
Total: 96632 W: 26045 L: 25659 D: 44928
Ptnml(0-2): 434, 10635, 25770, 11065, 412
passed LTC
https://tests.stockfishchess.org/tests/view/62e523e2b383a712b1386193
LLR: 2.94 (-2.94,2.94) <0.50,3.00>
Total: 77960 W: 21363 L: 20989 D: 35608
Ptnml(0-2): 190, 7591, 23009, 8035, 155
closes https://github.com/official-stockfish/Stockfish/pull/4114
bench 5820568
2022-07-31 11:03:28 +02:00
Dubslow
18389e269d
remove useClassical depth condition
...
passed STC:
https://tests.stockfishchess.org/tests/view/62e0c3e98e4fa6ae472695ed
LLR: 2.96 (-2.94,2.94) <-2.25,0.25>
Total: 293568 W: 78934 L: 79151 D: 135483
Ptnml(0-2): 1344, 31488, 81366, 31213, 1373
passed LTC:
https://tests.stockfishchess.org/tests/view/62e190aa8e4fa6ae4726b5b5
LLR: 2.98 (-2.94,2.94) <-2.25,0.25>
Total: 187392 W: 50971 L: 51028 D: 85393
Ptnml(0-2): 384, 17801, 57369, 17772, 370
other attempts to otherwise tune this parameter failed, bounds 6,7,10,11 failed STC, 8 passed STC but failed LTC
closes https://github.com/official-stockfish/Stockfish/pull/4112
bench 5796377
2022-07-31 11:00:31 +02:00
Dubslow
c4a644922d
Simplify reduction condition for cutNodes
...
LMR: for cutNodes, dont exclude killer moves. This was a prelude to reducing
allNodes, altho that's failed so far.
STC https://tests.stockfishchess.org/tests/view/62d64ad147ae1768b34a27c3
LLR: 2.95 (-2.94,2.94) <-2.25,0.25>
Total: 37064 W: 10044 L: 9889 D: 17131
Ptnml(0-2): 162, 4115, 9828, 4260, 167
LTC https://tests.stockfishchess.org/tests/view/62d66cc047ae1768b34a2b14
LLR: 2.94 (-2.94,2.94) <-2.25,0.25>
Total: 39832 W: 10796 L: 10659 D: 18377
Ptnml(0-2): 69, 3969, 11706, 4100, 72
closes https://github.com/official-stockfish/Stockfish/pull/4109
bench: 5697891
2022-07-24 09:18:38 +02:00
Joost VandeVondele
4b4b7d1209
Update default net to nn-ad9b42354671.nnue
...
using trainer branch https://github.com/glinscott/nnue-pytorch/pull/208 with a slightly
tweaked loss function (power 2.5 instead of 2.6), otherwise same training as in
the previous net update https://github.com/official-stockfish/Stockfish/pull/4100
passed STC:
LLR: 2.97 (-2.94,2.94) <0.00,2.50>
Total: 367536 W: 99465 L: 98573 D: 169498
Ptnml(0-2): 1820, 40994, 97117, 42148, 1689
https://tests.stockfishchess.org/tests/view/62cc43fe50dcbecf5fc1c5b8
passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,3.00>
Total: 25032 W: 6802 L: 6553 D: 11677
Ptnml(0-2): 40, 2424, 7341, 2669, 42
https://tests.stockfishchess.org/tests/view/62ce5f421dacb46e4d5fd277
closes https://github.com/official-stockfish/Stockfish/pull/4107
Bench: 5905619
2022-07-13 18:01:20 +02:00
Michael Chaly
95d24b77df
Simplify away some unneeded code in time management
...
The lower bound of the clamp is never used since complexity can't be negative and thus is unneeded.
closes https://github.com/official-stockfish/Stockfish/pull/4105
No functional change
2022-07-13 18:00:39 +02:00
Joost VandeVondele
2e02dd7936
Limit the researching at same depth.
...
If the elapsed time is close to the available time, the time management thread can signal that the next iterations should be searched at the same depth (Threads.increaseDepth = false). While the rootDepth increases, the adjustedDepth is kept constant with the searchAgainCounter.
In exceptional cases, when threading is used and the master thread, which controls the time management, signals to not increaseDepth, but by itself takes a long time to finish the iteration, the helper threads can search repeatedly at the same depth. This search finishes more and more quickly, leading to helper threads that report a rootDepth of MAX_DEPTH (245). The latter is not optimal as it is confusing for the user, stops search on these threads, and leads to an incorrect bias in the thread voting scheme. Probably with only a small impact on strength.
This behavior was observed almost two years ago,
see https://github.com/official-stockfish/Stockfish/issues/2717
This patch fixes #2717 by ensuring the effective depth increases at once every four iterations,
even in increaseDepth is false.
Depth 245 searches (for non-trivial positions) were indeed absent with this patch,
but frequent with master in the tests below:
https://discord.com/channels/435943710472011776/813919248455827515/994872720800088095
Total pgns: 2173
Base: 2867
Patch: 0
it passed non-regression testing in various setups:
SMP STC:
https://tests.stockfishchess.org/tests/view/62bfecc96178ffe6394ba036
LLR: 2.94 (-2.94,2.94) <-2.25,0.25>
Total: 37288 W: 10171 L: 10029 D: 17088
Ptnml(0-2): 75, 3777, 10793, 3929, 70
SMP LTC:
https://tests.stockfishchess.org/tests/view/62c08f6f49b62510394be066
LLR: 2.94 (-2.94,2.94) <-2.25,0.25>
Total: 190568 W: 52125 L: 52186 D: 86257
Ptnml(0-2): 70, 17854, 59504, 17779, 77
LTC:
https://tests.stockfishchess.org/tests/view/62c08b6049b62510394bdfb6
LLR: 2.96 (-2.94,2.94) <-2.25,0.25>
Total: 48120 W: 13204 L: 13083 D: 21833
Ptnml(0-2): 54, 4458, 14919, 4571, 58
Special thanks to miguel-I, Disservin, ruicoelhopedro and others for analysing the problem,
the data, and coming up with the key insight, needed to fix this longstanding issue.
closes https://github.com/official-stockfish/Stockfish/pull/4104
Bench: 5182295
2022-07-09 10:58:04 +02:00