fairystockfish.git
5 years agoRevert repetition handling for janggimodern
Fabian Fichter [Sat, 5 Sep 2020 11:15:57 +0000]
Revert repetition handling for janggimodern

For better compatibility with rules in Kakao Janggi,
revert the repetition handling for janggimodern.

This does not affect the other Janggi rulesets.

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 22:32:10 +0000]
Merge official-stockfish/master

bench: 4379669

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 22:15:48 +0000]
Merge official-stockfish/master

bench: 4839910

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 21:55:51 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 21:49:43 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 21:43:11 +0000]
Merge official-stockfish/master

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 19:12:25 +0000]
Merge official-stockfish/master

bench: 4777225

5 years agoConsider material density in king safety
Fabian Fichter [Thu, 27 Aug 2020 20:45:45 +0000]
Consider material density in king safety

Scale king danger of drop variants by material density
and thereby remove magic correction factors.

euroshogi STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 2735 W: 1417 L: 1276 D: 42
http://www.variantfishtest.org:6543/tests/view/5f3fd4266e23db221d9e902e

euroshogi LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1427 W: 760 L: 639 D: 28
http://www.variantfishtest.org:6543/tests/view/5f46e1076e23db221d9e9045

shogi STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 6037 W: 3098 L: 2909 D: 30
http://www.variantfishtest.org:6543/tests/view/5f3fabca6e23db221d9e9013

shogi LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 917 W: 487 L: 425 D: 5
http://www.variantfishtest.org:6543/tests/view/5f46b5236e23db221d9e9043

judkins STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2936 W: 1430 L: 1292 D: 214
http://www.variantfishtest.org:6543/tests/view/5f3fd48d6e23db221d9e9030

5 years agoadded -DLARGEBOARDS support
QueensGambit [Wed, 26 Aug 2020 17:58:52 +0000]
added -DLARGEBOARDS support

5 years agoTweak king proximity
Fabian Fichter [Tue, 25 Aug 2020 21:41:57 +0000]
Tweak king proximity

shogi STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2506 W: 1314 L: 1176 D: 16
http://www.variantfishtest.org:6543/tests/view/5f3fb2cb6e23db221d9e9018

shogi LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 976 W: 546 L: 429 D: 1
http://www.variantfishtest.org:6543/tests/view/5f435c1e6e23db221d9e903e

crazyhouse STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 18825 W: 9170 L: 8999 D: 656
http://www.variantfishtest.org:6543/tests/view/5ee348126e23db104fb88ada

crazyhouse LTC
LLR: -2.96 (-2.94,2.94) [0.00,10.00]
Total: 13908 W: 6715 L: 6614 D: 579
http://www.variantfishtest.org:6543/tests/view/5ee68ebb6e23db104fb88bad

5 years agoMerge official-stockfish/master
Fabian Fichter [Tue, 25 Aug 2020 20:53:34 +0000]
Merge official-stockfish/master

5 years agoupdated ffish.js for initial npm version
QueensGambit [Sun, 23 Aug 2020 17:56:19 +0000]
updated ffish.js for initial npm version
+ added ffish.info() with test
+ added ES6 compile instructions to README.md
+ updated package.json

5 years agoFix pieceToCharTable for Janus
Fabian Fichter [Thu, 20 Aug 2020 16:52:35 +0000]
Fix pieceToCharTable for Janus

Thanks to @alwey for reporting.

5 years agoFix undo_move for arrow gating
Fabian Fichter [Sat, 15 Aug 2020 17:11:34 +0000]
Fix undo_move for arrow gating

5 years agoExclude Game of the Amazons by default
Fabian Fichter [Sat, 15 Aug 2020 14:06:57 +0000]
Exclude Game of the Amazons by default

Avoids big stack size for standard builds.

5 years agoSupport Game of the Amazons
Fabian Fichter [Sat, 15 Aug 2020 09:58:26 +0000]
Support Game of the Amazons

https://en.wikipedia.org/wiki/Game_of_the_Amazons

bench: 4413936

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 14 Aug 2020 13:55:48 +0000]
Merge official-stockfish/master

bench: 5082623

