Tweaked versions of Stockfish and Stockfish Mate Finder

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

Moderator: Ras

Dann Corbit
Posts: 12870
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Tweaked versions of Stockfish and Stockfish Mate Finder

Post by Dann Corbit »

Here are slightly tweaked versions of Stockfish {bleeding edge version} and Stockfish-Mate_Finder for 64 bit Windows:
https://www.dropbox.com/s/u1pwpo8papegk ... er.7z?dl=0
https://www.dropbox.com/s/s07c0pmt0rw2v ... er.7z?dl=0

I turn on SAN logging by default. You will almost surely want to turn it off.

I add a few other UCI options also. You probably won't care about them.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Jouni
Posts: 3907
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: Tweaked versions of Stockfish and Stockfish Mate Finder

Post by Jouni »

Quick test: this matefinder is worse than normal SF in some tests! MF110416 was 300% faster - not much progress at all in 5 moths. "Nullmove Verification Depth" what's the meaning?
Jouni
Dann Corbit
Posts: 12870
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Tweaked versions of Stockfish and Stockfish Mate Finder

Post by Dann Corbit »

Jouni wrote:Quick test: this matefinder is worse than normal SF in some tests! MF110416 was 300% faster - not much progress at all in 5 moths. "Nullmove Verification Depth" what's the meaning?
It is for experiments testing where to kick in null move verification search:

Code: Select all

        if (nullValue >= beta)
        {
            // Do not return unproven mate scores
            if (nullValue >= VALUE_MATE_IN_MAX_PLY)
                nullValue = beta;

            if (depth < verification_depth * ONE_PLY && abs(beta) < VALUE_KNOWN_WIN)
                return nullValue;

            // Do verification search at high depths
            ss->skipEarlyPruning = true;
            Value v = depth-R < ONE_PLY ? qsearch<NonPV, false>(pos, ss, beta-1, beta, DEPTH_ZERO)
                      :  search<NonPV>(pos, ss, beta-1, beta, depth-R, false);
            ss->skipEarlyPruning = false;

            if (v >= beta)
                return nullValue;
        }
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
shrapnel
Posts: 1339
Joined: Fri Nov 02, 2012 9:43 am
Location: New Delhi, India

Re: Tweaked versions of Stockfish and Stockfish Mate Finder

Post by shrapnel »

Dann Corbit wrote:Here are slightly tweaked versions of Stockfish {bleeding edge version} and Stockfish-Mate_Finder for 64 bit Windows:
https://www.dropbox.com/s/u1pwpo8papegk ... er.7z?dl=0
https://www.dropbox.com/s/s07c0pmt0rw2v ... er.7z?dl=0

I turn on SAN logging by default. You will almost surely want to turn it off.

I add a few other UCI options also. You probably won't care about them.
Will check it out when I go home.
Have you added Parameters of Aggression and Cowardice ?
Many people ( including me) were disappointed when these parameters were removed after Stockfish 5.
Can you or some other software expert make these Parameters visible in a modified version of the latest Stockfish ?
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis
royb
Posts: 581
Joined: Thu Mar 09, 2006 12:53 am

Re: Tweaked versions of Stockfish and Stockfish Mate Finder

Post by royb »

shrapnel wrote:
Dann Corbit wrote:Here are slightly tweaked versions of Stockfish {bleeding edge version} and Stockfish-Mate_Finder for 64 bit Windows:
https://www.dropbox.com/s/u1pwpo8papegk ... er.7z?dl=0
https://www.dropbox.com/s/s07c0pmt0rw2v ... er.7z?dl=0

I turn on SAN logging by default. You will almost surely want to turn it off.

I add a few other UCI options also. You probably won't care about them.
Will check it out when I go home.
Have you added Parameters of Aggression and Cowardice ?
Many people ( including me) were disappointed when these parameters were removed after Stockfish 5.
Can you or some other software expert make these Parameters visible in a modified version of the latest Stockfish ?
I second that request to add back in Aggression and Cowardice! I wish they would come back!
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Tweaked versions of Stockfish and Stockfish Mate Finder

