Stockfish 13 merged on github

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Stockfish 13 merged on github

Post by Damir »

just rename txt file as an exe or you can try and open it as an exe in Internet Explorer... Just copy the link and put it there
User avatar
Guenther
Posts: 4606
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Stockfish 13 merged on github

Post by Guenther »

Damir wrote: Sat Feb 20, 2021 10:19 am
Guenther wrote: Sat Feb 20, 2021 9:07 am
lkaufman wrote: Sat Feb 20, 2021 8:22 am I notice that SF13 displays the score as a win percentage (or win/draw/loss percentages) now rather than the traditional pawn eval.
...
Why do you think so? Below is output from an official download version. Neither can I see win percentage nor an option for it.

Code: Select all

Stockfish 13 by the Stockfish developers (see AUTHORS file)
uci
id name Stockfish 13
id author the Stockfish developers (see AUTHORS file)
...
info string NNUE evaluation using nn-62ef826d1a6d.nnue enabled
info depth 1 seldepth 1 multipv 1 score cp 29 nodes 20 nps 10000 tbhits 0 time 2 pv d2d4
...
Günther he must mean the latest Fritz 23 Update, which now shows percentage of wins, than actual score of the win itself. All he has to do is revert to GUI update 21, than percentage of wins will be gone...

Here is 21 Update of Fritz 17 GUI

http://download.chessbase.com/updates/G ... x64_21.txt
So he seems confused about the GUI (not SF) artificially translating cp score to percentage by its own gusto?
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Stockfish 13 merged on github

Post by Damir »

Yes I would say so, if he installed the latest 23 Update: I have reinstalled Fritz 23 Update and it shows the score in percentage.

Here is the picture:

https://www.solidfiles.com/v/gNeNaA65erXwX

PS: even though engine shows the online score as 0.00, once the move is executed it will show the score in percentage
Volker Pittlik
Posts: 619
Joined: Wed Mar 08, 2006 9:10 pm
Location: Murten / Morat, Switzerland
Full name: Volker Pittlik

Re: Stockfish 13 merged on github

Post by Volker Pittlik »

Guenther wrote: Fri Feb 19, 2021 6:41 pm ...
The last paragraph is very interesting.
+1!
User avatar
Ajedrecista
Posts: 1969
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Re: Stockfish 13 merged on GitHub.

Post by Ajedrecista »

Hello Günther:
Guenther wrote: Sat Feb 20, 2021 9:07 am
lkaufman wrote: Sat Feb 20, 2021 8:22 am I notice that SF13 displays the score as a win percentage (or win/draw/loss percentages) now rather than the traditional pawn eval.
...
Why do you think so? Below is output from an official download version. Neither can I see win percentage nor an option for it.

Code: Select all

Stockfish 13 by the Stockfish developers (see AUTHORS file)
uci
id name Stockfish 13
id author the Stockfish developers (see AUTHORS file)

option name Debug Log File type string default
option name Contempt type spin default 24 min -100 max 100
option name Analysis Contempt type combo default Both var Off var White var Black var Both
option name Threads type spin default 1 min 1 max 512
option name Hash type spin default 16 min 1 max 33554432
option name Clear Hash type button
option name Ponder type check default false
option name MultiPV type spin default 1 min 1 max 500
option name Skill Level type spin default 20 min 0 max 20
option name Move Overhead type spin default 10 min 0 max 5000
option name Slow Mover type spin default 100 min 10 max 1000
option name nodestime type spin default 0 min 0 max 10000
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
option name UCI_LimitStrength type check default false
option name UCI_Elo type spin default 1350 min 1350 max 2850
option name UCI_ShowWDL type check default false
option name SyzygyPath type string default <empty>
option name SyzygyProbeDepth type spin default 1 min 1 max 100
option name Syzygy50MoveRule type check default true
option name SyzygyProbeLimit type spin default 7 min 0 max 7
option name Use NNUE type check default true
option name EvalFile type string default nn-62ef826d1a6d.nnue
uciok
ucinewgame
isready
readyok
position startpos
go infinite
info string NNUE evaluation using nn-62ef826d1a6d.nnue enabled
info depth 1 seldepth 1 multipv 1 score cp 29 nodes 20 nps 10000 tbhits 0 time 2 pv d2d4
info depth 2 seldepth 2 multipv 1 score cp 89 nodes 42 nps 14000 tbhits 0 time 3 pv d2d4 a7a6
info depth 3 seldepth 3 multipv 1 score cp 65 nodes 84 nps 28000 tbhits 0 time 3 pv e2e4 e7e6 d2d4
info depth 4 seldepth 4 multipv 1 score cp 114 nodes 241 nps 60250 tbhits 0 time 4 pv g1f3 d7d5
info depth 5 seldepth 5 multipv 1 score cp -2 nodes 572 nps 114400 tbhits 0 time 5 pv g1f3 d7d5 d2d4 g8f6 b1d2
info depth 6 seldepth 6 multipv 1 score cp 9 nodes 741 nps 148200 tbhits 0 time 5 pv g1f3 d7d5 d2d4 g8f6 b1d2
info depth 7 seldepth 7 multipv 1 score cp 4 nodes 1169 nps 194833 tbhits 0 time 6 pv g1f3 d7d5 d2d4 g8f6 c1e3 b8d7
info depth 8 seldepth 10 multipv 1 score cp 21 nodes 1849 nps 231125 tbhits 0 time 8 pv e2e4 c7c5 g1f3 b8c6 d2d4 c5d4
info depth 9 seldepth 10 multipv 1 score cp 40 nodes 3894 nps 299538 tbhits 0 time 13 pv d2d4 d7d5 c2c4 d5c4 g1f3 g8f6 b1c3
info depth 10 seldepth 12 multipv 1 score cp 38 nodes 10144 nps 375703 tbhits 0 time 27 pv e2e4 c7c5 g1f3 e7e6 d2d4 c5d4 f3d4 g8f6
info depth 11 seldepth 16 multipv 1 score cp 31 nodes 29662 nps 423742 tbhits 0 time 70 pv e2e4 e7e5 g1f3 b8c6 f1c4 f8c5 e1g1 d7d6 h2h3 c6d4 f3d4 c5d4
info depth 12 seldepth 20 multipv 1 score cp 17 nodes 57232 nps 433575 tbhits 0 time 132 pv e2e4 e7e5 b1c3 g8f6 f1c4 f8c5 g1f3 d7d6 e1g1 c8e6 c4e6 f7e6 d2d4 e5d4 f3d4
info depth 13 seldepth 19 multipv 1 score cp 34 nodes 89986 nps 436825 tbhits 0 time 206 pv e2e4 c7c5 b1c3 b8c6 f1b5 g8f6 b5c6 b7c6 e4e5 f6d5
info depth 14 seldepth 15 multipv 1 score cp 43 nodes 114602 nps 440776 tbhits 0 time 260 pv e2e4 e7e5 g1f3 b8c6 f1b5 f8c5 e1g1 g8f6 b5c6 d7c6 d2d3 d8e7 a2a4
info depth 15 seldepth 21 multipv 1 score cp 27 nodes 263818 nps 444138 tbhits 0 time 594 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 c7c5 c1g5 d5c4 e2e3 b8c6 f1c4 c5d4 e3d4
info depth 16 seldepth 21 multipv 1 score cp 42 nodes 319442 nps 449285 tbhits 0 time 711 pv d2d4 d7d5 c2c4 e7e6 b1c3 h7h6 g1f3 g8f6 e2e3 c7c5 c4d5 e6d5 a2a3 c5d4 e3d4 b8c6
info depth 17 seldepth 21 multipv 1 score cp 27 nodes 539694 nps 450495 hashfull 254 tbhits 0 time 1198 pv d2d4 d7d5 c2c4 e7e6 g1f3 g8f6 b1c3 f8b4 c1g5 h7h6 g5f6 d8f6 d1b3 c7c5 c4d5 e6d5 d4c5 b4c3 b2c3
info depth 18 seldepth 23 multipv 1 score cp 32 nodes 605175 nps 450950 hashfull 279 tbhits 0 time 1342 pv d2d4 d7d5 c2c4 e7e6 g1f3 g8f6 b1c3 c7c5 c1g5 c5d4 f3d4 d5c4 e2e3 b8c6 d4c6 d8d1 a1d1 b7c6 f1c4 f8e7 e3e4 a8b8
info depth 19 seldepth 31 multipv 1 score cp 35 nodes 849949 nps 448521 hashfull 381 tbhits 0 time 1895 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 f8e7 c1f4 e8g8 e2e3 b8d7 a2a3 c7c5 c4d5 f6d5 c3d5 e6d5 d4c5 d7c5
info depth 20 seldepth 26 multipv 1 score cp 35 lowerbound nodes 1362566 nps 444266 hashfull 585 tbhits 0 time 3067 pv d2d4
There is an option for show WDL when running SF 13 from the command line. The option is called 'UCI_ShowWDL' and it shows win-draw-loss estimated probabilities in per mille units (‰). Please see an example from my SF 13 downloaded from the official SF web site:

Code: Select all

Stockfish 13 by the Stockfish developers (see AUTHORS file)
uci
id name Stockfish 13
id author the Stockfish developers (see AUTHORS file)

option name Debug Log File type string default
option name Contempt type spin default 24 min -100 max 100
option name Analysis Contempt type combo default Both var Off var White var Black var Both
option name Threads type spin default 1 min 1 max 512
option name Hash type spin default 16 min 1 max 33554432
option name Clear Hash type button
option name Ponder type check default false
option name MultiPV type spin default 1 min 1 max 500
option name Skill Level type spin default 20 min 0 max 20
option name Move Overhead type spin default 10 min 0 max 5000
option name Slow Mover type spin default 100 min 10 max 1000
option name nodestime type spin default 0 min 0 max 10000
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
option name UCI_LimitStrength type check default false
option name UCI_Elo type spin default 1350 min 1350 max 2850
option name UCI_ShowWDL type check default false
option name SyzygyPath type string default <empty>
option name SyzygyProbeDepth type spin default 1 min 1 max 100
option name Syzygy50MoveRule type check default true
option name SyzygyProbeLimit type spin default 7 min 0 max 7
option name Use NNUE type check default true
option name EvalFile type string default nn-62ef826d1a6d.nnue
uciok
setoption name Threads value 4
setoption name Hash value 1024
setoption name UCI_ShowWDL value true
go infinite
info string NNUE evaluation using nn-62ef826d1a6d.nnue enabled
info depth 1 seldepth 1 multipv 1 score cp 43 wdl 178 761 61 nodes 172 nps 43000 tbhits 0 time 4 pv d2d4 a7a6
info depth 2 seldepth 2 multipv 1 score cp 38 wdl 168 767 65 nodes 1604 nps 320800 tbhits 0 time 5 pv e2e4 e7e5
info depth 3 seldepth 3 multipv 1 score cp 33 wdl 158 773 69 nodes 2107 nps 421400 tbhits 0 time 5 pv e2e4 e7e5 g1f3
info depth 4 seldepth 4 multipv 1 score cp 21 wdl 138 781 81 nodes 2773 nps 462166 tbhits 0 time 6 pv e2e4 c7c5 g1f3 b8c6
info depth 5 seldepth 5 multipv 1 score cp 38 wdl 169 767 64 nodes 3362 nps 560333 tbhits 0 time 6 pv e2e4 c7c5 g1f3 e7e6
info depth 6 seldepth 6 multipv 1 score cp 38 wdl 169 767 64 nodes 3916 nps 652666 tbhits 0 time 6 pv e2e4 c7c5 g1f3 e7e6 d2d4 c5d4
info depth 7 seldepth 7 multipv 1 score cp 16 wdl 130 784 86 nodes 6058 nps 865428 tbhits 0 time 7 pv e2e4 d7d5 e4d5 d8d5 d2d4 e7e5 g1f3
info depth 8 seldepth 10 multipv 1 score cp 40 wdl 172 765 63 nodes 8833 nps 981444 tbhits 0 time 9 pv g1f3 e7e6 c2c4 c7c5 b1c3 b8c6 d2d4
info depth 9 seldepth 11 multipv 1 score cp 59 wdl 213 738 49 nodes 20486 nps 1365733 tbhits 0 time 15 pv e2e4 e7e5 g1f3 g8f6 b1c3 b8c6 f1c4
info depth 10 seldepth 14 multipv 1 score cp 34 wdl 160 771 69 nodes 30721 nps 1462904 tbhits 0 time 21 pv e2e4 e7e5 g1f3 g8f6 b1c3 b8c6 d2d4 e5d4 f3d4 f8b4 d4c6 b7c6 e4e5 b4c3 b2c3
info depth 11 seldepth 19 multipv 1 score cp 18 wdl 132 784 84 nodes 64015 nps 1684605 tbhits 0 time 38 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 f8b4 c4d5 e6d5 c1g5 e8g8
info depth 12 seldepth 16 multipv 1 score cp 14 wdl 127 785 88 nodes 103048 nps 1776689 tbhits 0 time 58 pv d2d4 g8f6 c2c4 e7e6 b1c3 d7d5 g1f3 c7c5 c1g5 c5d4 f3d4 f8b4 c4d5 d8d5 g5f6 g7f6
info depth 13 seldepth 18 multipv 1 score cp 37 wdl 166 768 66 nodes 159664 nps 1814363 tbhits 0 time 88 pv e2e4 c7c5 g1f3 e7e6 d2d4 c5d4 f3d4 b8c6 b1c3 f8c5 d4c6
info depth 14 seldepth 15 multipv 1 score cp 29 wdl 152 776 72 nodes 191100 nps 1820000 tbhits 0 time 105 pv d2d4 g8f6 c2c4 e7e6 b1c3 f8b4 c1g5 b4c3 b2c3 d7d6 g1f3 h7h6 g5h4 b8d7
info depth 15 seldepth 19 multipv 1 score cp 37 wdl 166 768 66 nodes 286545 nps 1836826 tbhits 0 time 156 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 f8b4 c4d5 e6d5 c1g5 h7h6 g5h4 c7c6 e2e3 c8f5 f1d3
info depth 16 seldepth 24 multipv 1 score cp 34 wdl 160 772 68 nodes 708230 nps 1839558 tbhits 0 time 385 pv d2d4 g8f6 c2c4 e7e6 g1f3 b7b6 e2e3 f8e7 b1c3 d7d5 c4d5 e6d5 f1d3 e8g8 e1g1 c7c5 f1e1 b8c6
info depth 17 seldepth 21 multipv 1 score cp 27 wdl 148 778 74 nodes 863344 nps 1844752 tbhits 0 time 468 pv d2d4 g8f6 c2c4 e7e6 g1f3 b7b6 a2a3 c8b7 b1c3 d7d5 c1f4 d5c4 e2e3 c7c5 d4c5 f8c5 f1c4 e8g8 e1g1
info depth 18 seldepth 29 multipv 1 score cp 28 wdl 150 777 73 nodes 1392694 nps 1839754 tbhits 0 time 757 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 f8e7 c1f4 e8g8 e2e3 c7c5 d4c5 b8c6 f1e2 d5c4 e2c4 e7c5 e1g1
info depth 19 seldepth 31 multipv 1 score cp 32 wdl 156 774 70 nodes 1972526 nps 1826412 hashfull 11 tbhits 0 time 1080 pv e2e4 e7e5 g1f3 g8f6 f3e5 d7d6 e5f3 f6e4 f1d3 e4f6 e1g1 f8e7 f1e1 e8g8 c2c4 b8c6 d3f1 d6d5 c4d5 f6d5
info depth 20 seldepth 26 multipv 1 score cp 25 wdl 145 779 76 nodes 2757372 nps 1799851 hashfull 16 tbhits 0 time 1532 pv e2e4 c7c5 g1f3 d7d6 c2c3 g8f6 f1d3 e7e5 d3c2 b8c6 e1g1 d6d5 e4d5 d8d5 d2d4 e5d4 c3d4 c5d4 c2a4 f8e7 f3d4
info depth 21 seldepth 29 multipv 1 score cp 21 wdl 138 781 81 nodes 5222413 nps 1810195 hashfull 35 tbhits 0 time 2885 pv e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 f8c5 f3e5 c6e5 d2d4 f6e4 d1e1 c5e7 e1e4 e5g6 c2c4 e8g8 b1c3 c7c6 f1e1
[...]
info depth 22 seldepth 31 multipv 1 score cp 39 wdl 171 765 64 nodes 7161494 nps 1794860 hashfull 48 tbhits 0 time 3990 pv e2e4 e7e6 d2d4 d7d5 b1c3 g8f6 c1g5 f8e7 e4e5 f6d7 g5e7 d8e7 f2f4 e8g8 g1f3 c7c5 d4c5 d7c5 f1d3 b8c6 e1g1 c5d3 d1d3 f7f6 e5f6
[...]
info depth 23 seldepth 34 multipv 1 score cp 42 wdl 176 763 61 nodes 8557764 nps 1789578 hashfull 61 tbhits 0 time 4782 pv e2e4 e7e6 d2d4 d7d5 b1c3 g8f6 c1g5 d5e4 c3e4 b8d7 f1d3 f8e7 e4f6 e7f6 g5f6 d7f6 g1f3 b7b6 c2c3 e8g8 d1e2 c7c5 d4c5 b6c5 f3e5
[...]
info depth 24 seldepth 31 multipv 1 score cp 40 wdl 172 765 63 nodes 11173087 nps 1772661 hashfull 78 tbhits 0 time 6303 pv e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 b7b5 a4b3 c8b7 d2d3 f8c5 a2a4 b5b4 c2c3 e8g8 f1e1 c5a7 c1e3 a7e3 e1e3 b4c3 b2c3 g8h8
[...]
info depth 25 seldepth 36 multipv 1 score cp 38 wdl 169 767 64 nodes 13013924 nps 1764839 hashfull 91 tbhits 0 time 7374 pv e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 b7b5 a4b3 c8b7 d2d3 f8c5 a2a4 e8g8 c1g5 h7h6 g5h4 b5b4 c2c3 d7d6 d3d4 c5b6 d4d5 c6a5 h4f6
[...]
info depth 26 seldepth 36 multipv 1 score cp 28 wdl 149 777 74 nodes 19562599 nps 1757803 hashfull 142 tbhits 0 time 11129 pv e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 f6e4 d2d4 b7b5 a4b3 d7d5 d4e5 c8e6 c2c3 f8e7 f1e1 e8g8 b1d2 e4c5 f3d4 c6d4 c3d4 c5d3 e1e3 d3c1 a1c1 e7g5 e3g3 g8h8
[...]
info depth 27 seldepth 41 multipv 1 score cp 32 wdl 157 773 70 nodes 21165184 nps 1753972 hashfull 152 tbhits 0 time 12067 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 d6f5 d4d5 f8e8 e1e8 d8e8 b1c3 d7d6 f1d3 e8e5 c3e4 f6e7 d1h5 e5d5
[...]
info depth 28 seldepth 41 multipv 1 score cp 46 wdl 184 758 58 nodes 28156584 nps 1753976 hashfull 204 tbhits 0 time 16053 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 b5f1 f8e7 f3e5 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 d6f5 c2c3 d7d5 b1d2 c7c6 d2f3 f5d6 f1d3 c8f5 c1f4 f5d3 d1d3 d8d7 f4d6 d7d6
[...]
info depth 29 seldepth 45 multipv 1 score cp 20 wdl 136 783 81 nodes 45569410 nps 1754221 hashfull 325 tbhits 0 time 25977 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 b5a4 f8e7 b1c3 f7f6 d2d4 d6f7 c3d5 e8g8 c2c3 d7d6 b2b4 g8h8 a4b3 c8e6 d1c2 f6f5 b4b5 e6d5 b3d5
[...]
info depth 30 seldepth 39 multipv 1 score cp 29 wdl 151 776 73 nodes 52107062 nps 1756042 hashfull 370 tbhits 0 time 29673 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d6 h2h3 c8f5 a2a4 d6d5 a4a5 e8d6 a5a6 b7b6 b1d2 c7c6
[...]
info depth 31 seldepth 42 multipv 1 score cp 27 wdl 147 778 75 nodes 62271033 nps 1751695 hashfull 435 tbhits 0 time 35549 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d5 f1d3 g7g6 b1d2 c7c6 h2h3 e8g7 d2f3 c8f5 d3f5 g7f5 e1e2 f5d6
[...]
info depth 32 seldepth 39 multipv 1 score cp 24 wdl 142 780 78 nodes 117146580 nps 1719784 hashfull 732 tbhits 0 time 68117 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d5 f1d3 g7g6 b1d2 c7c6 h2h3 e8g7 e1e2 c8f5 d3f5 g7f5 a1d1 f6g7 d2f3
[...]
info depth 33 seldepth 41 multipv 1 score cp 19 wdl 134 783 83 nodes 180089036 nps 1712312 hashfull 892 tbhits 0 time 105173 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 d2d3 f8c5 b5c6 d7c6 b1d2 c8e6 d2b3 c5b6 f3e5 e6b3 a2b3 d8d4 e5g4 f6g4 d1g4 d4f2 e1d1 e8g8 a1a4 a8e8 g4f3 f7f5 f3f2 b6f2 e4f5 f8f5 h1f1 f5f8 a4c4 f2b6 f1f8 e8f8 c1d2 f8f1 d1e2
[...]
info depth 34 seldepth 49 multipv 1 score cp 19 wdl 134 783 83 nodes 192366357 nps 1710059 hashfull 912 tbhits 0 time 112491 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d5 f1d3 g7g6 b1d2 c7c6 d2f3 e8g7 e1e2 c8g4 h2h3 g7e6 f4h2 g4f3 e2f3 e6g5 f3g3
[...]
info depth 35 seldepth 46 multipv 1 score cp 18 wdl 132 784 84 nodes 228413521 nps 1705584 hashfull 951 tbhits 0 time 133921 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d5 a2a4 a7a5 e1e3 c8f5 b1d2 c7c6 h2h3 e8d6 f1d3 d8d7 f4d6 f5d3 d6e5 f6e5 d4e5 d7f5
[...]
info depth 36 seldepth 46 multipv 1 score cp 14 wdl 127 785 88 nodes 265402424 nps 1702104 hashfull 974 tbhits 0 time 155926 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d5 a2a4 a7a5 e1e3 c8f5 b1d2 c7c6 a1e1 e8d6 f4e5 h7h6 h2h3 d8e7 f1d3 f5d3 e3d3 f6e5
[...]
info depth 37 seldepth 49 multipv 1 score cp 20 wdl 136 783 81 nodes 315538016 nps 1698422 hashfull 990 tbhits 0 time 185783 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c2c3 e8e1 d1e1 d6e8 f1d3 d7d5 c1f4 g7g6 b1d2 e8g7 d2f3 c8f5 d3f5 g7f5 e1e2 c7c6 a1e1 f5g7 h2h3 g7e6 f4e5 f6e5 f3e5
[...]
info depth 38 seldepth 52 multipv 1 score cp 33 wdl 158 773 69 nodes 399846324 nps 1692148 hashfull 999 tbhits 0 time 236295 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c2c3 e8e1 d1e1 d6e8 c1f4 d7d6 b1d2 c8f5 e1e2 c7c6 a1e1 h7h6 d2e4 d8d7 e4f6 e8f6 e2d2 f5g6 h2h3 a8e8 e1e8 f6e8
[...]
info depth 39 seldepth 46 multipv 1 score cp 20 wdl 135 783 82 nodes 529323500 nps 1681881 hashfull 1000 tbhits 0 time 314721 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c2c3 e8e1 d1e1 d6e8 c1f4 d7d5 a2a4 a7a5 f1d3 g7g6 b1d2 e8g7 d2f3 c7c6 e1d2 c8f5 d3f5 g7f5 a1e1 d8d7 f3e5 f6e5 e1e5 f5g7
[...]
stop
info depth 40 seldepth 46 multipv 1 score cp 20 wdl 135 783 82 nodes 543775616 nps 1682354 hashfull 1000 tbhits 0 time 323223 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c2c3 e8e1 d1e1 d6e8 c1f4 d7d5 a2a4 a7a5 f1d3 g7g6 b1d2 e8g7 d2f3 c7c6 e1d2 c8f5 d3f5 g7f5 a1e1 d8d7 f3e5 f6e5 e1e5 f5g7
bestmove e2e4 ponder e7e5
My sample run of SF 13 shows W = 13.5%, D = 78.3%, L = 8.2% at depth 39/46.