5 years agoSimplify handling special riders
Fabian Fichter [Fri, 14 Aug 2020 13:45:40 +0000]
Simplify handling special riders

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 14 Aug 2020 13:15:08 +0000]
Merge official-stockfish/master

No functional change.

5 years agoFix pseudo-legal move validation for Janggi
Fabian Fichter [Wed, 12 Aug 2020 20:31:20 +0000]
Fix pseudo-legal move validation for Janggi

Closes #170.

5 years agoSpeed up perft tests in Travis CI
Fabian Fichter [Tue, 11 Aug 2020 05:49:52 +0000]
Speed up perft tests in Travis CI

5 years agoFix Visual Studio linker error
Fabian Fichter [Tue, 11 Aug 2020 05:38:18 +0000]
Fix Visual Studio linker error

Closes #169.

5 years agoMerge official-stockfish/master
Fabian Fichter [Mon, 10 Aug 2020 20:54:39 +0000]
Merge official-stockfish/master

bench: 4822192

5 years agoMerge official-stockfish/master
Fabian Fichter [Mon, 10 Aug 2020 20:35:47 +0000]
Merge official-stockfish/master

Merge new time management.

5 years agoDisable shallow depth pruning of captures
Fabian Fichter [Mon, 10 Aug 2020 17:14:51 +0000]
Disable shallow depth pruning of captures

giveaway STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 733 W: 315 L: 224 D: 194
http://www.variantfishtest.org:6543/tests/view/5f300b6e6e23db104fb88ea3

giveaway LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1300 W: 522 L: 424 D: 354
http://www.variantfishtest.org:6543/tests/view/5f3013386e23db104fb88eb2

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 16:00:19 +0000]
Merge official-stockfish/master

bench: 4877370

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 13:41:02 +0000]
Merge official-stockfish/master

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 13:05:49 +0000]
Merge official-stockfish/master

bench: 4988792

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 12:45:16 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 10:35:44 +0000]
Merge official-stockfish/master

bench: 4542650

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 10:13:53 +0000]
Merge official-stockfish/master

bench: 5678334

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 8 Aug 2020 21:07:38 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 7 Aug 2020 16:17:08 +0000]
Merge official-stockfish/master

bench: 4959597

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 7 Aug 2020 16:01:07 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 7 Aug 2020 15:43:26 +0000]
Merge official-stockfish/master

No functional change.

5 years agoTweak LMR for drop variants
Fabian Fichter [Fri, 7 Aug 2020 11:56:18 +0000]
Tweak LMR for drop variants

crazyhouse STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 27169 W: 13361 L: 12871 D: 937
http://www.variantfishtest.org:6543/tests/view/5f13332a6e23db104fb88e04

crazyhouse LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2197 W: 1118 L: 988 D: 91
http://www.variantfishtest.org:6543/tests/view/5f1415e26e23db104fb88e17

5 years agoUpdate readme
Fabian Fichter [Thu, 6 Aug 2020 21:24:23 +0000]
Update readme

5 years agoSupport Ataxx
Fabian Fichter [Thu, 6 Aug 2020 20:25:52 +0000]
Support Ataxx

https://en.wikipedia.org/wiki/Ataxx

bench: 5499014

5 years agoClear move deque on setboard
Fabian Fichter [Tue, 28 Jul 2020 21:09:33 +0000]
Clear move deque on setboard

Prevent undefined behavior on `undo` in CECP.

Closes #165.

5 years agoDouble mobility bonus for nCheck
Fabian Fichter [Tue, 28 Jul 2020 16:45:19 +0000]
Double mobility bonus for nCheck

3check STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2999 W: 1487 L: 1347 D: 165
http://www.variantfishtest.org:6543/tests/view/5f1449956e23db104fb88e31

3check LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 3080 W: 1500 L: 1360 D: 220
http://www.variantfishtest.org:6543/tests/view/5f15f4096e23db104fb88e3f

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 13:47:07 +0000]
Merge official-stockfish/master

bench: 4507590

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 13:42:32 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 12:54:43 +0000]
Merge official-stockfish/master

bench: 5255035

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 10:44:36 +0000]
Merge official-stockfish/master

bench: 5126336

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 09:59:11 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 08:33:59 +0000]
Merge official-stockfish/master

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 08:33:12 +0000]
Merge official-stockfish/master