Post by MikeB »

shrapnel wrote: Will check it out when I go home.
Have you added Parameters of Aggression and Cowardice ?
Many people ( including me) were disappointed when these parameters were removed after Stockfish 5.
Can you or some other software expert make these Parameters visible in a modified version of the latest Stockfish ?
I looked at the code Stockfish 5 and came up with a new UCI parameter in the latest devlopmental version called "Attitude". Check this game out and note how many pieces Stockfish has left and how quickly it mates its' computer opponent - shall remain nameless to protect the innocent :shock: .

[pgn][Event "Computer Chess Game"]
[Site "Mac-Pro.local"]
[Date "2016.09.16"]
[Round "-"]
[White "Stockfish 160916 64 POPC"]
[Black "Computer"]
[Result "1-0"]
[TimeControl "120+3"]
[Annotator "1. +0.40 1... +0.21"]

1. e4 {+0.40/20} Nc6 {+0.21/20 5} 2. Nf3 {+0.54/20 6} e5 {+0.09/22 6} 3.
Bb5 {+0.43/21 9} Nf6 {+0.22/22 4} 4. O-O {+0.52/20 5} Bd6 {+0.23/22 4} 5.
d4 {+1.12/18 2.5} Qe7 {+0.57/21 5} 6. Re1 {+1.36/18 4} a6 {+0.45/21 8} 7.
Bd3 {+1.57/18 3} O-O {+0.57/21 6} 8. c3 {+1.68/19 3} Rd8 {+0.83/22 33} 9.
Nbd2 {+2.05/18 3} Re8 {+1.05/21 8} 10. Nc4 {+2.34/17 2.5} b5 {+1.21/22 8}
11. Ne3 {+1.62/19 9} Qf8 {+0.84/22 7} 12. Nf5 {+2.22/19 2.8} exd4
{+1.01/21 10} 13. cxd4 {+3.03/19 2.4} Bb4 {+0.98/20 3} 14. e5
{+3.20/19 1.2} Nd5 {+1.07/20 3} 15. Ng5 {+5.20/19 2.5} Bxe1 {-0.38/20 5}
16. Nxh7 {+6.46/21 4} Qb4 {+0.00/21 4} 17. a3 {+8.35/20 6} Qa4 {+2.50/22 6}
18. Qg4 {+13.05/21 5} Bxf2+ {-0.03/20 8} 19. Kh1 {+15.89/21 7} g6
{+3.36/20 9} 20. Nh6+ {+16.56/19 4} Kg7 {+4.85/20 4} 21. Nxf7 {+18.06/20 4}
Nce7 {+7.73/20 9} 22. Bh6+ {+1000.14/21 7} Kxh7 {+12.32/21 4} 23. Qh5
{+1000.13/25 1.3} Bh4 {+327.43/20 5} 24. Nd8 {+1000.10/29 11} Rxd8
{+327.49/24 4} 25. Bxg6+ {+1000.09/43 4} Nxg6 {+327.51/30 2.4} 26. Bf8+
{+1000.08/44 1.0} Kg8 {+327.53/10 0.2} 27. Qxg6+ {+1000.07/59 4} Kxf8
{+327.55/36 2.4} 28. Rf1+ {+1000.06/63 1.1} Bf6 {+327.57/47 2.6} 29. exf6
{+1000.05/90 5} Qxa3 {+327.59/69 2.5} 30. Qg7+ {+1000.04/127 1.6}
{Black resigns} 1-0
[/pgn] no book was used in this game

against slightly tougher opponent

[pgn][Event "Computer Chess Game"]
[Site "Mac-Pro.local"]
[Date "2016.09.16"]
[Round "-"]
[White "Stockfish 160916 64 POPC"]
[Black "Komodo 10.1 64-bit"]
[Result "1/2-1/2"]
[TimeControl "120+3"]
[Annotator "1. +0.63 1... -0.02"]