You can find how these estimates are computed in uci.cpp source code file, currently between lines 198 to 218 and between lines 307 to 320:

Code: Select all

// The win rate model returns the probability (per mille) of winning given an eval
  // and a game-ply. The model fits rather accurately the LTC fishtest statistics.
  int win_rate_model(Value v, int ply) {

     // The model captures only up to 240 plies, so limit input (and rescale)
     double m = std::min(240, ply) / 64.0;

     // Coefficients of a 3rd order polynomial fit based on fishtest data
     // for two parameters needed to transform eval to the argument of a
     // logistic function.
     double as[] = {-8.24404295, 64.23892342, -95.73056462, 153.86478679};
     double bs[] = {-3.37154371, 28.44489198, -56.67657741,  72.05858751};
     double a = (((as[0] * m + as[1]) * m + as[2]) * m) + as[3];
     double b = (((bs[0] * m + bs[1]) * m + bs[2]) * m) + bs[3];

     // Transform eval to centipawns with limited range
     double x = std::clamp(double(100 * v) / PawnValueEg, -1000.0, 1000.0);

     // Return win rate in per mille (rounded to nearest)
     return int(0.5 + 1000 / (1 + std::exp((a - x) / b)));
  }

Code: Select all

/// UCI::wdl() report WDL statistics given an evaluation and a game ply, based on
/// data gathered for fishtest LTC games.