bench: 5054568

5 years agoUpdate reference bench
Fabian Fichter [Sun, 12 Jul 2020 18:19:40 +0000]
Update reference bench

bench: 4964428

5 years agoTweak futility pruning for extinction variants
Fabian Fichter [Sun, 12 Jul 2020 16:13:40 +0000]
Tweak futility pruning for extinction variants

extinction STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 312 W: 196 L: 96 D: 20
http://www.variantfishtest.org:6543/tests/view/5f0ac6906e23db104fb88d83

extinction LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 491 W: 258 L: 162 D: 71
http://www.variantfishtest.org:6543/tests/view/5f0af0ff6e23db104fb88d92

threekings STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 250 W: 89 L: 23 D: 138
http://www.variantfishtest.org:6543/tests/view/5f0ac6ac6e23db104fb88d86

threekings LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 179 W: 71 L: 9 D: 99
http://www.variantfishtest.org:6543/tests/view/5f0af0f46e23db104fb88d90

kinglet STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 735 W: 373 L: 271 D: 91
http://www.variantfishtest.org:6543/tests/view/5f0af14f6e23db104fb88d94

5 years agoAdd version() to pyffish
Bajusz Tamás [Thu, 9 Jul 2020 15:53:55 +0000]
Add version() to pyffish

5 years agoxboard: add engine version to 'myname' feature
Yann Dirson [Sat, 4 Jul 2020 12:36:12 +0000]
xboard: add engine version to 'myname' feature

5 years agoTweak evaluation of stable disks
Fabian Fichter [Sat, 4 Jul 2020 13:22:21 +0000]
Tweak evaluation of stable disks

reversi
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 624 W: 351 L: 244 D: 29

5 years agoExtend definition of stable disks
Fabian Fichter [Sat, 4 Jul 2020 09:04:52 +0000]
Extend definition of stable disks

reversi
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 422 W: 255 L: 150 D: 17

5 years agoEvaluate potential piece flips
Fabian Fichter [Fri, 3 Jul 2020 21:17:00 +0000]
Evaluate potential piece flips

reversi
LLR: 3.00 (-2.94,2.94) [0.00,10.00]
Total: 268 W: 178 L: 76 D: 14

5 years agoSkip NMP for reversi
Fabian Fichter [Fri, 3 Jul 2020 14:19:41 +0000]
Skip NMP for reversi

reversi
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 280 W: 174 L: 78 D: 28

5 years agoReduce value of immobile piece
Fabian Fichter [Fri, 3 Jul 2020 13:43:34 +0000]
Reduce value of immobile piece

reversi
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 244 W: 165 L: 65 D: 14

5 years agoTweak drop mobility
Fabian Fichter [Fri, 3 Jul 2020 13:05:24 +0000]
Tweak drop mobility

reversi
Total: 100 W: 99 L: 1 D: 0

5 years agoBonus for corner squares
Fabian Fichter [Fri, 3 Jul 2020 11:37:41 +0000]
Bonus for corner squares

reversi
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 104 W: 100 L: 3 D: 1

5 years agoSupport Othello/Reversi
Fabian Fichter [Fri, 3 Jul 2020 10:58:13 +0000]
Support Othello/Reversi

5 years agoDecrease mobility bonus for fairy pieces
Fabian Fichter [Thu, 2 Jul 2020 19:22:25 +0000]
Decrease mobility bonus for fairy pieces

seirawan STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1991 W: 763 L: 657 D: 571
http://www.variantfishtest.org:6543/tests/view/5efa2fb26e23db104fb88c8b

seirawan LTC
LLR: 3.11 (-2.94,2.94) [0.00,10.00]
Total: 1552 W: 559 L: 459 D: 534
http://www.variantfishtest.org:6543/tests/view/5efb8cb86e23db104fb88ca7

shatranj STC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 1656 W: 200 L: 134 D: 1322
http://www.variantfishtest.org:6543/tests/view/5efb1d676e23db104fb88c92

shatranj LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1482 W: 165 L: 102 D: 1215
http://www.variantfishtest.org:6543/tests/view/5efb8cd16e23db104fb88ca9

