fairystockfish.git
4 years agoTweak shogi passed pawn eval
Fabian Fichter [Sun, 27 Dec 2020 09:53:34 +0000]
Tweak shogi passed pawn eval

shogi STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 11164 W: 5584 L: 5526 D: 54
http://www.variantfishtest.org:6543/tests/view/5fe0e1e96e23db221d9e9647

shogi LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 17209 W: 8731 L: 8381 D: 97
http://www.variantfishtest.org:6543/tests/view/5fe454c96e23db221d9e96a2

4 years agoMake racing kings rules fully lichess compliant
Fabian Fichter [Thu, 24 Dec 2020 19:44:38 +0000]
Make racing kings rules fully lichess compliant

racingkings STC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 1512 W: 500 L: 459 D: 553
http://www.variantfishtest.org:6543/tests/view/5fe4c2e76e23db221d9e96ac

racingkings LTC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 1509 W: 452 L: 413 D: 644
http://www.variantfishtest.org:6543/tests/view/5fe4c8c86e23db221d9e96af

4 years agoEnable pure NNUE for most variants
Fabian Fichter [Wed, 23 Dec 2020 22:41:52 +0000]
Enable pure NNUE for most variants

Since NNUE is faster and better than classical evaluation,
use pure NNUE for all variants except 3check.

makpong STC
ELO: 94.32 +-43.1 (95%) LOS: 100.0%
Total: 200 W: 102 L: 49 D: 49

makpong LTC
ELO: 96.19 +-59.2 (95%) LOS: 100.0%
Total: 100 W: 49 L: 22 D: 29

minixiangqi STC
ELO: 75.88 +-34.3 (95%) LOS: 100.0%
Total: 200 W: 72 L: 29 D: 99

minixiangqi LTC
ELO: 70.44 +-49.4 (95%) LOS: 99.8%
Total: 100 W: 36 L: 16 D: 48

racingkings STC
ELO: 57.86 +-25.8 (95%) LOS: 100.0%
Total: 400 W: 147 L: 81 D: 172

racingkings LTC
ELO: 56.07 +-50.4 (95%) LOS: 98.7%
Total: 100 W: 35 L: 19 D: 46

losers STC
ELO: 63.23 +-65.5 (95%) LOS: 97.5%
Total: 100 W: 53 L: 35 D: 12

losers LTC
ELO: 31.35 +-65.9 (95%) LOS: 82.8%
Total: 100 W: 50 L: 41 D: 9

4 years agoUpdate build actions
Fabian Fichter [Wed, 23 Dec 2020 16:22:22 +0000]
Update build actions

4 years agoSimplify losing chess material evaluation
Fabian Fichter [Wed, 23 Dec 2020 15:57:27 +0000]
Simplify losing chess material evaluation

giveaway STC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 922 W: 372 L: 323 D: 227
http://www.variantfishtest.org:6543/tests/view/5fe330d46e23db221d9e967c

giveaway LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 1718 W: 652 L: 609 D: 457
http://www.variantfishtest.org:6543/tests/view/5fe346dd6e23db221d9e9688

losers STC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 485 W: 241 L: 183 D: 61
http://www.variantfishtest.org:6543/tests/view/5fe346ee6e23db221d9e968a

losers LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 547 W: 273 L: 215 D: 59
http://www.variantfishtest.org:6543/tests/view/5fe34b7d6e23db221d9e968c

4 years agoRename games in variants.ini
Fabian Fichter [Wed, 23 Dec 2020 13:45:35 +0000]
Rename games in variants.ini

4 years agoTweak material evaluation for 3check
Fabian Fichter [Wed, 23 Dec 2020 11:46:48 +0000]
Tweak material evaluation for 3check

3check STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 12578 W: 6069 L: 5791 D: 718
http://www.variantfishtest.org:6543/tests/view/5fe224a06e23db221d9e9665

3check LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 6552 W: 3187 L: 2996 D: 369
http://www.variantfishtest.org:6543/tests/view/5fe274226e23db221d9e966f

4 years agoFix sanitizer error and re-enable full travis
Fabian Fichter [Wed, 23 Dec 2020 11:39:21 +0000]
Fix sanitizer error and re-enable full travis

Closes #213.

4 years agoFix undefined behavior for large-board variants
Fabian Fichter [Wed, 23 Dec 2020 10:50:49 +0000]
Fix undefined behavior for large-board variants

Partly addresses #213.

4 years agoDisable capablanca bench test until #213 is fixed
Fabian Fichter [Wed, 23 Dec 2020 09:08:37 +0000]
Disable capablanca bench test until #213 is fixed

5 years agoCheck bonus on top of NNUE evaluation for 3check
Fabian Fichter [Tue, 22 Dec 2020 22:58:28 +0000]
Check bonus on top of NNUE evaluation for 3check

In order to compensate for the lack for check counts
in the input features of the NNUE evaluation,
add an additional evaluation term on top of it.

3check STC
Score of patch vs master: 114 - 73 - 13  [0.603] 200
Elo difference: 72.2 +/- 47.8, LOS: 99.9 %, DrawRatio: 6.5 %

3check LTC
Score of patch vs master: 105 - 79 - 16  [0.565] 200
Elo difference: 45.4 +/- 46.8, LOS: 97.2 %, DrawRatio: 8.0 %

5 years agoFix link
Fabian Fichter [Tue, 22 Dec 2020 18:32:54 +0000]
Fix link

5 years agoAdd workflow badge to readme
Fabian Fichter [Tue, 22 Dec 2020 18:30:54 +0000]
Add workflow badge to readme

5 years agoAdd basic build workflow
Fabian Fichter [Tue, 22 Dec 2020 17:36:58 +0000]
Add basic build workflow

5 years agoSimplify space evaluation for drop variants
Fabian Fichter [Tue, 22 Dec 2020 14:43:51 +0000]
Simplify space evaluation for drop variants

crazyhouse STC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 3579 W: 1749 L: 1708 D: 122
http://www.variantfishtest.org:6543/tests/view/5fdf73c16e23db221d9e95f5