string UCI::wdl(Value v, int ply) {

  stringstream ss;

  int wdl_w = win_rate_model( v, ply);
  int wdl_l = win_rate_model(-v, ply);
  int wdl_d = 1000 - wdl_w - wdl_l;
  ss << " wdl " << wdl_w << " " << wdl_d << " " << wdl_l;

  return ss.str();
}
OTOH, the configuration window of Arena 2.0.1 GUI has a checkbox called 'UCI_ShowWDL', but there is no WDL output in Arena if I tick it and run an infinite analysis.

Regards from Spain.

Ajedrecista.
User avatar
Guenther
Posts: 4606
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Stockfish 13 merged on GitHub.

Post by Guenther »

Ajedrecista wrote: Sat Feb 20, 2021 12:50 pm Hello Günther:
Guenther wrote: Sat Feb 20, 2021 9:07 am
lkaufman wrote: Sat Feb 20, 2021 8:22 am I notice that SF13 displays the score as a win percentage (or win/draw/loss percentages) now rather than the traditional pawn eval.
...
Why do you think so? Below is output from an official download version. Neither can I see win percentage nor an option for it.

Code: Select all

Stockfish 13 by the Stockfish developers (see AUTHORS file)
uci
id name Stockfish 13
id author the Stockfish developers (see AUTHORS file)