makruk STC
LLR: 3.00 (-2.94,2.94) [-10.00,5.00]
Total: 6773 W: 519 L: 495 D: 5759
http://www.variantfishtest.org:6543/tests/view/5efb489a6e23db104fb88c9b

5 years agoUpdate readme
Fabian Fichter [Wed, 1 Jul 2020 09:46:13 +0000]
Update readme

5 years agoTweak endgame scale factor
Fabian Fichter [Tue, 30 Jun 2020 17:27:58 +0000]
Tweak endgame scale factor

makruk STC
LLR: 2.99 (-2.94,2.94) [0.00,10.00]
Total: 2918 W: 272 L: 203 D: 2443
http://www.variantfishtest.org:6543/tests/view/5ef3c19a6e23db104fb88c5f

makruk LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 8027 W: 495 L: 416 D: 7116
http://www.variantfishtest.org:6543/tests/view/5ef3c8db6e23db104fb88c68

5 years agoFix link in readme
Fabian Fichter [Mon, 29 Jun 2020 17:16:59 +0000]
Fix link in readme

5 years agoAdd ffish.js to readme
Fabian Fichter [Mon, 29 Jun 2020 17:14:38 +0000]
Add ffish.js to readme

5 years agoAdded initial version of ffish.js
QueensGambit [Mon, 29 Jun 2020 12:22:45 +0000]
Added initial version of ffish.js

5 years agoTweak futility pruning at parent node
Fabian Fichter [Sun, 28 Jun 2020 15:23:29 +0000]
Tweak futility pruning at parent node

3check STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 3951 W: 1916 L: 1763 D: 272
http://www.variantfishtest.org:6543/tests/view/5eed14286e23db104fb88bee

3check LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 10074 W: 4762 L: 4523 D: 789
http://www.variantfishtest.org:6543/tests/view/5eefa6e56e23db104fb88c44

5 years agoFurther simplification of variant definitions
Fabian Fichter [Sun, 28 Jun 2020 15:10:19 +0000]
Further simplification of variant definitions

No functional change.

5 years agoSimplify Janggi rule definition
Fabian Fichter [Sun, 28 Jun 2020 14:58:48 +0000]
Simplify Janggi rule definition

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 28 Jun 2020 13:40:37 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 28 Jun 2020 13:13:34 +0000]
Merge official-stockfish/master

No functional change.

5 years agoSimplify passed pawn evaluation
Fabian Fichter [Sat, 27 Jun 2020 16:42:04 +0000]
Simplify passed pawn evaluation

No functional change.

5 years agoIncrease futility margin for losing chess
Fabian Fichter [Mon, 22 Jun 2020 16:05:38 +0000]
Increase futility margin for losing chess

giveaway STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 3110 W: 1188 L: 1066 D: 856
http://www.variantfishtest.org:6543/tests/view/5eed135b6e23db104fb88be8

giveaway LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 2975 W: 1096 L: 978 D: 901
http://www.variantfishtest.org:6543/tests/view/5eee59f46e23db104fb88c32

losers STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1118 W: 548 L: 440 D: 130
http://www.variantfishtest.org:6543/tests/view/5eee1cb16e23db104fb88c28

losers LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2471 W: 1145 L: 1019 D: 307
http://www.variantfishtest.org:6543/tests/view/5eee2b5c6e23db104fb88c2c

5 years agoPenalty for mandatory demotions
Fabian Fichter [Sun, 21 Jun 2020 12:04:28 +0000]
Penalty for mandatory demotions

kyotoshogi
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 776 W: 434 L: 323 D: 19

5 years agoEvaluate promoted drops for hand pieces
Fabian Fichter [Sun, 21 Jun 2020 10:50:08 +0000]
Evaluate promoted drops for hand pieces

kyotoshogi
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 512 W: 306 L: 197 D: 9

5 years agoTweak quiet SEE pruning for CTF variants
Fabian Fichter [Sat, 20 Jun 2020 18:56:13 +0000]
Tweak quiet SEE pruning for CTF variants

racingkings STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 952 W: 336 L: 250 D: 366
http://www.variantfishtest.org:6543/tests/view/5eede86c6e23db104fb88c1a