crazyhouse LTC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 945 W: 484 L: 425 D: 36
http://www.variantfishtest.org:6543/tests/view/5fe1b6c56e23db221d9e9653

shogi STC
LLR: -2.98 (-2.94,2.94) [-10.00,5.00]
Total: 4773 W: 2324 L: 2427 D: 22
http://www.variantfishtest.org:6543/tests/view/5fdf73d36e23db221d9e95f8

shogi LTC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 3545 W: 1785 L: 1742 D: 18
http://www.variantfishtest.org:6543/tests/view/5fe1b6b06e23db221d9e9651

5 years agoConsider king attacks by shogi pawns
Fabian Fichter [Mon, 21 Dec 2020 21:23:02 +0000]
Consider king attacks by shogi pawns

shogi STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 15338 W: 7697 L: 7579 D: 62
http://www.variantfishtest.org:6543/tests/view/5fd93c2f6e23db221d9e9543

shogi LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2780 W: 1454 L: 1312 D: 14
http://www.variantfishtest.org:6543/tests/view/5fe0d92f6e23db221d9e9642

5 years agoLeapers are stronger in drop variants
Fabian Fichter [Mon, 21 Dec 2020 15:11:34 +0000]
Leapers are stronger in drop variants

shogi STC
LLR: -2.96 (-2.94,2.94) [0.00,10.00]
Total: 7387 W: 3678 L: 3674 D: 35
http://www.variantfishtest.org:6543/tests/view/5fde3b356e23db221d9e95ba

shogi LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2718 W: 1423 L: 1282 D: 13
http://www.variantfishtest.org:6543/tests/view/5fdf23cc6e23db221d9e95ca

crazyhouse STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 3783 W: 1818 L: 1864 D: 101
http://www.variantfishtest.org:6543/tests/view/5fde471c6e23db221d9e95c2

crazyhouse LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 2116 W: 1055 L: 1003 D: 58
http://www.variantfishtest.org:6543/tests/view/5fe05d9f6e23db221d9e961f

5 years agoMerge official-stockfish/master
Fabian Fichter [Mon, 21 Dec 2020 12:34:44 +0000]
Merge official-stockfish/master

bench: 4498745

5 years agoMerge official-stockfish/master
Fabian Fichter [Mon, 21 Dec 2020 12:19:42 +0000]
Merge official-stockfish/master

bench: 4525008

5 years agoSkip king proximity malus when attacking king ring
Fabian Fichter [Mon, 21 Dec 2020 11:45:23 +0000]
Skip king proximity malus when attacking king ring

shogi STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2087 W: 1103 L: 971 D: 13
http://www.variantfishtest.org:6543/tests/view/5fdf764f6e23db221d9e95fa

shogi LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 950 W: 531 L: 415 D: 4
http://www.variantfishtest.org:6543/tests/view/5fe05bac6e23db221d9e961d

crazyhouse STC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 1699 W: 855 L: 800 D: 44
http://www.variantfishtest.org:6543/tests/view/5fdf83966e23db221d9e9606

5 years agoMerge official-stockfish/master
Fabian Fichter [Mon, 21 Dec 2020 10:53:07 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Mon, 21 Dec 2020 10:48:05 +0000]
Merge official-stockfish/master

bench: 4073348

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 20 Dec 2020 21:55:14 +0000]
Merge official-stockfish/master

bench: 4210065

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 20 Dec 2020 18:21:50 +0000]
Merge official-stockfish/master

bench: 4173895

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 20 Dec 2020 18:14:25 +0000]
Merge official-stockfish/master

No functional change.

5 years agoUpdate gitignore
Fabian Fichter [Sun, 20 Dec 2020 13:47:02 +0000]
Update gitignore

5 years agoIncrease value of euroshogi knight
Fabian Fichter [Sun, 20 Dec 2020 11:21:30 +0000]
Increase value of euroshogi knight

euroshogi STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 3847 W: 1980 L: 1823 D: 44
http://www.variantfishtest.org:6543/tests/view/5fde386c6e23db221d9e95b4

euroshogi LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 4171 W: 2136 L: 1975 D: 60
http://www.variantfishtest.org:6543/tests/view/5fde75226e23db221d9e95c8

5 years agoFile dependent horde imbalance
Fabian Fichter [Sat, 19 Dec 2020 06:49:40 +0000]
File dependent horde imbalance

horde STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 18445 W: 9313 L: 8946 D: 186
http://www.variantfishtest.org:6543/tests/view/5fd609b96e23db221d9e9520

horde LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 7637 W: 3892 L: 3680 D: 65
http://www.variantfishtest.org:6543/tests/view/5fd735576e23db221d9e952e

5 years agoSimplify condition for assigning static-eval based bonus
pb00067 [Mon, 14 Dec 2020 15:30:56 +0000]
Simplify condition for assigning static-eval based bonus

for quiet move ordering and simplify bonus formula.

Due to clamping the bonus to relative low values the impact on high
depths is minimal, thus the restriction to low depths seems not
necessary.
Also the condition of movecount in previous node seems to be not
determinant.

Passed STC:
LLR: 2.95 (-2.94,2.94) {-1.25,0.25}
Total: 14600 W: 1424 L: 1323 D: 11853
Ptnml(0-2): 55, 1033, 5020, 1140, 52
https://tests.stockfishchess.org/tests/view/5fd67b381ac16912018885ec

Passed LTC:
LLR: 2.95 (-2.94,2.94) {-0.75,0.25}
Total: 85008 W: 3218 L: 3206 D: 78584
Ptnml(0-2): 49, 2840, 36700, 2880, 35
https://tests.stockfishchess.org/tests/view/5fd6af041ac16912018885f8

closes https://github.com/official-stockfish/Stockfish/pull/3265

bench: 4524994

5 years agoAdjust definition of unsafeSquares
FauziAkram [Wed, 16 Dec 2020 13:35:39 +0000]
Adjust definition of unsafeSquares

and adjust related bonus values. The bonus is now not given whenever
there is an enemy piece in front of the pawn.