option name Debug Log File type string default
option name Contempt type spin default 24 min -100 max 100
option name Analysis Contempt type combo default Both var Off var White var Black var Both
option name Threads type spin default 1 min 1 max 512
option name Hash type spin default 16 min 1 max 33554432
option name Clear Hash type button
option name Ponder type check default false
option name MultiPV type spin default 1 min 1 max 500
option name Skill Level type spin default 20 min 0 max 20
option name Move Overhead type spin default 10 min 0 max 5000
option name Slow Mover type spin default 100 min 10 max 1000
option name nodestime type spin default 0 min 0 max 10000
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
option name UCI_LimitStrength type check default false
option name UCI_Elo type spin default 1350 min 1350 max 2850
option name UCI_ShowWDL type check default false
option name SyzygyPath type string default <empty>
option name SyzygyProbeDepth type spin default 1 min 1 max 100
option name Syzygy50MoveRule type check default true
option name SyzygyProbeLimit type spin default 7 min 0 max 7
option name Use NNUE type check default true
option name EvalFile type string default nn-62ef826d1a6d.nnue
uciok
ucinewgame
isready
readyok
position startpos
go infinite
info string NNUE evaluation using nn-62ef826d1a6d.nnue enabled
info depth 1 seldepth 1 multipv 1 score cp 29 nodes 20 nps 10000 tbhits 0 time 2 pv d2d4
info depth 2 seldepth 2 multipv 1 score cp 89 nodes 42 nps 14000 tbhits 0 time 3 pv d2d4 a7a6
info depth 3 seldepth 3 multipv 1 score cp 65 nodes 84 nps 28000 tbhits 0 time 3 pv e2e4 e7e6 d2d4
info depth 4 seldepth 4 multipv 1 score cp 114 nodes 241 nps 60250 tbhits 0 time 4 pv g1f3 d7d5
info depth 5 seldepth 5 multipv 1 score cp -2 nodes 572 nps 114400 tbhits 0 time 5 pv g1f3 d7d5 d2d4 g8f6 b1d2
info depth 6 seldepth 6 multipv 1 score cp 9 nodes 741 nps 148200 tbhits 0 time 5 pv g1f3 d7d5 d2d4 g8f6 b1d2
info depth 7 seldepth 7 multipv 1 score cp 4 nodes 1169 nps 194833 tbhits 0 time 6 pv g1f3 d7d5 d2d4 g8f6 c1e3 b8d7
info depth 8 seldepth 10 multipv 1 score cp 21 nodes 1849 nps 231125 tbhits 0 time 8 pv e2e4 c7c5 g1f3 b8c6 d2d4 c5d4
info depth 9 seldepth 10 multipv 1 score cp 40 nodes 3894 nps 299538 tbhits 0 time 13 pv d2d4 d7d5 c2c4 d5c4 g1f3 g8f6 b1c3
info depth 10 seldepth 12 multipv 1 score cp 38 nodes 10144 nps 375703 tbhits 0 time 27 pv e2e4 c7c5 g1f3 e7e6 d2d4 c5d4 f3d4 g8f6
info depth 11 seldepth 16 multipv 1 score cp 31 nodes 29662 nps 423742 tbhits 0 time 70 pv e2e4 e7e5 g1f3 b8c6 f1c4 f8c5 e1g1 d7d6 h2h3 c6d4 f3d4 c5d4
info depth 12 seldepth 20 multipv 1 score cp 17 nodes 57232 nps 433575 tbhits 0 time 132 pv e2e4 e7e5 b1c3 g8f6 f1c4 f8c5 g1f3 d7d6 e1g1 c8e6 c4e6 f7e6 d2d4 e5d4 f3d4
info depth 13 seldepth 19 multipv 1 score cp 34 nodes 89986 nps 436825 tbhits 0 time 206 pv e2e4 c7c5 b1c3 b8c6 f1b5 g8f6 b5c6 b7c6 e4e5 f6d5
info depth 14 seldepth 15 multipv 1 score cp 43 nodes 114602 nps 440776 tbhits 0 time 260 pv e2e4 e7e5 g1f3 b8c6 f1b5 f8c5 e1g1 g8f6 b5c6 d7c6 d2d3 d8e7 a2a4
info depth 15 seldepth 21 multipv 1 score cp 27 nodes 263818 nps 444138 tbhits 0 time 594 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 c7c5 c1g5 d5c4 e2e3 b8c6 f1c4 c5d4 e3d4
info depth 16 seldepth 21 multipv 1 score cp 42 nodes 319442 nps 449285 tbhits 0 time 711 pv d2d4 d7d5 c2c4 e7e6 b1c3 h7h6 g1f3 g8f6 e2e3 c7c5 c4d5 e6d5 a2a3 c5d4 e3d4 b8c6
info depth 17 seldepth 21 multipv 1 score cp 27 nodes 539694 nps 450495 hashfull 254 tbhits 0 time 1198 pv d2d4 d7d5 c2c4 e7e6 g1f3 g8f6 b1c3 f8b4 c1g5 h7h6 g5f6 d8f6 d1b3 c7c5 c4d5 e6d5 d4c5 b4c3 b2c3
info depth 18 seldepth 23 multipv 1 score cp 32 nodes 605175 nps 450950 hashfull 279 tbhits 0 time 1342 pv d2d4 d7d5 c2c4 e7e6 g1f3 g8f6 b1c3 c7c5 c1g5 c5d4 f3d4 d5c4 e2e3 b8c6 d4c6 d8d1 a1d1 b7c6 f1c4 f8e7 e3e4 a8b8
info depth 19 seldepth 31 multipv 1 score cp 35 nodes 849949 nps 448521 hashfull 381 tbhits 0 time 1895 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 f8e7 c1f4 e8g8 e2e3 b8d7 a2a3 c7c5 c4d5 f6d5 c3d5 e6d5 d4c5 d7c5
info depth 20 seldepth 26 multipv 1 score cp 35 lowerbound nodes 1362566 nps 444266 hashfull 585 tbhits 0 time 3067 pv d2d4
There is an option for show WDL when running SF 13 from the command line. The option is called 'UCI_ShowWDL' and it shows win-draw-loss estimated probabilities in per mille units (‰). Please see an example from my SF 13 downloaded from the official SF web site:

Code: Select all

Stockfish 13 by the Stockfish developers (see AUTHORS file)
uci
id name Stockfish 13
id author the Stockfish developers (see AUTHORS file)