racingkings LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 980 W: 320 L: 237 D: 423
http://www.variantfishtest.org:6543/tests/view/5eee06866e23db104fb88c26

kingofthehill STC
LLR: -2.95 (-2.94,2.94) [0.00,10.00]
Total: 2523 W: 1034 L: 1087 D: 402
http://www.variantfishtest.org:6543/tests/view/5eede8896e23db104fb88c1d

kingofthehill LTC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 656 W: 296 L: 242 D: 118
http://www.variantfishtest.org:6543/tests/view/5eee2a986e23db104fb88c2a

5 years agoConsider anchored blockers in CTF bonus
Fabian Fichter [Sat, 20 Jun 2020 17:35:47 +0000]
Consider anchored blockers in CTF bonus

kingofthehill STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1485 W: 683 L: 573 D: 229
http://www.variantfishtest.org:6543/tests/view/5ee4b30e6e23db104fb88b26

kingofthehill LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 5214 W: 2182 L: 2024 D: 1008
http://www.variantfishtest.org:6543/tests/view/5ee5d1156e23db104fb88b88

5 years agoGeneralize SAN disambiguation
Fabian Fichter [Sat, 20 Jun 2020 13:01:26 +0000]
Generalize SAN disambiguation

Closes #152.

5 years agoGeneralize insufficient material calculation
Fabian Fichter [Fri, 19 Jun 2020 22:50:22 +0000]
Generalize insufficient material calculation

Closes #139.

5 years agoRemove redundant LMR condition
Fabian Fichter [Fri, 19 Jun 2020 19:03:01 +0000]
Remove redundant LMR condition

No functional change.

5 years agoAdjudicate optional game ends in CECP protocol
Fabian Fichter [Sun, 14 Jun 2020 12:52:25 +0000]
Adjudicate optional game ends in CECP protocol

Closes #150.

5 years agoMinor cleanups in search code
Fabian Fichter [Thu, 18 Jun 2020 21:14:38 +0000]
Minor cleanups in search code

No functional change.

5 years agoRe-enable NMP for breakthrough and clobber
Fabian Fichter [Thu, 18 Jun 2020 20:52:46 +0000]
Re-enable NMP for breakthrough and clobber

5 years agoSimplify clobber-specific code
Fabian Fichter [Thu, 18 Jun 2020 20:40:50 +0000]
Simplify clobber-specific code

5 years agoMore reduction for evading pawn moves.
Vizvezdenec [Wed, 17 Jun 2020 02:36:30 +0000]
More reduction for evading pawn moves.

pawn moves are irreversable unlike other evading moves; pawn is the least valuable piece in the game.
So it makes a lot of sence to assume that evading pawn moves are on average not as good as other evading moves thus can be reduced more.

Passed STC
https://tests.stockfishchess.org/tests/view/5ee9602e563bc7aa756002dc
LLR: 2.95 (-2.94,2.94) {-0.50,1.50}
Total: 94176 W: 17993 L: 17668 D: 58515
Ptnml(0-2): 1634, 10742, 21989, 11111, 1612

Passed LTC
https://tests.stockfishchess.org/tests/view/5ee97342563bc7aa75600301
LLR: 2.94 (-2.94,2.94) {0.25,1.75}
Total: 20432 W: 2572 L: 2354 D: 15506
Ptnml(0-2): 146, 1707, 6280, 1949, 134

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

Bench: 5073064

5 years agoSmall bonus to favor thorn pawns
Stéphane Nicolet [Tue, 16 Jun 2020 11:21:24 +0000]
Small bonus to favor thorn pawns

We increase a little bit the midgame value of pawns on a4, h4, a6 and h6.

Original idea by Malcolm Campbell, who tried the version restricted to the
pawns on the H column a couple of weeks ago and got a patch which almost
passed LTC. The current pull request just adds the same idea for pawns on
the A column.

Possible follow-ups: maybe tweak the a5/h5 pawn values, and/or add a malus
for very low king mobility in midgame?

STC:
LLR: 2.94 (-2.94,2.94) {-0.50,1.50}
Total: 33416 W: 6516 L: 6275 D: 20625
Ptnml(0-2): 575, 3847, 7659, 4016, 611
https://tests.stockfishchess.org/tests/view/5ee6c4e687586124bc2c10d4