1. e4 {+0.63/21} e6 {-0.02/20 8} 2. Nc3 {+0.31/21 14} d5 {-0.05/20 6} 3. d4
{+0.32/21 6} Nf6 {-0.05/22 11} 4. Bg5 {+0.27/21 4} Be7 {-0.01/22 12} 5. e5
{+0.47/19 3} Nfd7 {+0.02/22 5} 6. h4 {+0.39/20 5} O-O {+0.17/20 11} 7. Bd3
{+1.09/18 3} c5 {+0.19/22 5} 8. Qh5 {+2.33/20 7} g6 {+0.16/23 4} 9. Qh6
{+1.33/22 7} Nc6 {+0.20/21 14} 10. Nh3 {+2.22/18 2.3} Re8 {+0.00/20 7} 11.
h5 {+0.39/22 13} Bf8 {+0.13/19 4} 12. Qxh7+ {+0.48/22 3} Kxh7 {+0.14/5 0.1}
13. hxg6+ {+0.54/21 0.9} fxg6 {+0.30/21 5} 14. Bxd8 {+0.88/23 6} Rxd8
{+0.21/21 5} 15. Ng5+ {+0.96/21 0.9} Kg8 {+0.15/21 1.7} 16. Bxg6
{+0.67/23 8} Ndxe5 {+0.05/21 3} 17. dxe5 {+0.58/21 1.1} Nxe5 {+0.09/22 6}
18. Bh7+ {+0.71/22 2.3} Kg7 {+0.07/21 1.8} 19. O-O-O {+0.70/20 1.1} Be7
{+0.14/19 4} 20. Rh5 {+0.82/22 5} Ng4 {+0.18/22 11} 21. Rd3 {+0.80/22 10}
Bd6 {+0.74/21 5} 22. Ne2 {+0.00/23 13} Rf8 {+0.85/22 9} 23. Rh4
{+0.00/23 1.6} c4 {+0.79/23 11} 24. Rd4 {-0.46/24 17} Nf6 {+0.68/23 9} 25.
Nf4 {+0.00/20 2.3} e5 {+0.77/21 2.2} 26. Rxd5 {+0.00/23 4} Nxd5
{+1.02/20 2.3} 27. Nxd5 {+0.00/24 2.3} Rh8 {+1.21/20 7} 28. g3
{-0.74/23 10} Bd7 {+1.25/20 5} 29. f3 {-0.60/23 4} Rac8 {+1.34/18 4} 30.
Kd2 {-1.43/24 17} Bc5 {+1.42/19 6} 31. Ke2 {-1.43/23 14} Rc6 {+1.41/20 9}
32. b3 {-1.44/24 4} Rh6 {+1.54/21 5} 33. Rxh6 {-1.44/22 2.7} Kxh6
{+1.58/22 3} 34. f4 {-1.43/23 5} exf4 {+1.54/23 8} 35. gxf4 {-1.40/25 3}
Bg4+ {+1.51/24 4} 36. Kd2 {-1.47/23 0.6} Rf8 {+1.49/22 1.9} 37. bxc4
{-1.38/25 2.5} Bd6 {+1.51/23 1.8} 38. Bd3 {-1.45/25 0.7} Bxf4+
{+1.51/23 2.0} 39. Nxf4 {-1.45/28 2.8} Kxg5 {+1.47/23 2.0} 40. Nd5
{-1.40/27 0.6} Re8 {+1.45/23 5} 41. Kc3 {-1.23/22 2.0} Rc8 {+1.45/24 3} 42.
Kd4 {-1.39/26 9} Bf3 {+1.42/22 5} 43. Nc3 {-1.19/24 3} Kf4 {+1.37/22 4} 44.
a4 {-1.13/26 6} b6 {+1.43/23 5} 45. Nd5+ {-1.02/22 3} Kg3 {+1.33/20 2.1}
46. Nc3 {-1.18/26 7} Rh8 {+1.21/21 6} 47. Nb5 {-1.00/22 1.6} a6
{+1.15/23 4} 48. Nc7 {-0.92/26 2.1} a5 {+1.34/21 0.6} 49. Nd5
{-0.91/24 0.5} Rh6 {+1.35/22 0.8} 50. Ke3 {-0.91/30 3} Rd6 {+1.13/24 5} 51.
Be4 {-0.33/26 6} Re6 {+0.93/22 1.6} 52. Nc3 {-0.22/24 2.2} Re8
{+0.93/25 2.7} 53. Kd4 {-0.16/24 2.5} Rc8 {+0.66/21 2.0} 54. Bxf3
{+0.00/37 1.4} Kxf3 {+0.24/25 2.3} 55. Nd5 {+0.00/41 0.6} Rc6
{+0.18/24 1.2} 56. c5 {+0.00/47 2.7} bxc5+ {+0.00/35 3} 57. Kc4
{+0.00/50 0.7} Rc8 {+0.00/41 3} 58. Ne7 {+0.00/61 2.7} Rc7 {+0.00/42 1.7}
59. Nd5 {+0.00/56 2.8} Rg7 {+0.00/38 1.3} 60. Kxc5 {+0.00/70 2.7} Ke4
{+0.00/46 3} 61. Nc3+ {+0.00/77 2.9} Ke5 {+0.00/52 3} 62. Kb6
{+0.00/88 0.6} Kd4 {+0.00/53 1.6} 63. Nb5+ {+0.00/126 3} Kd5 {+0.00/59 1.3}
64. Kxa5 {+0.00/110 2.9} Kc5 {+0.00/27 2.0} 65. c3 {+0.00/36 5} Rg6
{+0.00/32 3} 66. Nc7 {+0.00/36 8} Kc4 {+0.00/32 3} 67. Nb5 {+0.00/39 5} Kc5
{+0.00/33 4} 68. Nc7 {+0.00/75 5} Rh6 {+0.00/32 4} 69. Nb5 {+0.00/40 4} Rc6
{+0.00/32 4} 70. Nd4 {+0.00/36 2.3} Rb6 {+0.00/32 4} 71. Nb5 {+0.00/33 2.7}
Re6 {+0.00/32 2.1} 72. Nc7 {+0.00/35 4} Rf6 {+0.00/33 7} 73. Nb5
{+0.00/36 2.1} Re6 {+0.00/34 2.6} 74. Nc7 {+0.00/60 2.4} Rd6 {+0.00/32 1.8}
75. Nb5 {+0.00/37 3} Rh6 {+0.00/29 2.2} 76. Nc7 {+0.00/36 1.1} Kc4
{+0.00/30 2.3} 77. Nb5 {+0.00/43 5} Kb3 {+0.00/33 3} 78. Na7 {+0.00/35 0.5}
Rg6 {+0.00/29 4} 79. Nb5 {+0.00/41 3} Rh6 {+0.00/32 2.9} 80. Na7
{+0.00/55 1.5} Rh5+ {+0.00/32 2.7} 81. Nb5 {+0.00/44 6} Rg5 {+0.00/31 2.9}
82. Kb6 {+0.00/41 2.6} Kxa4 {+0.00/31 2.0} 83. c4 {+0.00/39 2.5} Kb4
{+0.00/31 2.0} 84. Kc6 {+0.00/38 1.3} Kxc4 {+0.00/31 2.6} 85. Nd6+
{+0.00/40 4} Kd4 {+0.00/33 2.4} 86. Nb5+ {+0.00/36 7}
{User adjudication} 1/2-1/2[/pgn]



let me know if this what you are looking for...
shrapnel
Posts: 1339
Joined: Fri Nov 02, 2012 9:43 am
Location: New Delhi, India

Re: Tweaked versions of Stockfish and Stockfish Mate Finder

Post by shrapnel »

"Attitude" sure looks good.
Where can I download it ?
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Tweaked versions of Stockfish and Stockfish Mate Finder

Post by MikeB »

shrapnel wrote:"Attitude" sure looks good.
Where can I download it ?
haven't released it yet - still testing ..s/b soon - maybe later tonight after I get some chores done ..