Steinar H. Gunderson
e8bc8639fc
Merge commit '93869d5d0aab2f7121bdf227def3a942c9fcde17' into cluster
2025-12-25 16:59:18 +01:00
Steinar H. Gunderson
a5c89f4592
Merge commit '60351b9df901ff5278f208a9cf3a40059ff54832' into cluster
...
This is the last commit before there are more conflicts.
2025-12-25 16:56:54 +01:00
Steinar H. Gunderson
a449238954
Merge commit '703f17975bd9c29172a27f795ca6b5a7d0a32b25' into cluster
2025-12-25 16:55:54 +01:00
Steinar H. Gunderson
0043886170
Merge commit 'e57fba7fc9be461cbb97c063b269a1e231cdd284' into cluster
...
This is the last commit before there are more conflicts.
2025-12-25 16:54:13 +01:00
Steinar H. Gunderson
0814961843
Merge commit '6135a0e2f830a587d2ac7a332bb62188fa924aad' into cluster
2025-12-25 16:52:43 +01:00
Steinar H. Gunderson
1cffdc1ce4
Merge commit '7e72b37e4ce3351399bb0ac08686bd84cdc4fba9' into cluster
2025-12-25 16:03:31 +01:00
Steinar H. Gunderson
0c451731c6
Merge commit '98a7bb4436f04505a17f37befab0207252e97897' into cluster
...
This is the last commit before there are more conflicts.
2025-12-25 16:00:06 +01:00
Steinar H. Gunderson
a20c6d296a
Merge commit '362a77a3450335e1940020c080bf3b7b361c594a' into cluster
2025-12-25 15:53:03 +01:00
Steinar H. Gunderson
d002e92294
Merge commit 'b209f14b1ee0cda8cbd7fa3a8349e65701d1869f' into cluster
...
This is the last commit before there are more conflicts.
2025-12-25 15:48:01 +01:00
Steinar H. Gunderson
d83e63c163
Merge commit '5d3517c601c64d026824251784dd44f0cbf14873' into cluster
2025-12-25 15:30:32 +01:00
Steinar H. Gunderson
d7cf6e22fd
Merge commit '5752529cabb3270e055147709ff0847e4d59ec22' into cluster
...
This is the last commit before there are more conflicts.
2025-12-25 15:27:42 +01:00
Steinar H. Gunderson
d1b19aad2f
Merge commit '2cbc20e846e46da8bfc8e254a7703a0bfad3b850' into cluster
2025-12-25 15:26:23 +01:00
Steinar H. Gunderson
8f9e750782
Merge commit '3c379e55d9d92a5704632c6255e72892a4db9a2f' into cluster
...
This is the last commit before there are more conflicts.
2025-12-25 15:22:41 +01:00
Steinar H. Gunderson
cefd309d92
Merge commit '25361e514bffb81284d4311601a9f7a4a7ced79b' into cluster
2025-12-25 15:22:02 +01:00
Steinar H. Gunderson
46264c6ed7
Merge commit '74a8fc060465a822f0c047f908d5fb07ebc6ad96' into cluster
...
This is the last commit before there are more conflicts.
2025-12-25 15:16:24 +01:00
Steinar H. Gunderson
5c9ed18b48
Merge commit 'b01fdb596a196f966549f7132c042ab67962fbbd' into cluster
2025-12-25 15:16:01 +01:00
Steinar H. Gunderson
7df644a00a
Merge commit '44cddbd962c738678f407a7414efa5b93f0710d9' into cluster
...
This is the last commit before there are more conflicts.
2025-12-25 15:10:02 +01:00
Steinar H. Gunderson
876495975e
Merge commit 'c8213ba0d047569141ed58f5eb86579d976b5614' into cluster
...
As part of this work, we needed to rename the namespace Stockfish::Cluster
to Stockfish::Distributed, as Cluster is now a type name.
2025-12-25 00:17:08 +01:00
Steinar H. Gunderson
f358a30ea0
Merge commit '7e890fd048e22bfd213d46ec8eb88f7931f0315d' into cluster
...
This is the last commit before there are more conflicts.
2025-12-24 16:29:33 +01:00
Steinar H. Gunderson
5034cf6593
Merge commit '66ed4312f22a951aaa01bbb87b2d730656b8f2c1' into cluster
2025-12-24 16:28:21 +01:00
Steinar H. Gunderson
52d8388101
Merge commit 'e6c83beed12a6d3d17c69bea4bcf1a397bc60c86' into cluster
...
This is the last commit before there are more conflicts.
2025-12-24 16:27:16 +01:00
Steinar H. Gunderson
9770899bf7
Merge commit '5688b188cc8560e107815c83a7084220fddebdb9' into cluster
2025-12-24 16:26:53 +01:00
Steinar H. Gunderson
639294636e
Merge commit '36eb9bc783d35842571d0d4313349b964892d9ca' into cluster
...
This is the last commit before there are more conflicts.
2025-12-24 16:26:07 +01:00
Steinar H. Gunderson
75138525c7
Merge commit '00a28ae325688346e63a452b2050bd1491085359' into cluster
2025-12-24 16:25:32 +01:00
Steinar H. Gunderson
784db2cbed
Merge commit 'a2a7edf4c8fa145667135bf1bc7f4f67016f7608' into cluster
...
This is the last commit before there are more conflicts.
2025-12-24 16:19:29 +01:00
Steinar H. Gunderson
bc81aa0911
Merge commit 'a169c78b6d3b082068deb49a39aaa1fd75464c7f' into cluster
2025-12-24 16:18:37 +01:00
Steinar H. Gunderson
e56697e3f1
Merge commit 'b0287dcb1c436887075962b596cf2068d2ca9ba8' into cluster
...
This is the last commit before there are more conflicts.
2025-12-24 15:23:14 +01:00
Steinar H. Gunderson
125f4f3df0
Merge commit 'ed79745bb9e7207b604c62758ea45dd5c597ed8d' into cluster
2025-12-24 15:22:12 +01:00
Steinar H. Gunderson
ea9a328340
Merge commit 'c14b69790a62aad89fcc471cde482923dfe57f1e' into cluster
...
This is the last commit before there are more conflicts.
2025-12-24 15:17:55 +01:00
Steinar H. Gunderson
fb9a3d3323
Merge commit '2dbb44e28d2e5b3c72ddbbd6f436d41f75031a22' into cluster
2025-12-24 15:17:18 +01:00
Steinar H. Gunderson
649004ed47
Merge commit 'db147fe2586527a854516016699949af53dc5b17' into cluster
...
This is the last commit before there are more conflicts.
2025-12-24 15:14:23 +01:00
Steinar H. Gunderson
b7045f1bf6
Merge commit 'bc45cbc820a53a9fc405c06ca67bd7be3970344e' into cluster
2025-12-24 15:13:28 +01:00
Steinar H. Gunderson
5f5f991780
Merge commit '3502c8ae426506453ca64e87e48d962b327c2356' into cluster
2025-12-24 15:12:37 +01:00
Steinar H. Gunderson
ba47c8eeeb
Merge commit 'ddd250b9d655117920dd65a973cea2f8b3c57fce' into cluster
2025-12-24 15:03:08 +01:00
Steinar H. Gunderson
6b6279098d
Merge commit 'd47aa639bd614b37a59f87e6ab68496580f0cf3e' into cluster
...
This is the last commit before there are more conflicts.
2025-12-24 15:02:03 +01:00
Steinar H. Gunderson
2a1ed1267e
Merge commit 'd3fc1d835e5144cc98d6a7658fb8cfd9370792f1' into cluster
2025-12-24 14:37:41 +01:00
Steinar H. Gunderson
8e509e240a
Merge commit '432995ad82119070afa0bf720eb65d800bcbf817' into cluster
...
This is the last commit before there are more conflicts.
2025-12-24 13:57:03 +01:00
Steinar H. Gunderson
1b80a18fac
Merge commit '4912f5b0b5f2656bc5fcdb0af480765ad5aa8932' into cluster
2025-12-24 13:55:47 +01:00
Steinar H. Gunderson
ee41dc5c98
Merge commit '14f6eab07d1d1e1a59372974e5534128676e9440' into cluster
...
This is the last commit before there are more conflicts.
2025-12-24 13:51:24 +01:00
Steinar H. Gunderson
f0793a2080
Merge commit '9032c6cbe74ccf7e8963755501e7e6cc473ae471' into cluster
...
This is a rather involved merge, since the cluster changes interact
fairly badly with the refactoring we're merging:
The new code wants the search to know nothing at all about the UCI protocol,
it just calls a callback with some worker information (including a Position),
which then transforms that information into a InfoFull which is then sent
through another callback, upon which UCIEngine converts it to UCI and writes
it to stdout.
On the other hand, the MPI information wants to exchange PVs between workers
at this point, and it wants to use the UCI string as the primary medium of
exchange. Position is a lot of work to serialize, so we choose a middle road;
we capture the InfoFull by switching out the callback, serializes it, does the
MPI exchange on that, unserializes it and then continues with the print callback
(if there is new information).
2025-12-24 13:50:14 +01:00
Steinar H. Gunderson
a3cb287405
Merge commit '299707d2c2cbf1694bb21ed4a375b54ef35d719e' into cluster
2025-12-23 16:21:07 +01:00
Wencey Wang and Joost VandeVondele
93869d5d0a
Fix native arch builds on loongarch64
...
Adds support for LSX and LASX
closes https://github.com/official-stockfish/Stockfish/pull/5600
No functional change
2024-09-28 17:12:12 +02:00
Shawn Xu and Disservin
60351b9df9
Introduce Various Correction histories
...
This patch introduces three additional correction histories, namely,
Major Piece Correction History, Minor Piece Correction History, and
Non-Pawn Correction History.
Introduced by @mcthouacbb in Sirius
(https://github.com/mcthouacbb/Sirius ) chess engine. The Major Piece
Correction History is indexed by side-to-move and the Zobrist key
representing the position of the King, Rook, and Queen of both sides.
Likewise, the Minor Piece Correction History is indexed by side-to-move
and the Zobrist key representing the position of the King, Knight, and
Bishop of both sides.
Also See:
https://github.com/mcthouacbb/Sirius/commit/97b85bbaac88ff5a0f63e28776027dd3de77164e
https://github.com/mcthouacbb/Sirius/commit/3099cdef2f13e29805654b5f8153e6ecd5853195
Introduced by @zzzzz151 in Starzix (https://github.com/zzzzz151/Starzix )
chess engine. Non-Pawn correction history consists of side-to-move, side
of Zobrist key, and a Zobrist key representing of the position of all
non-pawn pieces of **one side**. The non-pawn correction values for both
key sides are then summed.
Also See:
https://github.com/zzzzz151/Starzix/commit/34911772f178c27b3a239dda0acb79c397c3a2f0
https://github.com/zzzzz151/Starzix/commit/33e0df8dd2db1d4775974ab12e3390154697f47a
The weights on the final correction value of the above correction
histories, as well as existing correction histories, are then tuned in
two separate SPSA sessions, totaling 75k games.
SPSA1:
https://tests.stockfishchess.org/tests/view/66e5243886d5ee47d953a86b
(Stopped early due to some weights reaching the maximum value)
SPSA2:
https://tests.stockfishchess.org/tests/view/66e6a26f86d5ee47d953a965
Also thanks to @martinnovaak, (Motor
https://github.com/martinnovaak/motor author) for insights and
suggestions.
Passed STC:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 23328 W: 6197 L: 5901 D: 11230
Ptnml(0-2): 82, 2582, 6041, 2876, 83
https://tests.stockfishchess.org/tests/view/66e8787b86d5ee47d953ab6f
Passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 10626 W: 2826 L: 2560 D: 5240
Ptnml(0-2): 4, 1054, 2941, 1300, 14
https://tests.stockfishchess.org/tests/view/66e8ab2386d5ee47d953aba8
closes https://github.com/official-stockfish/Stockfish/pull/5598
Bench: 1011161
2024-09-17 21:01:43 +02:00
Michael Chaly and Disservin
240a5b1c72
Introduce separate butterfly history table for sorting root moves
...
Idea of this patch comes from the fact that current history heuristics
are mostly populated by low depth entries since our stat bonus reaches
maximum value at depth 5-6 and number of low depth nodes is much bigger
than number of high depth nodes. But it doesn't make a whole lost of
sense to use this low-depth centered histories to sort moves at root.
Current patch introduces special history table that is used exclusively
at root, it remembers which quiet moves were good and which quiet moves
were not good there and uses this information for move ordering.
Passed STC:
https://tests.stockfishchess.org/tests/view/66dda74adc53972b68218cc9
LLR: 2.93 (-2.94,2.94) <0.00,2.00>
Total: 127680 W: 33579 L: 33126 D: 60975
Ptnml(0-2): 422, 15098, 32391, 15463, 466
Passed LTC:
https://tests.stockfishchess.org/tests/view/66dead2adc53972b68218d34
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 381978 W: 96958 L: 95923 D: 189097
Ptnml(0-2): 277, 42165, 105089, 43162, 296
closes https://github.com/official-stockfish/Stockfish/pull/5595
Bench: 1611283
2024-09-17 20:54:02 +02:00
Shawn Xu and Disservin
5ce7f866a5
Simplify Fail Low Bonus
...
Passed Non-regression STC:
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 302528 W: 78190 L: 78264 D: 146074
Ptnml(0-2): 1029, 35797, 77551, 35993, 894
https://tests.stockfishchess.org/tests/view/66dcebdedc53972b68218c7e
Passed Non-regression LTC:
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 122754 W: 31025 L: 30907 D: 60822
Ptnml(0-2): 74, 13597, 33908, 13733, 65
https://tests.stockfishchess.org/tests/view/66e0c38686d5ee47d953a481
closes https://github.com/official-stockfish/Stockfish/pull/5594
Bench: 1646373
2024-09-17 20:50:30 +02:00
Muzhen Gaming and Disservin
224c147bd6
VVLTC Search Tune
...
Tuned with 115k games at VVLTC:
https://tests.stockfishchess.org/tests/view/66c80e09bf8c9d8780fda62a
Passed VVLTC 1st sprt:
https://tests.stockfishchess.org/tests/view/66d69ade9de3e7f9b33d14f9
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 54270 W: 13935 L: 13647 D: 26688
Ptnml(0-2): 2, 4907, 17032, 5189, 5
Passed VVLTC 2nd sprt:
https://tests.stockfishchess.org/tests/view/66dcf9c1dc53972b68218c84
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 136696 W: 34941 L: 34462 D: 67293
Ptnml(0-2): 8, 12659, 42535, 13138, 8
closes https://github.com/official-stockfish/Stockfish/pull/5592
Bench: 1644273
2024-09-17 20:47:24 +02:00
Disservin
a06e7004c1
Port instrumented testing to python
...
Since an unknown amount of time the instrumented CI has been a bit
flawed, explained here
https://github.com/official-stockfish/Stockfish/issues/5185 . It also
experiences random timeout issues where restarting the workflow fixes it
or very long run times (more than other workflows) and is not very
portable.
The intention of this commit is to port the instrumented.sh to python
which also works on other operating systems. It should also be
relatively easy for beginners to add new tests to assert stockfish's
output and to run it.
From the source directory the following command can be run.
`python3 ../tests/instrumented.py --none ./stockfish`
A test runner will go over the test suites and run the test cases.
All instrumented tests should have been ported over.
The required python version for this is should be 3.7 (untested) + the
requests package, testing.py includes some infrastructure code which
setups the testing.
fixes https://github.com/official-stockfish/Stockfish/issues/5185
closes https://github.com/official-stockfish/Stockfish/pull/5583
No functional change
2024-09-17 20:24:17 +02:00
MinetaS and Disservin
f677aee28b
Fix net downloading script
...
The recent commit introduced a bug in the net downloading script that
the file is not downloaded correctly and the content is redirected to
stdout.
closes https://github.com/official-stockfish/Stockfish/pull/5585
No functional change
2024-09-10 23:00:41 +02:00
Nonlinear2 and Disservin
d8e49cdbdd
Remove the moveCount increase in the LMR condition.
...
Passed non-regression STC:
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 87104 W: 22630 L: 22464 D: 42010
Ptnml(0-2): 316, 10295, 22132, 10525, 284
https://tests.stockfishchess.org/tests/view/66dccd00dc53972b68218c60
Passed non-regression LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 94050 W: 23869 L: 23722 D: 46459
Ptnml(0-2): 49, 10400, 25985, 10537, 54
https://tests.stockfishchess.org/tests/view/66dd69c7dc53972b68218ca5
closes https://github.com/official-stockfish/Stockfish/pull/5582
Bench: 1281840
2024-09-10 22:59:27 +02:00
MinetaS and Disservin
6de2587236
Remove statScore condition in NMP
...
Eliminate the condition that is nearly 100% likelihood of being true.
Passed non-regression STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 208832 W: 54053 L: 54022 D: 100757
Ptnml(0-2): 753, 24987, 52901, 25026, 749
https://tests.stockfishchess.org/tests/view/66cddb50bf8c9d8780fdabaf
Passed non-regression LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 154344 W: 39132 L: 39047 D: 76165
Ptnml(0-2): 115, 17231, 42403, 17300, 123
https://tests.stockfishchess.org/tests/view/66cfafe39de3e7f9b33d1050
closes https://github.com/official-stockfish/Stockfish/pull/5558
Bench: 1393697
2024-09-10 22:58:47 +02:00