LTC:
LLR: 2.95 (-2.94,2.94) {0.25,1.75}
Total: 134368 W: 16869 L: 16319 D: 101180
Ptnml(0-2): 908, 12083, 40708, 12521, 964
https://tests.stockfishchess.org/tests/view/5ee74e60aae8aec816ab756a

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

Bench: 5299456

5 years agoUse 128 bit multiply for TT index
mstembera [Mon, 15 Jun 2020 06:35:07 +0000]
Use 128 bit multiply for TT index

Remove super cluster stuff from TT and just use a 128 bit multiply.

STC https://tests.stockfishchess.org/tests/view/5ee719b3aae8aec816ab7548
LLR: 2.94 (-2.94,2.94) {-1.50,0.50}
Total: 12736 W: 2502 L: 2333 D: 7901
Ptnml(0-2): 191, 1452, 2944, 1559, 222

LTC https://tests.stockfishchess.org/tests/view/5ee732d1aae8aec816ab7556
LLR: 2.93 (-2.94,2.94) {-1.50,0.50}
Total: 27584 W: 3431 L: 3350 D: 20803
Ptnml(0-2): 173, 2500, 8400, 2511, 208

Scheme back to being derived from https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/

Also the default optimized version of the index calculation now uses fewer instructions.
https://godbolt.org/z/Tktxbv
Might benefit from mulx (requires -mbmi2)

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

bench: 4320954

5 years agoRetuned values after eval quantize patch.
xoto10 [Sun, 14 Jun 2020 20:50:27 +0000]
Retuned values after eval quantize patch.

The last search tune patch was tested before the implementation of #2733 which
presumably changed the search characteristics noticeably. Another tuning run was
done, see https://tests.stockfishchess.org/tests/view/5ee5b434ca6c451633a9a08c
and the updated values passed these tests:

STC:
LLR: 2.93 (-2.94,2.94) {-0.50,1.50}
Total: 34352 W: 6600 L: 6360 D: 21392
Ptnml(0-2): 581, 3947, 7914, 4119, 615
https://tests.stockfishchess.org/tests/view/5ee62f05ca6c451633a9a15f

LTC 60+0.6 th 1 :
LLR: 2.97 (-2.94,2.94) {0.25,1.75}
Total: 11176 W: 1499 L: 1304 D: 8373
Ptnml(0-2): 69, 933, 3403, 1100, 83
https://tests.stockfishchess.org/tests/view/5ee6205bca6c451633a9a147

SMP LTC 20+0.2 th 8 :
LLR: 2.93 (-2.94,2.94) {0.25,1.75}
Total: 54032 W: 6126 L: 5826 D: 42080
Ptnml(0-2): 278, 4454, 17280, 4698, 306
https://tests.stockfishchess.org/tests/view/5ee62f25ca6c451633a9a162

Closes https://github.com/official-stockfish/Stockfish/pull/2742

Bench 4957812

5 years agoBlocked pawns in CTF bonus
Fabian Fichter [Sun, 14 Jun 2020 17:33:00 +0000]
Blocked pawns in CTF bonus

kingofthehill STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 3352 W: 1506 L: 1369 D: 477
http://www.variantfishtest.org:6543/tests/view/5ee3f28a6e23db104fb88b00

kingofthehill LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 839 W: 403 L: 303 D: 133
http://www.variantfishtest.org:6543/tests/view/5ee63d316e23db104fb88ba8

5 years agoTweak horde pawn evaluation
Fabian Fichter [Sun, 14 Jun 2020 07:29:40 +0000]
Tweak horde pawn evaluation

horde STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 812 W: 458 L: 345 D: 9
http://www.variantfishtest.org:6543/tests/view/5ee52c706e23db104fb88b7e

horde LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 960 W: 532 L: 417 D: 11
http://www.variantfishtest.org:6543/tests/view/5ee5569e6e23db104fb88b86

5 years agoTweak antichess extinction evaluation
Fabian Fichter [Sat, 13 Jun 2020 21:34:44 +0000]
Tweak antichess extinction evaluation