Passed STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 109472 W: 22097 L: 21673 D: 65702
Ptnml(0-2): 2111, 12800, 24482, 13240, 2103
https://tests.stockfishchess.org/tests/view/5fd8d3740c5870924361ffad

Passed LTC:
LLR: 2.95 (-2.94,2.94) {0.25,1.25}
Total: 39384 W: 5334 L: 4990 D: 29060
Ptnml(0-2): 279, 3648, 11535, 3910, 320
https://tests.stockfishchess.org/tests/view/5fd971ab0c5870924361fff0

closes https://github.com/official-stockfish/Stockfish/pull/3266

Bench: 4488955

5 years agoTweak shogi piece values
Fabian Fichter [Fri, 18 Dec 2020 15:33:42 +0000]
Tweak shogi piece values

shogi STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 3164 W: 1651 L: 1503 D: 10
http://www.variantfishtest.org:6543/tests/view/5fda7bcd6e23db221d9e9563

shogi LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1540 W: 828 L: 704 D: 8
http://www.variantfishtest.org:6543/tests/view/5fdb06a26e23db221d9e956b

minishogi STC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 3084 W: 1565 L: 1519 D: 0
http://www.variantfishtest.org:6543/tests/view/5fda82406e23db221d9e9568

makruk STC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 7074 W: 598 L: 576 D: 5900
http://www.variantfishtest.org:6543/tests/view/5fdb32106e23db221d9e956f

5 years agoTweak horde breakthrough bonus
Fabian Fichter [Fri, 18 Dec 2020 12:51:24 +0000]
Tweak horde breakthrough bonus

horde STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1952 W: 1029 L: 899 D: 24
http://www.variantfishtest.org:6543/tests/view/5fdc72e46e23db221d9e9586

horde LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2054 W: 1083 L: 952 D: 19
http://www.variantfishtest.org:6543/tests/view/5fdc785c6e23db221d9e9589