option name Debug Log File type string default
option name Contempt type spin default 24 min -100 max 100
option name Analysis Contempt type combo default Both var Off var White var Black var Both
option name Threads type spin default 1 min 1 max 512
option name Hash type spin default 16 min 1 max 33554432
option name Clear Hash type button
option name Ponder type check default false
option name MultiPV type spin default 1 min 1 max 500
option name Skill Level type spin default 20 min 0 max 20
option name Move Overhead type spin default 10 min 0 max 5000
option name Slow Mover type spin default 100 min 10 max 1000
option name nodestime type spin default 0 min 0 max 10000
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
option name UCI_LimitStrength type check default false
option name UCI_Elo type spin default 1350 min 1350 max 2850
option name UCI_ShowWDL type check default false
option name SyzygyPath type string default <empty>
option name SyzygyProbeDepth type spin default 1 min 1 max 100
option name Syzygy50MoveRule type check default true
option name SyzygyProbeLimit type spin default 7 min 0 max 7
option name Use NNUE type check default true
option name EvalFile type string default nn-62ef826d1a6d.nnue
uciok
setoption name Threads value 4
setoption name Hash value 1024
setoption name UCI_ShowWDL value true
go infinite
info string NNUE evaluation using nn-62ef826d1a6d.nnue enabled
info depth 1 seldepth 1 multipv 1 score cp 43 wdl 178 761 61 nodes 172 nps 43000 tbhits 0 time 4 pv d2d4 a7a6
info depth 2 seldepth 2 multipv 1 score cp 38 wdl 168 767 65 nodes 1604 nps 320800 tbhits 0 time 5 pv e2e4 e7e5
info depth 3 seldepth 3 multipv 1 score cp 33 wdl 158 773 69 nodes 2107 nps 421400 tbhits 0 time 5 pv e2e4 e7e5 g1f3
info depth 4 seldepth 4 multipv 1 score cp 21 wdl 138 781 81 nodes 2773 nps 462166 tbhits 0 time 6 pv e2e4 c7c5 g1f3 b8c6
info depth 5 seldepth 5 multipv 1 score cp 38 wdl 169 767 64 nodes 3362 nps 560333 tbhits 0 time 6 pv e2e4 c7c5 g1f3 e7e6
info depth 6 seldepth 6 multipv 1 score cp 38 wdl 169 767 64 nodes 3916 nps 652666 tbhits 0 time 6 pv e2e4 c7c5 g1f3 e7e6 d2d4 c5d4
info depth 7 seldepth 7 multipv 1 score cp 16 wdl 130 784 86 nodes 6058 nps 865428 tbhits 0 time 7 pv e2e4 d7d5 e4d5 d8d5 d2d4 e7e5 g1f3
info depth 8 seldepth 10 multipv 1 score cp 40 wdl 172 765 63 nodes 8833 nps 981444 tbhits 0 time 9 pv g1f3 e7e6 c2c4 c7c5 b1c3 b8c6 d2d4
info depth 9 seldepth 11 multipv 1 score cp 59 wdl 213 738 49 nodes 20486 nps 1365733 tbhits 0 time 15 pv e2e4 e7e5 g1f3 g8f6 b1c3 b8c6 f1c4
info depth 10 seldepth 14 multipv 1 score cp 34 wdl 160 771 69 nodes 30721 nps 1462904 tbhits 0 time 21 pv e2e4 e7e5 g1f3 g8f6 b1c3 b8c6 d2d4 e5d4 f3d4 f8b4 d4c6 b7c6 e4e5 b4c3 b2c3
info depth 11 seldepth 19 multipv 1 score cp 18 wdl 132 784 84 nodes 64015 nps 1684605 tbhits 0 time 38 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 f8b4 c4d5 e6d5 c1g5 e8g8
info depth 12 seldepth 16 multipv 1 score cp 14 wdl 127 785 88 nodes 103048 nps 1776689 tbhits 0 time 58 pv d2d4 g8f6 c2c4 e7e6 b1c3 d7d5 g1f3 c7c5 c1g5 c5d4 f3d4 f8b4 c4d5 d8d5 g5f6 g7f6
info depth 13 seldepth 18 multipv 1 score cp 37 wdl 166 768 66 nodes 159664 nps 1814363 tbhits 0 time 88 pv e2e4 c7c5 g1f3 e7e6 d2d4 c5d4 f3d4 b8c6 b1c3 f8c5 d4c6
info depth 14 seldepth 15 multipv 1 score cp 29 wdl 152 776 72 nodes 191100 nps 1820000 tbhits 0 time 105 pv d2d4 g8f6 c2c4 e7e6 b1c3 f8b4 c1g5 b4c3 b2c3 d7d6 g1f3 h7h6 g5h4 b8d7
info depth 15 seldepth 19 multipv 1 score cp 37 wdl 166 768 66 nodes 286545 nps 1836826 tbhits 0 time 156 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 f8b4 c4d5 e6d5 c1g5 h7h6 g5h4 c7c6 e2e3 c8f5 f1d3
info depth 16 seldepth 24 multipv 1 score cp 34 wdl 160 772 68 nodes 708230 nps 1839558 tbhits 0 time 385 pv d2d4 g8f6 c2c4 e7e6 g1f3 b7b6 e2e3 f8e7 b1c3 d7d5 c4d5 e6d5 f1d3 e8g8 e1g1 c7c5 f1e1 b8c6
info depth 17 seldepth 21 multipv 1 score cp 27 wdl 148 778 74 nodes 863344 nps 1844752 tbhits 0 time 468 pv d2d4 g8f6 c2c4 e7e6 g1f3 b7b6 a2a3 c8b7 b1c3 d7d5 c1f4 d5c4 e2e3 c7c5 d4c5 f8c5 f1c4 e8g8 e1g1
info depth 18 seldepth 29 multipv 1 score cp 28 wdl 150 777 73 nodes 1392694 nps 1839754 tbhits 0 time 757 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 f8e7 c1f4 e8g8 e2e3 c7c5 d4c5 b8c6 f1e2 d5c4 e2c4 e7c5 e1g1
info depth 19 seldepth 31 multipv 1 score cp 32 wdl 156 774 70 nodes 1972526 nps 1826412 hashfull 11 tbhits 0 time 1080 pv e2e4 e7e5 g1f3 g8f6 f3e5 d7d6 e5f3 f6e4 f1d3 e4f6 e1g1 f8e7 f1e1 e8g8 c2c4 b8c6 d3f1 d6d5 c4d5 f6d5
info depth 20 seldepth 26 multipv 1 score cp 25 wdl 145 779 76 nodes 2757372 nps 1799851 hashfull 16 tbhits 0 time 1532 pv e2e4 c7c5 g1f3 d7d6 c2c3 g8f6 f1d3 e7e5 d3c2 b8c6 e1g1 d6d5 e4d5 d8d5 d2d4 e5d4 c3d4 c5d4 c2a4 f8e7 f3d4
info depth 21 seldepth 29 multipv 1 score cp 21 wdl 138 781 81 nodes 5222413 nps 1810195 hashfull 35 tbhits 0 time 2885 pv e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 f8c5 f3e5 c6e5 d2d4 f6e4 d1e1 c5e7 e1e4 e5g6 c2c4 e8g8 b1c3 c7c6 f1e1
[...]
info depth 22 seldepth 31 multipv 1 score cp 39 wdl 171 765 64 nodes 7161494 nps 1794860 hashfull 48 tbhits 0 time 3990 pv e2e4 e7e6 d2d4 d7d5 b1c3 g8f6 c1g5 f8e7 e4e5 f6d7 g5e7 d8e7 f2f4 e8g8 g1f3 c7c5 d4c5 d7c5 f1d3 b8c6 e1g1 c5d3 d1d3 f7f6 e5f6
[...]
info depth 23 seldepth 34 multipv 1 score cp 42 wdl 176 763 61 nodes 8557764 nps 1789578 hashfull 61 tbhits 0 time 4782 pv e2e4 e7e6 d2d4 d7d5 b1c3 g8f6 c1g5 d5e4 c3e4 b8d7 f1d3 f8e7 e4f6 e7f6 g5f6 d7f6 g1f3 b7b6 c2c3 e8g8 d1e2 c7c5 d4c5 b6c5 f3e5
[...]
info depth 24 seldepth 31 multipv 1 score cp 40 wdl 172 765 63 nodes 11173087 nps 1772661 hashfull 78 tbhits 0 time 6303 pv e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 b7b5 a4b3 c8b7 d2d3 f8c5 a2a4 b5b4 c2c3 e8g8 f1e1 c5a7 c1e3 a7e3 e1e3 b4c3 b2c3 g8h8
[...]
info depth 25 seldepth 36 multipv 1 score cp 38 wdl 169 767 64 nodes 13013924 nps 1764839 hashfull 91 tbhits 0 time 7374 pv e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 b7b5 a4b3 c8b7 d2d3 f8c5 a2a4 e8g8 c1g5 h7h6 g5h4 b5b4 c2c3 d7d6 d3d4 c5b6 d4d5 c6a5 h4f6
[...]
info depth 26 seldepth 36 multipv 1 score cp 28 wdl 149 777 74 nodes 19562599 nps 1757803 hashfull 142 tbhits 0 time 11129 pv e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 f6e4 d2d4 b7b5 a4b3 d7d5 d4e5 c8e6 c2c3 f8e7 f1e1 e8g8 b1d2 e4c5 f3d4 c6d4 c3d4 c5d3 e1e3 d3c1 a1c1 e7g5 e3g3 g8h8
[...]
info depth 27 seldepth 41 multipv 1 score cp 32 wdl 157 773 70 nodes 21165184 nps 1753972 hashfull 152 tbhits 0 time 12067 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 d6f5 d4d5 f8e8 e1e8 d8e8 b1c3 d7d6 f1d3 e8e5 c3e4 f6e7 d1h5 e5d5
[...]
info depth 28 seldepth 41 multipv 1 score cp 46 wdl 184 758 58 nodes 28156584 nps 1753976 hashfull 204 tbhits 0 time 16053 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 b5f1 f8e7 f3e5 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 d6f5 c2c3 d7d5 b1d2 c7c6 d2f3 f5d6 f1d3 c8f5 c1f4 f5d3 d1d3 d8d7 f4d6 d7d6
[...]
info depth 29 seldepth 45 multipv 1 score cp 20 wdl 136 783 81 nodes 45569410 nps 1754221 hashfull 325 tbhits 0 time 25977 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 b5a4 f8e7 b1c3 f7f6 d2d4 d6f7 c3d5 e8g8 c2c3 d7d6 b2b4 g8h8 a4b3 c8e6 d1c2 f6f5 b4b5 e6d5 b3d5
[...]
info depth 30 seldepth 39 multipv 1 score cp 29 wdl 151 776 73 nodes 52107062 nps 1756042 hashfull 370 tbhits 0 time 29673 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d6 h2h3 c8f5 a2a4 d6d5 a4a5 e8d6 a5a6 b7b6 b1d2 c7c6
[...]
info depth 31 seldepth 42 multipv 1 score cp 27 wdl 147 778 75 nodes 62271033 nps 1751695 hashfull 435 tbhits 0 time 35549 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d5 f1d3 g7g6 b1d2 c7c6 h2h3 e8g7 d2f3 c8f5 d3f5 g7f5 e1e2 f5d6
[...]
info depth 32 seldepth 39 multipv 1 score cp 24 wdl 142 780 78 nodes 117146580 nps 1719784 hashfull 732 tbhits 0 time 68117 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d5 f1d3 g7g6 b1d2 c7c6 h2h3 e8g7 e1e2 c8f5 d3f5 g7f5 a1d1 f6g7 d2f3
[...]
info depth 33 seldepth 41 multipv 1 score cp 19 wdl 134 783 83 nodes 180089036 nps 1712312 hashfull 892 tbhits 0 time 105173 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 d2d3 f8c5 b5c6 d7c6 b1d2 c8e6 d2b3 c5b6 f3e5 e6b3 a2b3 d8d4 e5g4 f6g4 d1g4 d4f2 e1d1 e8g8 a1a4 a8e8 g4f3 f7f5 f3f2 b6f2 e4f5 f8f5 h1f1 f5f8 a4c4 f2b6 f1f8 e8f8 c1d2 f8f1 d1e2
[...]
info depth 34 seldepth 49 multipv 1 score cp 19 wdl 134 783 83 nodes 192366357 nps 1710059 hashfull 912 tbhits 0 time 112491 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d5 f1d3 g7g6 b1d2 c7c6 d2f3 e8g7 e1e2 c8g4 h2h3 g7e6 f4h2 g4f3 e2f3 e6g5 f3g3
[...]
info depth 35 seldepth 46 multipv 1 score cp 18 wdl 132 784 84 nodes 228413521 nps 1705584 hashfull 951 tbhits 0 time 133921 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d5 a2a4 a7a5 e1e3 c8f5 b1d2 c7c6 h2h3 e8d6 f1d3 d8d7 f4d6 f5d3 d6e5 f6e5 d4e5 d7f5
[...]
info depth 36 seldepth 46 multipv 1 score cp 14 wdl 127 785 88 nodes 265402424 nps 1702104 hashfull 974 tbhits 0 time 155926 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c1f4 e8e1 d1e1 d6e8 c2c3 d7d5 a2a4 a7a5 e1e3 c8f5 b1d2 c7c6 a1e1 e8d6 f4e5 h7h6 h2h3 d8e7 f1d3 f5d3 e3d3 f6e5
[...]
info depth 37 seldepth 49 multipv 1 score cp 20 wdl 136 783 81 nodes 315538016 nps 1698422 hashfull 990 tbhits 0 time 185783 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c2c3 e8e1 d1e1 d6e8 f1d3 d7d5 c1f4 g7g6 b1d2 e8g7 d2f3 c8f5 d3f5 g7f5 e1e2 c7c6 a1e1 f5g7 h2h3 g7e6 f4e5 f6e5 f3e5
[...]
info depth 38 seldepth 52 multipv 1 score cp 33 wdl 158 773 69 nodes 399846324 nps 1692148 hashfull 999 tbhits 0 time 236295 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c2c3 e8e1 d1e1 d6e8 c1f4 d7d6 b1d2 c8f5 e1e2 c7c6 a1e1 h7h6 d2e4 d8d7 e4f6 e8f6 e2d2 f5g6 h2h3 a8e8 e1e8 f6e8
[...]
info depth 39 seldepth 46 multipv 1 score cp 20 wdl 135 783 82 nodes 529323500 nps 1681881 hashfull 1000 tbhits 0 time 314721 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c2c3 e8e1 d1e1 d6e8 c1f4 d7d5 a2a4 a7a5 f1d3 g7g6 b1d2 e8g7 d2f3 c7c6 e1d2 c8f5 d3f5 g7f5 a1e1 d8d7 f3e5 f6e5 e1e5 f5g7
[...]
stop
info depth 40 seldepth 46 multipv 1 score cp 20 wdl 135 783 82 nodes 543775616 nps 1682354 hashfull 1000 tbhits 0 time 323223 pv e2e4 e7e5 g1f3 b8c6 f1b5 g8f6 e1g1 f6e4 f1e1 e4d6 f3e5 f8e7 b5f1 c6e5 e1e5 e8g8 d2d4 e7f6 e5e1 f8e8 c2c3 e8e1 d1e1 d6e8 c1f4 d7d5 a2a4 a7a5 f1d3 g7g6 b1d2 e8g7 d2f3 c7c6 e1d2 c8f5 d3f5 g7f5 a1e1 d8d7 f3e5 f6e5 e1e5 f5g7
bestmove e2e4 ponder e7e5
My sample run of SF 13 shows W = 13.5%, D = 78.3%, L = 8.2% at depth 39/46.