giveaway STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 910 W: 392 L: 297 D: 221
http://www.variantfishtest.org:6543/tests/view/5ee4d10b6e23db104fb88b3e

giveaway LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 874 W: 363 L: 271 D: 240
http://www.variantfishtest.org:6543/tests/view/5ee4ef196e23db104fb88b62

5 years agoEnable extinction evaluation for losers chess
Fabian Fichter [Sat, 13 Jun 2020 18:38:27 +0000]
Enable extinction evaluation for losers chess

losers STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 315 W: 188 L: 92 D: 35
http://www.variantfishtest.org:6543/tests/view/5ee4d0a06e23db104fb88b3b

losers LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 415 W: 225 L: 130 D: 60
http://www.variantfishtest.org:6543/tests/view/5ee4df9e6e23db104fb88b4d

5 years agoTuned values for search constants
xoto10 [Sat, 13 Jun 2020 08:54:07 +0000]
Tuned values for search constants

Tuned search constants after many search patches since the last
successful tune.

1st LTC @ 60+0.6 th 1 :
LLR: 2.97 (-2.94,2.94) {0.25,1.75}
Total: 57656 W: 7369 L: 7036 D: 43251
Ptnml(0-2): 393, 5214, 17336, 5437, 448
https://tests.stockfishchess.org/tests/view/5ee1e074f29b40b0fc95af19

SMP LTC @ 20+0.2 th 8 :
LLR: 2.95 (-2.94,2.94) {0.25,1.75}
Total: 83576 W: 9731 L: 9341 D: 64504
Ptnml(0-2): 464, 7062, 26369, 7406, 487
https://tests.stockfishchess.org/tests/view/5ee35a21f29b40b0fc95b008

The changes were rebased on top of a successful patch by Viz (see #2734)
and two different ways of doing this were tested. The successful test
modified the constants in the patch by Viz in a similar manner to the
tuning run:

LTC (rebased) @ 60+0.6 th 1 :
LLR: 2.94 (-2.94,2.94) {0.25,1.75}
Total: 193384 W: 24241 L: 23521 D: 145622
Ptnml(0-2): 1309, 17497, 58472, 17993, 1421
https://tests.stockfishchess.org/tests/view/5ee43319ca6c451633a995f9

Further work: the recent patch to quantize eval #2733 affects search quit
quite a bit, so doing another tune in, say, three months time might be a
good idea.

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

Bench 4246971

5 years agoAvoid unnecessary recomputations in CTF bonus
Fabian Fichter [Sat, 13 Jun 2020 11:31:21 +0000]
Avoid unnecessary recomputations in CTF bonus

No funtional change.

5 years agoConsider protected pawns in CTF bonus
Fabian Fichter [Sat, 13 Jun 2020 10:50:41 +0000]
Consider protected pawns in CTF bonus

kingofthehill STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1009 W: 485 L: 381 D: 143
http://www.variantfishtest.org:6543/tests/view/5ee3f57f6e23db104fb88b04

kingofthehill LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 772 W: 384 L: 283 D: 105
http://www.variantfishtest.org:6543/tests/view/5ee48b3c6e23db104fb88b09

5 years agoQuantize eval to multiples of 16
Joost VandeVondele [Wed, 10 Jun 2020 11:19:21 +0000]
Quantize eval to multiples of 16

Removes some excess precision, helps searchs.

Effectively reintroduces evaluation grain, with a slightly different context.
https://github.com/official-stockfish/Stockfish/commit/45dbd9cd0303d0db469670af8ec3598731a4eace

passed STC
LLR: 2.97 (-2.94,2.94) {-0.50,1.50}
Total: 197032 W: 37938 L: 37462 D: 121632
Ptnml(0-2): 3359, 22994, 45446, 23246, 3471
https://tests.stockfishchess.org/tests/view/5ee0c228f29b40b0fc95ae53

passed LTC
LLR: 2.94 (-2.94,2.94) {0.25,1.75}
Total: 77696 W: 9970 L: 9581 D: 58145
Ptnml(0-2): 530, 7075, 23311, 7340, 592
https://tests.stockfishchess.org/tests/view/5ee21426f29b40b0fc95af43

passed LTC SMP
LLR: 2.96 (-2.94,2.94) {0.25,1.75}
Total: 64136 W: 7425 L: 7091 D: 49620
Ptnml(0-2): 345, 5416, 20228, 5718, 361
https://tests.stockfishchess.org/tests/view/5ee387bbf29b40b0fc95b04c

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

Bench: 4939103

5 years agoAdjust history threshold for quiet moves futility pruning
Vizvezdenec [Sat, 13 Jun 2020 02:03:59 +0000]
Adjust history threshold for quiet moves futility pruning

This patch adjusts the threshold for futility pruning of quiet moves
using the continuation history array contHist[5], in the same way as
it is used in movepicker.

passed STC:
https://tests.stockfishchess.org/tests/view/5ee3f88bca6c451633a9959f
LLR: 2.94 (-2.94,2.94) {-0.50,1.50}
Total: 55984 W: 10822 L: 10552 D: 34610
Ptnml(0-2): 952, 6435, 12941, 6719, 945

passed LTC:
https://tests.stockfishchess.org/tests/view/5ee4186dca6c451633a995cf
LLR: 2.96 (-2.94,2.94) {0.25,1.75}
Total: 41712 W: 5402 L: 5114 D: 31196
Ptnml(0-2): 293, 3766, 12469, 4016, 312

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

Bench: 4715960

5 years agoImprove the anti-shuffling policy
Stéphane Nicolet [Tue, 9 Jun 2020 22:10:07 +0000]
Improve the anti-shuffling policy

We replace the current decrease of the complexity term in initiative
when shuffling by a direct damping of the evaluation. This scheme may
have two benefits over the initiative approach:

a) the damping effect is more brutal for fortresses with heavy pieces
   on the board, because the initiative term is almost an endgame term;