5 years agoFix refcount bugs in pyffish (#218)
Bajusz Tamás [Fri, 18 Dec 2020 09:21:28 +0000]
Fix refcount bugs in pyffish (#218)

5 years agoSimplify horde breakthrough bonus
Fabian Fichter [Fri, 18 Dec 2020 09:10:52 +0000]
Simplify horde breakthrough bonus

horde STC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 564 W: 312 L: 248 D: 4
http://www.variantfishtest.org:6543/tests/view/5fdbea7c6e23db221d9e957a

horde LTC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 363 W: 211 L: 146 D: 6
http://www.variantfishtest.org:6543/tests/view/5fdbf10b6e23db221d9e9582

5 years agoRefine horde connected bonus
Fabian Fichter [Wed, 16 Dec 2020 19:04:14 +0000]
Refine horde connected bonus

horde STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 957 W: 532 L: 416 D: 9
http://www.variantfishtest.org:6543/tests/view/5fda46cb6e23db221d9e9557

horde LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 904 W: 506 L: 391 D: 7
http://www.variantfishtest.org:6543/tests/view/5fda4a616e23db221d9e955a

5 years agoSimplify away shogi pawn structure evaluation
Fabian Fichter [Wed, 16 Dec 2020 17:48:29 +0000]
Simplify away shogi pawn structure evaluation

shogi STC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 1737 W: 890 L: 834 D: 13
http://www.variantfishtest.org:6543/tests/view/5fd93a846e23db221d9e9540

shogi LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 3348 W: 1686 L: 1642 D: 20
http://www.variantfishtest.org:6543/tests/view/5fd9b46f6e23db221d9e9552

5 years agoSimplify away shogi pawns from space bonus
Fabian Fichter [Wed, 16 Dec 2020 17:47:26 +0000]
Simplify away shogi pawns from space bonus

shogi STC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 1986 W: 1016 L: 962 D: 8
http://www.variantfishtest.org:6543/tests/view/5fd940e86e23db221d9e954f

shogi LTC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 1394 W: 724 L: 666 D: 4
http://www.variantfishtest.org:6543/tests/view/5fd9b4876e23db221d9e9554

5 years agoIncrease connected bonus for horde
Fabian Fichter [Mon, 14 Dec 2020 22:46:31 +0000]
Increase connected bonus for horde

horde STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 3522 W: 1821 L: 1668 D: 33
http://www.variantfishtest.org:6543/tests/view/5fd79bf96e23db221d9e9531

horde LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1983 W: 1046 L: 916 D: 21
http://www.variantfishtest.org:6543/tests/view/5fd7b7246e23db221d9e9534

5 years agoIncrease reduction in case of stable best move
Vizvezdenec [Mon, 14 Dec 2020 00:49:04 +0000]
Increase reduction in case of stable best move

The idea of this patch is pretty simple - we already do more reductions
for non-PV and root nodes in case of stable best move for depth > 10.
This patch makes us do so if root depth if > 10 instead, which
is logical since best move changes (thus instability of it) is
counted at root, so it makes a lot of sense to use depth of the root.

passed STC
https://tests.stockfishchess.org/tests/view/5fd643271ac16912018885c5
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 13232 W: 1308 L: 1169 D: 10755
Ptnml(0-2): 39, 935, 4535, 1062, 45

passed LTC
https://tests.stockfishchess.org/tests/view/5fd68db11ac16912018885f0
LLR: 2.96 (-2.94,2.94) {0.25,1.25}
Total: 14024 W: 565 L: 463 D: 12996
Ptnml(0-2): 3, 423, 6062, 517, 7

closes https://github.com/official-stockfish/Stockfish/pull/3263

Bench: 4050630

5 years agoMerge static history into main history,
pb00067 [Sun, 13 Dec 2020 20:23:30 +0000]
Merge static history into main history,

thus simplifying and reducing the memory footprint.
I believe using static diff for better move ordering is more suited for
low depths, so restrict writing to low depths.

Todo: probably the condition for writing can be simplified

LTC:
LLR: 2.95 (-2.94,2.94) {-0.75,0.25}
Total: 18752 W: 768 L: 705 D: 17279
Ptnml(0-2): 7, 635, 8034, 688, 12
https://tests.stockfishchess.org/tests/view/5fd631791ac169120188859e

STC:
LLR: 2.95 (-2.94,2.94) {-1.25,0.25}
Total: 36504 W: 3380 L: 3313 D: 29811
Ptnml(0-2): 116, 2667, 12645, 2682, 142
https://tests.stockfishchess.org/tests/view/5fd5ed861ac1691201888569

closes https://github.com/official-stockfish/Stockfish/pull/3262

bench: 4018036

5 years agoAVX512, AVX2 and SSSE3 speedups
mstembera [Sat, 12 Dec 2020 22:18:38 +0000]
AVX512, AVX2 and SSSE3 speedups

Improves throughput by summing 2 intermediate dot products using 16 bit addition before upconverting to 32 bit.

Potential saturation is detected and the code-path is avoided in this case.
The saturation can't happen with the current nets,
but nets can be constructed that trigger this check.

STC https://tests.stockfishchess.org/tests/view/5fd40a861ac1691201888479
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 25544 W: 2451 L: 2296 D: 20797
Ptnml(0-2): 92, 1761, 8925, 1888, 106

about 5% speedup

closes https://github.com/official-stockfish/Stockfish/pull/3261

No functional change

5 years agoLower bonus for non-queen breakthroughs
Fabian Fichter [Sun, 13 Dec 2020 12:22:28 +0000]
Lower bonus for non-queen breakthroughs

horde STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1498 W: 804 L: 681 D: 13
http://www.variantfishtest.org:6543/tests/view/5fd4c8d96e23db221d9e950b

horde LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 3282 W: 1703 L: 1554 D: 25
http://www.variantfishtest.org:6543/tests/view/5fd512666e23db221d9e951b

5 years agoNew Imbalance Tables Tweak
FauziAkram [Mon, 7 Dec 2020 17:28:47 +0000]
New Imbalance Tables Tweak

Imbalance tables tweaked to contain MiddleGame and Endgame values, instead of a single value.

The idea started from Fisherman, which requested my help to tune the values back in June/July,
so I tuned the values back then, and we were able to accomplish good results,
but not enough to pass both STC and LTC tests.

So after the recent changes, I decided to give it another shot, and I am glad that it was a successful attempt.

A special thanks goes also to mstembera, which notified me a simple way to let the patch perform a little better.

Passed STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 115976 W: 23124 L: 22695 D: 70157
Ptnml(0-2): 2074, 13652, 26285, 13725, 2252
https://tests.stockfishchess.org/tests/view/5fc92d2d42a050a89f02ccc8

Passed LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 156304 W: 20617 L: 20024 D: 115663
Ptnml(0-2): 1138, 14647, 46084, 15050, 1233
https://tests.stockfishchess.org/tests/view/5fc9fee142a050a89f02cd3e

closes https://github.com/official-stockfish/Stockfish/pull/3255

Bench: 4278746

5 years agoUse arithmetic right shift for sign extension in MMX and SSE2 paths
Fanael Linithien [Mon, 7 Dec 2020 13:46:29 +0000]
Use arithmetic right shift for sign extension in MMX and SSE2 paths

This appears to be slightly faster than using a comparison against zero
to compute the high bits, on both old (like Pentium III) and new (like
Zen 2) hardware.

closes https://github.com/official-stockfish/Stockfish/pull/3254

No functional change.

5 years agoCache TsumeMode option
Fabian Fichter [Fri, 11 Dec 2020 20:59:04 +0000]
Cache TsumeMode option

Speed-up for horde chess.

horde STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1761 W: 935 L: 808 D: 18
http://www.variantfishtest.org:6543/tests/view/5fd3c1ac6e23db221d9e94f7

5 years agoTweak horde imbalance
Fabian Fichter [Fri, 11 Dec 2020 12:49:22 +0000]
Tweak horde imbalance

horde STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1562 W: 834 L: 710 D: 18
http://www.variantfishtest.org:6543/tests/view/5fd290846e23db221d9e94d2

horde LTC
LLR: 2.94 (-2.94,2.94) [0.00,10.00]
Total: 714 W: 411 L: 299 D: 4
http://www.variantfishtest.org:6543/tests/view/5fd2b1a46e23db221d9e94dc

5 years agoRefactor rider attacks
Fabian Fichter [Wed, 9 Dec 2020 17:33:43 +0000]
Refactor rider attacks

5 years agoSpeed up attack generation for leapers
Fabian Fichter [Wed, 9 Dec 2020 19:06:55 +0000]
Speed up attack generation for leapers

chess STC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 2299 W: 535 L: 502 D: 1262
http://www.variantfishtest.org:6543/tests/view/5fd0060c6e23db221d9e94b4

seirawan STC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 896 W: 342 L: 295 D: 259
http://www.variantfishtest.org:6543/tests/view/5fd0ab0f6e23db221d9e94c4

minishogi STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 3418 W: 1785 L: 1633 D: 0
http://www.variantfishtest.org:6543/tests/view/5fd006326e23db221d9e94b7

asean STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1211 W: 246 L: 174 D: 791
http://www.variantfishtest.org:6543/tests/view/5fd006816e23db221d9e94b9

No functional change.

5 years agoSimplify gating SEE
Fabian Fichter [Mon, 7 Dec 2020 21:01:51 +0000]
Simplify gating SEE

seirawan STC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 830 W: 327 L: 278 D: 225
http://www.variantfishtest.org:6543/tests/view/5fce987d6e23db221d9e949d

seirawan LTC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 817 W: 287 L: 241 D: 289
http://www.variantfishtest.org:6543/tests/view/5fce9faa6e23db221d9e94a0

5 years agoSimplify SEE for racing kings
Fabian Fichter [Tue, 8 Dec 2020 16:42:19 +0000]
Simplify SEE for racing kings

racingkings STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 582 W: 237 L: 153 D: 192
http://www.variantfishtest.org:6543/tests/view/5fce8bf26e23db221d9e9498

racingkings LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 582 W: 205 L: 127 D: 250
http://www.variantfishtest.org:6543/tests/view/5fce95a26e23db221d9e949b

5 years agoSupport more piece types for NNUE
Fabian Fichter [Sun, 6 Dec 2020 16:44:38 +0000]
Support more piece types for NNUE

5 years agoAdd comments to uncommented parts of code
Vizvezdenec [Tue, 1 Dec 2020 12:02:35 +0000]
Add comments to uncommented parts of code

https://github.com/official-stockfish/Stockfish/pull/3250

No functional change

5 years agoIntroduce static history
Vizvezdenec [Sat, 5 Dec 2020 01:00:41 +0000]
Introduce static history

The idea of this patch can be described as following: we update static
history stats based on comparison of the static evaluations of the
position before and after the move. If the move increases static evaluation
it's assigned positive bonus, if it decreases static evaluation
it's assigned negative bonus. These stats are used in movepicker
to sort quiet moves.

passed STC
https://tests.stockfishchess.org/tests/view/5fca4c0842a050a89f02cd66
LLR: 3.00 (-2.94,2.94) {-0.25,1.25}
Total: 78152 W: 7409 L: 7171 D: 63572
Ptnml(0-2): 303, 5695, 26873, 5871, 334

passed LTC
https://tests.stockfishchess.org/tests/view/5fca6be442a050a89f02cd75
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 40240 W: 1602 L: 1441 D: 37197
Ptnml(0-2): 19, 1306, 17305, 1475, 15

closes https://github.com/official-stockfish/Stockfish/pull/3253

bench 3845156

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 4 Dec 2020 15:51:07 +0000]
Merge official-stockfish/master

bench: 4140089

5 years agoUse pure NNUE for king of the hill
Fabian Fichter [Tue, 1 Dec 2020 20:12:23 +0000]
Use pure NNUE for king of the hill

Since the best NNUE network is much stronger than classical evaluation,
it seems intuitive to switch from hybrid to pure NNUE evaluation.

kingofthehill STC
Score: 133 - 34 - 33  [0.748] 200
Elo: 188.5 +/- 49.5, LOS: 100.0 %, DrawRatio: 16.5 %

kingofthehill LTC
Score: 63 - 20 - 17  [0.715] 100
Elo: 159.8 +/- 68.4, LOS: 100.0 %, DrawRatio: 17.0 %

5 years agoSpezialize attackers_to
Fabian Fichter [Sun, 29 Nov 2020 21:42:02 +0000]
Spezialize attackers_to

Precalculate variant properties at startup to allow speedups
using optimizations for variants with standard chess pieces.

chess STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 999 W: 278 L: 200 D: 521
http://www.variantfishtest.org:6543/tests/view/5fc37df16e23db221d9e9430

No functional change.

5 years agoCache legal capture state
Fabian Fichter [Sun, 29 Nov 2020 20:25:22 +0000]
Cache legal capture state

Speed-up for variants with mandatory captures.

giveaway STC
LLR: 2.94 (-2.94,2.94) [0.00,10.00]
Total: 1873 W: 743 L: 637 D: 493
http://www.variantfishtest.org:6543/tests/view/5fc2239d6e23db221d9e9423

losers STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1194 W: 577 L: 469 D: 148
http://www.variantfishtest.org:6543/tests/view/5fc223af6e23db221d9e9426

No functional change.

5 years agoUpdate default net to nn-62ef826d1a6d.nnue
SFisGOD [Sat, 28 Nov 2020 15:14:34 +0000]
Update default net to nn-62ef826d1a6d.nnue

Include scaling change as suggested by Dietrich Kappe,
the one who trained net for Komodo.  According to him,
some nets may require different scaling in order to utilize its full strength.

STC:
LLR: 2.93 (-2.94,2.94) {-0.25,1.25}
Total: 99856 W: 9669 L: 9401 D: 80786
Ptnml(0-2): 374, 7468, 34037, 7614, 435
https://tests.stockfishchess.org/tests/view/5fc2697642a050a89f02c8ec

LTC:
LLR: 2.96 (-2.94,2.94) {0.25,1.25}
Total: 29840 W: 1220 L: 1081 D: 27539
Ptnml(0-2): 10, 969, 12827, 1100, 14
https://tests.stockfishchess.org/tests/view/5fc2ea5142a050a89f02c957

Bench: 3561701

5 years agoReductions simplification
Unai Corzo [Sun, 29 Nov 2020 12:52:36 +0000]
Reductions simplification

Simplify increase reduction for captures/promotions if late move and at low depth.

STC https://tests.stockfishchess.org/tests/view/5fbff65067cbf42301d6b3ae
LLR: 2.97 (-2.94,2.94) {-1.25,0.25}
Total: 49088 W: 4607 L: 4555 D: 39926
Ptnml(0-2): 177, 3615, 16932, 3619, 201

LTC https://tests.stockfishchess.org/tests/view/5fc0902967cbf42301d6b3fc
LLR: 2.99 (-2.94,2.94) {-0.75,0.25}
Total: 160944 W: 6153 L: 6193 D: 148598
Ptnml(0-2): 90, 5525, 69294, 5461, 102

closes https://github.com/official-stockfish/Stockfish/pull/3248

bench: 3834568

5 years agoRemove piece lists
syzygy1 [Sun, 29 Nov 2020 11:05:26 +0000]
Remove piece lists

This patch removes the incrementally updated piece lists from the Position object.

This has been tried before but always failed. My reasons for trying again are:

* 32-bit systems (including phones) are now much less important than they were some years ago (and are absent from fishtest);
* NNUE may have made SF less finely tuned to the order in which moves were generated.

STC:
LLR: 2.94 (-2.94,2.94) {-1.25,0.25}
Total: 55272 W: 5260 L: 5216 D: 44796
Ptnml(0-2): 208, 4147, 18898, 4159, 224
https://tests.stockfishchess.org/tests/view/5fc2986a42a050a89f02c926

LTC:
LLR: 2.96 (-2.94,2.94) {-0.75,0.25}
Total: 16600 W: 673 L: 608 D: 15319
Ptnml(0-2): 14, 533, 7138, 604, 11
https://tests.stockfishchess.org/tests/view/5fc2f98342a050a89f02c95c

closes https://github.com/official-stockfish/Stockfish/pull/3247

Bench: 3940967

5 years agoUpdate README.md
Unai Corzo [Sun, 29 Nov 2020 08:07:31 +0000]
Update README.md

fix a few typos

closes https://github.com/official-stockfish/Stockfish/pull/3245

No functional change

5 years agoSearch simplification
Unai Corzo [Sat, 28 Nov 2020 15:32:52 +0000]
Search simplification

STC https://tests.stockfishchess.org/tests/view/5fc2083942a050a89f02c8bb
LLR: 2.93 (-2.94,2.94) {-1.25,0.25}
Total: 23200 W: 2251 L: 2160 D: 18789
Ptnml(0-2): 86, 1726, 7895, 1797, 96

LTC https://tests.stockfishchess.org/tests/view/5fc22d7b42a050a89f02c8d0
LLR: 2.92 (-2.94,2.94) {-0.75,0.25}
Total: 15832 W: 653 L: 590 D: 14589
Ptnml(0-2): 7, 521, 6795, 588, 5

closes https://github.com/official-stockfish/Stockfish/pull/3244/files

bench: 3827317

Simplify search.

5 years agoRemove bonus for killers.
lonfom169 [Thu, 26 Nov 2020 12:40:54 +0000]
Remove bonus for killers.

Passed non-regression STC:
LLR: 2.94 (-2.94,2.94) {-1.25,0.25}
Total: 14712 W: 1416 L: 1315 D: 11981
Ptnml(0-2): 59, 1029, 5082, 1124, 62
https://tests.stockfishchess.org/tests/view/5fbfa31f67cbf42301d6b36e

Passed non-regression LTC:
LLR: 2.95 (-2.94,2.94) {-0.75,0.25}
Total: 27536 W: 1099 L: 1044 D: 25393
Ptnml(0-2): 11, 929, 11838, 974, 16
https://tests.stockfishchess.org/tests/view/5fbfac9167cbf42301d6b371

closes https://github.com/official-stockfish/Stockfish/pull/3241

Bench: 3887644

5 years agoRefine rook penalty on closed files
Lolligerhans [Fri, 20 Nov 2020 17:09:41 +0000]
Refine rook penalty on closed files

+-----------------+
| . . . . . . . . | All files are closed. Some files are
| . . . . . o o . | more valuable for rooks, because
| . . . . o . . o | they might open in the future.
| . . . o x . . x |
| o . o x . x x . |
| x o x . . . . . | x  our pawns
| . x . . . . . . | o  their pawns
| . . . . . . . . | ^  rooks are scored higher on these files
+-----------------+
            ^ ^

Files containing none of our own pawns are open or half-open (otherwise
they are closed). Rooks on (half-)open files recieve a bonus for the
future potential to act along all ranks.

This commit refines the (relative) penalty of rooks on closed files.
Files that contain one of our blocked pawns are considered less likely
to open in the future; rooks on these files are now penalized stronger.

This bonus does not generally correlate with mobility. If the condition
is sufficiently refined in the future, it may be beneficial to adjust or
override mobility scores in some cases.

LTC
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 494384 W: 71565 L: 70231 D: 352588
Ptnml(0-2): 3907, 48050, 142118, 49036, 4081
https://tests.stockfishchess.org/tests/view/5fb9312e67cbf42301d6afb9

LTC (non-regression w/ book noob_3moves.epd)
LLR: 2.95 (-2.94,2.94) {-0.75,0.25}
Total: 208520 W: 27044 L: 26937 D: 154539
Ptnml(0-2): 1557, 19850, 61391, 19853, 1609
https://tests.stockfishchess.org/tests/view/5fc01ced67cbf42301d6b3df

STC
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 98392 W: 20269 L: 19868 D: 58255
Ptnml(0-2): 1804, 11297, 22589, 11706, 1800
https://tests.stockfishchess.org/tests/view/5fb7f88a67cbf42301d6af10

closes https://github.com/official-stockfish/Stockfish/pull/3242

Bench: 3682630

5 years agoCleaned up MakeIndex()
mstembera [Tue, 17 Nov 2020 23:58:25 +0000]
Cleaned up MakeIndex()

The index order in kpp_board_index[][] is reversed to be more optimal for the access pattern

STC https://tests.stockfishchess.org/tests/view/5fbd74f967cbf42301d6b24f
LLR: 2.93 (-2.94,2.94) {-1.25,0.25}
Total: 27504 W: 2686 L: 2607 D: 22211
Ptnml(0-2): 84, 2001, 9526, 2034, 107

closes https://github.com/official-stockfish/Stockfish/pull/3233

No functional change

5 years agoFix piece drops for NNUE
Fabian Fichter [Fri, 27 Nov 2020 18:46:52 +0000]
Fix piece drops for NNUE

5 years agouse classical for certain endgames.
Vizvezdenec [Thu, 26 Nov 2020 05:38:09 +0000]
use classical for certain endgames.

STC https://tests.stockfishchess.org/tests/view/5fbc64c067cbf42301d6b1d6
LLR: 2.97 (-2.94,2.94) {-0.25,1.25}
Total: 53360 W: 5223 L: 5024 D: 43113
Ptnml(0-2): 184, 3877, 18390, 4014, 215

LTC https://tests.stockfishchess.org/tests/view/5fbc97f267cbf42301d6b1ee
LLR: 2.96 (-2.94,2.94) {0.25,1.25}
Total: 126472 W: 5111 L: 4766 D: 116595
Ptnml(0-2): 50, 4032, 54749, 4333, 72

closes https://github.com/official-stockfish/Stockfish/pull/3240

bench: 3820648

5 years agoCalculate sum from first elements
MaximMolchanov [Sat, 14 Nov 2020 00:55:29 +0000]
Calculate sum from first elements

in affine transform for AVX512/AVX2/SSSE3

The idea is to initialize sum with the first element instead of zero.
Reduce one add_epi32 and one set_zero SIMD instructions for each output dimension.

sum = 0; for i = 1 to n sum += a[i] ->
sum = a[1]; for i = 2 to n sum += a[i]

STC:
LLR: 2.95 (-2.94,2.94) {-0.25,1.25}
Total: 69048 W: 7024 L: 6799 D: 55225
Ptnml(0-2): 260, 5175, 23458, 5342, 289
https://tests.stockfishchess.org/tests/view/5faf2cf467cbf42301d6aa06

closes https://github.com/official-stockfish/Stockfish/pull/3227

No functional change.

5 years agoAssorted search and eval parameter tune
Unai Corzo [Tue, 24 Nov 2020 16:06:30 +0000]
Assorted search and eval parameter tune

Search and eval parameter tune.

STC https://tests.stockfishchess.org/tests/view/5fba850a67cbf42301d6b07d
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 24312 W: 2388 L: 2228 D: 19696
Ptnml(0-2): 85, 1800, 8241, 1930, 100

LTC https://tests.stockfishchess.org/tests/view/5fbad5ea67cbf42301d6b0fa
LLR: 2.95 (-2.94,2.94) {0.25,1.25}
Total: 88376 W: 3619 L: 3351 D: 81406
Ptnml(0-2): 56, 2977, 37849, 3255, 51

closes https://github.com/official-stockfish/Stockfish/pull/3232

bench: 3600361

5 years agoConsider gating pieces in SEE
Fabian Fichter [Tue, 24 Nov 2020 22:32:59 +0000]
Consider gating pieces in SEE

Consider king captures as illegal if attacked by gating piece.

seirawan STC
LLR: -1.04 (-2.94,2.94) [0.00,10.00]
Total: 9842 W: 3420 L: 3320 D: 3102
http://www.variantfishtest.org:6543/tests/view/5fb8369c6e23db221d9e9400

seirawan LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 1483 W: 494 L: 453 D: 536
http://www.variantfishtest.org:6543/tests/view/5fb90fbf6e23db221d9e9407

Closes #210.

5 years agoSmall cleanups 13
Stéphane Nicolet [Thu, 12 Nov 2020 13:05:28 +0000]
Small cleanups 13

No functional change

5 years agoSupport Semi-Torpedo chess (#209)
Fabian Fichter [Thu, 19 Nov 2020 18:32:49 +0000]
Support Semi-Torpedo chess (#209)

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 20 Nov 2020 21:54:42 +0000]
Merge official-stockfish/master

bench: 3970036

5 years agoUpdated ffish.js to 0.4.7
QueensGambit [Fri, 20 Nov 2020 19:59:16 +0000]
Updated ffish.js to 0.4.7
because of bugfix in FairySF #207

5 years agoAdd discord link
Fabian Fichter [Fri, 20 Nov 2020 14:39:49 +0000]
Add discord link

5 years agoBump pyffish version (#208)
Bajusz Tamás [Thu, 19 Nov 2020 07:21:42 +0000]
Bump pyffish version (#208)

5 years agoPrevent gating on castling target squares
Fabian Fichter [Wed, 18 Nov 2020 19:20:52 +0000]
Prevent gating on castling target squares

Validate whether the gating square will be blocked
by king or rook after castling.

Closes #207.

5 years agoFix CECP analysis mode after passing moves
Fabian Fichter [Tue, 17 Nov 2020 20:36:52 +0000]
Fix CECP analysis mode after passing moves

Continue searching in analysis mode after a passing move is executed.

5 years agoFix NNUE rotation for non-standard board sizes
Fabian Fichter [Mon, 16 Nov 2020 21:05:09 +0000]
Fix NNUE rotation for non-standard board sizes

5 years agoUpdate bot links in readme
Fabian Fichter [Mon, 16 Nov 2020 20:09:23 +0000]
Update bot links in readme

5 years agoFix appveyor build configuration
Fabian Fichter [Sun, 15 Nov 2020 14:28:06 +0000]
Fix appveyor build configuration

5 years agoSimplify compile-time switch for NNUE embedding
Fabian Fichter [Sun, 15 Nov 2020 14:03:01 +0000]
Simplify compile-time switch for NNUE embedding

Disable default net by default instead of disabling Use NNUE.

5 years agoFix NNUE detection for absolute paths
Fabian Fichter [Sun, 15 Nov 2020 13:26:46 +0000]
Fix NNUE detection for absolute paths

Check the file name, not the full path, for prefix with the variant name.

5 years agoRook Mobility Tweak
FauziAkram [Wed, 11 Nov 2020 18:56:29 +0000]
Rook Mobility Tweak

Passed STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 171152 W: 34715 L: 34202 D: 102235
Ptnml(0-2): 3278, 20155, 38228, 20606, 3309
https://tests.stockfishchess.org/tests/view/5fa861f467cbf42301d6a68e

Passed LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 149616 W: 20471 L: 19882 D: 109263
Ptnml(0-2): 1172, 14434, 43102, 14833, 1267
https://tests.stockfishchess.org/tests/view/5fa9c8ff67cbf42301d6a74f

closes https://github.com/official-stockfish/Stockfish/pull/3226

Bench: 3597730

5 years agoSkip NNUE rotation for racing kings
Fabian Fichter [Sat, 14 Nov 2020 18:11:18 +0000]
Skip NNUE rotation for racing kings

5 years agoSupport pondering in CECP
Fabian Fichter [Fri, 30 Oct 2020 18:45:34 +0000]
Support pondering in CECP

Refactor handling of protocol state for CECP and implement pondering.
Improves the protocol compliance of several commands along the way.

Closes #103.

5 years agoUpdate gitignore config
Fabian Fichter [Fri, 13 Nov 2020 17:11:44 +0000]
Update gitignore config

5 years agoUpdate readme
Fabian Fichter [Fri, 13 Nov 2020 00:31:41 +0000]
Update readme

5 years agoIncrease reduction at root
SFisGOD [Tue, 10 Nov 2020 17:28:43 +0000]
Increase reduction at root

when the best move does not change frequently

STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 51320 W: 5159 L: 4956 D: 41205
Ptnml(0-2): 215, 3897, 17242, 4082, 224
https://tests.stockfishchess.org/tests/view/5faa072367cbf42301d6a767

LTC:
LLR: 2.98 (-2.94,2.94) {0.25,1.25}
Total: 15952 W: 762 L: 642 D: 14548
Ptnml(0-2): 8, 561, 6725, 667, 15
https://tests.stockfishchess.org/tests/view/5faa4c3567cbf42301d6a794

closes https://github.com/official-stockfish/Stockfish/pull/3225

Bench: 3954692

5 years agoMerge official-stockfish/master
Fabian Fichter [Wed, 11 Nov 2020 19:17:25 +0000]
Merge official-stockfish/master

bench: 3828292

5 years agoMake NNUE compatible with basic fairy pieces
Fabian Fichter [Tue, 10 Nov 2020 20:27:15 +0000]
Make NNUE compatible with basic fairy pieces

Re-use existing architecture and map fairy pieces
to their standard chess counterparts.

5 years agoIncrease reduction at root
Joost VandeVondele [Tue, 10 Nov 2020 17:28:43 +0000]
Increase reduction at root

when the best move does not change frequently

STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 51320 W: 5159 L: 4956 D: 41205
Ptnml(0-2): 215, 3897, 17242, 4082, 224
https://tests.stockfishchess.org/tests/view/5faa072367cbf42301d6a767

LTC:
LLR: 2.98 (-2.94,2.94) {0.25,1.25}
Total: 15952 W: 762 L: 642 D: 14548
Ptnml(0-2): 8, 561, 6725, 667, 15
https://tests.stockfishchess.org/tests/view/5faa4c3567cbf42301d6a794

closes https://github.com/official-stockfish/Stockfish/pull/3225

Bench: 3954692

5 years agoIncrease reduction based on the number of best move changes.
lonfom169 [Mon, 9 Nov 2020 02:43:32 +0000]
Increase reduction based on the number of best move changes.

Thanks to Vizvezdenec for the PvNode idea and also to vondele the !PvNode idea.

Passed STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 19120 W: 1998 L: 1839 D: 15283
Ptnml(0-2): 76, 1445, 6375, 1572, 92
https://tests.stockfishchess.org/tests/view/5fa8af3e67cbf42301d6a6c9

Passed LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 75584 W: 3454 L: 3205 D: 68925
Ptnml(0-2): 54, 2832, 31771, 3081, 54

closes https://github.com/official-stockfish/Stockfish/pull/3224

Bench: 3595418

5 years agoChanged game header parsing to use quotation marks (Closes #204)
QueensGambit [Sun, 8 Nov 2020 12:33:50 +0000]
Changed game header parsing to use quotation marks (Closes #204)
Added test for loading Seirawan chess pgn
Updated README.md
Updated ffish to 0.4.6

5 years agoAdd Upside-down chess to variants.ini
Fabian Fichter [Sun, 8 Nov 2020 09:23:45 +0000]
Add Upside-down chess to variants.ini

5 years agoQsearch pruning: follow-up
Stéphane Nicolet [Fri, 6 Nov 2020 18:20:27 +0000]
Qsearch pruning: follow-up

This is a follow-up of the recent qsearch pruning patch in
https://github.com/official-stockfish/Stockfish/commit/a260c9a8a24a2630a900efc3821000c3481b0c5d

We now use the same guard condition (testing that we already have a defense with
a score better  score than a TB loss) for all pruning heuristics in qsearch().
This allows some pruning when in check, but  in a controlled way to ensure that
no wrong mate scores appear.

Tested with Elo-gaining bounds:

STC:
LLR: 2.97 (-2.94,2.94) {-0.25,1.25}
Total: 22632 W: 2433 L: 2264 D: 17935
Ptnml(0-2): 98, 1744, 7487, 1865, 122
https://tests.stockfishchess.org/tests/view/5fa59405936c54e11ec99515

LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 105432 W: 4965 L: 4648 D: 95819
Ptnml(0-2): 85, 4110, 44011, 4423, 87
https://tests.stockfishchess.org/tests/view/5fa5b609936c54e11ec9952a

closes https://github.com/official-stockfish/Stockfish/pull/3221

Bench: 3578092

5 years agoUpdate default net to nn-c3ca321c51c9.nnue
SFisGOD [Sat, 7 Nov 2020 00:50:02 +0000]
Update default net to nn-c3ca321c51c9.nnue

Optimization of the net biases of the 32 x 32 layer and the output layer.

Tuning of 32 x 32 layer (200k games, 5 seconds TC)
https://tests.stockfishchess.org/tests/view/5f9aaf266a2c112b60691c68

STC:
LLR: 2.95 (-2.94,2.94) {-0.25,1.25}
Total: 41848 W: 4665 L: 4461 D: 32722
Ptnml(0-2): 239, 3308, 13659, 3446, 272
https://tests.stockfishchess.org/tests/view/5fa5ef5a936c54e11ec9954f

LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 88008 W: 4045 L: 3768 D: 80195
Ptnml(0-2): 69, 3339, 36908, 3622, 66
https://tests.stockfishchess.org/tests/view/5fa62a78936c54e11ec99577

closes https://github.com/official-stockfish/Stockfish/pull/3220

Bench: 3649288

5 years agoSupport loading multiple variant NNUE files
Fabian Fichter [Sat, 7 Nov 2020 22:47:31 +0000]
Support loading multiple variant NNUE files

Use same separator colon/semicolon as for TB files.

5 years agoAdd patreon link
Fabian Fichter [Sat, 7 Nov 2020 20:52:02 +0000]
Add patreon link

5 years agoDelay adjudication in janggimodern variant
Fabian Fichter [Sat, 7 Nov 2020 20:09:20 +0000]
Delay adjudication in janggimodern variant