You can find how these estimates are computed in uci.cpp source code file, currently between lines 198 to 218 and between lines 307 to 320:

Code: Select all

// The win rate model returns the probability (per mille) of winning given an eval
  // and a game-ply. The model fits rather accurately the LTC fishtest statistics.
  int win_rate_model(Value v, int ply) {

     // The model captures only up to 240 plies, so limit input (and rescale)
     double m = std::min(240, ply) / 64.0;

     // Coefficients of a 3rd order polynomial fit based on fishtest data
     // for two parameters needed to transform eval to the argument of a
     // logistic function.
     double as[] = {-8.24404295, 64.23892342, -95.73056462, 153.86478679};
     double bs[] = {-3.37154371, 28.44489198, -56.67657741,  72.05858751};
     double a = (((as[0] * m + as[1]) * m + as[2]) * m) + as[3];
     double b = (((bs[0] * m + bs[1]) * m + bs[2]) * m) + bs[3];

     // Transform eval to centipawns with limited range
     double x = std::clamp(double(100 * v) / PawnValueEg, -1000.0, 1000.0);

     // Return win rate in per mille (rounded to nearest)
     return int(0.5 + 1000 / (1 + std::exp((a - x) / b)));
  }

Code: Select all

/// UCI::wdl() report WDL statistics given an evaluation and a game ply, based on
/// data gathered for fishtest LTC games.