b) the initiative implementation had a funny side effect, almost a bug,
   in the rare positions where mg > 0, eg < 0 and the tampered eval
   returned a positive value (ie with heavy pieces still on the board):
   sending eg to zero via shuffling would **increase** the tampered
   eval instead of decreasing it, which is somewhat illogical. This
   patch avoids this phenomenon.

STC:
LLR: 2.94 (-2.94,2.94) {-0.50,1.50}
Total: 43072 W: 8373 L: 8121 D: 26578
Ptnml(0-2): 729, 4954, 9940, 5162, 751
https://tests.stockfishchess.org/tests/view/5ee008ebf29b40b0fc95ade2

LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.75}
Total: 37376 W: 4816 L: 4543 D: 28017
Ptnml(0-2): 259, 3329, 11286, 3508, 306
https://tests.stockfishchess.org/tests/view/5ee03b06f29b40b0fc95ae0c

Closes https://github.com/official-stockfish/Stockfish/pull/2727

Bench: 4757174

5 years agoIncrease the maximum hash size by a factor of 256
Sami Kiminki [Fri, 5 Jun 2020 17:17:00 +0000]
Increase the maximum hash size by a factor of 256

Conceptually group hash clusters into super clusters of 256 clusters.
This scheme allows us to use hash sizes up to 32 TB
(= 2^32 super clusters = 2^40 clusters).

Use 48 bits of the Zobrist key to choose the cluster index. We use 8
extra bits to mitigate the quantization error for very large hashes when
scaling the hash key to cluster index.

The hash index computation is organized to be compatible with the existing
scheme for power-of-two hash sizes up to 128 GB.

Fixes https://github.com/official-stockfish/Stockfish/issues/1349

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

Passed non-regression STC:
LLR: 2.93 (-2.94,2.94) {-1.50,0.50}
Total: 37976 W: 7336 L: 7211 D: 23429
Ptnml(0-2): 578, 4295, 9149, 4356, 610
https://tests.stockfishchess.org/tests/view/5edcbaaef29b40b0fc95abc5

No functional change.

5 years agoImprove Readme.md about compiling
nguyenpham [Sun, 7 Jun 2020 22:49:27 +0000]
Improve Readme.md about compiling

Reparagraph, add an example how to compile on Unix-like systems

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

No functional change

5 years agoshow coordinates when displaying board
NguyenPham [Sun, 7 Jun 2020 21:48:38 +0000]
show coordinates when displaying board

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

No functional change