string UCI::wdl(Value v, int ply) {

  stringstream ss;

  int wdl_w = win_rate_model( v, ply);
  int wdl_l = win_rate_model(-v, ply);
  int wdl_d = 1000 - wdl_w - wdl_l;
  ss << " wdl " << wdl_w << " " << wdl_d << " " << wdl_l;

  return ss.str();
}
OTOH, the configuration window of Arena 2.0.1 GUI has a checkbox called 'UCI_ShowWDL', but there is no WDL output in Arena if I tick it and run an infinite analysis.

Regards from Spain.

Ajedrecista.
Oops, I take all back what I said about this, I must have been blind.
Thanks for noticing Jesus. OTH this was already in SF12, I realized now?
So I still wonder why Larry mentioned it now appering for SF13?
(may be he never tried from cmd and the Gui wasn't able yet to show it)

Code: Select all

Stockfish 12 by the Stockfish developers (see AUTHORS file)
uci
id name Stockfish 12
id author the Stockfish developers (see AUTHORS file)
...
option name UCI_ShowWDL type check default false
...
uciok
setoption name UCI_ShowWDL value true
go infinite
info string NNUE evaluation using nn-82215d0fd0df.nnue enabled
info depth 1 seldepth 1 multipv 1 score cp 3 wdl 111 788 101 nodes 20 nps 10000 tbhits 0 time 2 pv d2d4
info depth 2 seldepth 2 multipv 1 score cp 50 wdl 192 753 55 nodes 42 nps 14000 tbhits 0 time 3 pv d2d4 a7a6
info depth 3 seldepth 3 multipv 1 score cp 8 wdl 118 787 95 nodes 153 nps 38250 tbhits 0 time 4 pv a2a3 e7e6 d2d4
info depth 4 seldepth 4 multipv 1 score cp 9 wdl 118 788 94 nodes 303 nps 75750 tbhits 0 time 4 pv c2c3 c7c5 d2d4 c5d4
info depth 5 seldepth 5 multipv 1 score cp 9 wdl 118 788 94 nodes 532 nps 88666 tbhits 0 time 6 pv c2c3 c7c5 d2d4 c5d4 c3d4
info depth 6 seldepth 6 multipv 1 score cp 10 wdl 120 787 93 nodes 1004 nps 125500 tbhits 0 time 8 pv c2c3 g8f6 d2d4 d7d5 b1d2
info depth 7 seldepth 7 multipv 1 score cp 37 wdl 166 768 66 nodes 1680 nps 168000 tbhits 0 time 10 pv c2c4 e7e5 e2e3 g8f6 g1f3
info depth 8 seldepth 9 multipv 1 score cp 24 wdl 142 780 78 nodes 4717 nps 224619 tbhits 0 time 21 pv c2c4 e7e6 d2d4 d7d5 g1f3 d5c4 e2e3 g8f6 f1c4
info depth 9 seldepth 13 multipv 1 score cp 35 wdl 162 771 67 nodes 7299 nps 243300 tbhits 0 time 30 pv c2c4 c7c5 b1c3 b7b6 e2e4 c8b7 d2d4
info depth 10 seldepth 12 multipv 1 score cp 44 wdl 179 761 60 nodes 15571 nps 259516 tbhits 0 time 60 pv d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 b1c3 d5c4 d1a4 
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
User avatar
Ajedrecista
Posts: 1969
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Re: Stockfish 13 merged on GitHub.

Post by Ajedrecista »

Hello again:
Guenther wrote: Sat Feb 20, 2021 12:59 pm[...] OTH this was already in SF12, I realized now?
So I still wonder why Larry mentioned it now appering for SF13?
(may be he never tried from cmd and the Gui wasn't able yet to show it) [...]
It was also in SF 12 if my memory serves right, with the same lack of output under Arena in my case.

I have just searched the commits on SF GitHub and WDL statistics were first implemented on July 1st, 2020 (Provide WDL statistics); it was set by default to true at first and later changed on July 3rd, 2020 (Set UCI_ShowWDL by default to false).

Regards from Spain.

Ajedrecista.
cma6
Posts: 219
Joined: Thu May 29, 2014 5:58 pm

Re: Stockfish 13 merged on github

Post by cma6 »

[/quote]
Uploaded cpu.exe which will recommend which stockfish compilation to download.
Example, run the program and it will output something like this.

How does one get the file. I went to the recommended link and maneuvered to
https://github.com/fsmosca/FileStorage/ ... f4c0bfb9f8

and came up with

0 cpu/cpu.zip
Empty file.

Does anyone have the link to downloadable cpu.exe ?
Fulvio
Posts: 395
Joined: Fri Aug 12, 2016 8:43 pm

Re: Stockfish 13 merged on github

Post by Fulvio »

The windows exe seems pretty slow.
I have a Ryzen 3600 and using linux inside a virtualbox with:

Code: Select all

./stockfish_13_linux_x64_avx2 bench
I get:

Code: Select all

Total time (ms) : 1680
Nodes searched  : 3766422
Nodes/second    : 2241917
while running on windows:

Code: Select all

stockfish_13_win_x64_avx2.exe bench
I get:

Code: Select all

Total time (ms) : 1872
Nodes searched  : 3766422
Nodes/second    : 2011977
:?
Cornfed
Posts: 511
Joined: Sun Apr 26, 2020 11:40 pm
Full name: Brian D. Smith

Re: Stockfish 13 merged on github

Post by Cornfed »

lkaufman wrote: Sat Feb 20, 2021 8:22 am I notice that SF13 displays the score as a win percentage (or win/draw/loss percentages) now rather than the traditional pawn eval. My question is this: What time limit is assumed and how many threads for these figures? Obviously the percentage of draws in the start position goes up steadily with more time and more threads, so a specified draw percentage at the start only makes sense for a defined time limit and hardware.
I don't see that...but it would be nice for preparing line - like the Nibbler GUI does for LC0.

Seems like I've inferred from discussion of Komodo MTSC with multi-PV that it does something vaguely similar...but the true percentage is hidden. Do correct me if I am wrong - I do not yet have a Komodo or Dragon with MCTS.