SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
Damir
Posts: 2363
Joined: Mon Feb 11, 2008 2:53 pm
Location: Denmark
Full name: Damir Desevac

SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

Post by Damir » Mon Feb 13, 2017 11:31 am

SugaR XPrO 1.0 32-64
Introduce my changes "Draft at Komodo-style contempt": value our pieces, our pawns and
our mobility a little bit more than the opponent's.
snicolet Original project
https://github.com/mcostalba/Stockfi...3a815798e693e1

Bench:7070618

Src: https://github.com/Zerbinati/SugaR

Engines:

Download here

https://mzerbinati.wixsite.com/sugarchess/compiles

Or here:

http://www.mediafire.com/file/1uade7hup ... +32-64.rar

User avatar
MikeB
Posts: 4061
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

Post by MikeB » Mon Feb 13, 2017 12:32 pm

Damir wrote:SugaR XPrO 1.0 32-64
Introduce my changes "Draft at Komodo-style contempt": value our pieces, our pawns and
our mobility a little bit more than the opponent's.
snicolet Original project
https://github.com/mcostalba/Stockfi...3a815798e693e1

Bench:7070618

Src: https://github.com/Zerbinati/SugaR

Engines:

Download here

https://mzerbinati.wixsite.com/sugarchess/compiles

Or here:

http://www.mediafire.com/file/1uade7hup ... +32-64.rar
thanks Damir, will check it out

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

Re: SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

Post by Damir » Mon Feb 13, 2017 7:42 pm

It is great to see Marco back, as he was having some difficulties in his private live. But now he has resolved his issues.

User avatar
Nordlandia
Posts: 2631
Joined: Fri Sep 25, 2015 7:38 pm
Location: Sortland, Norway

Re: SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

Post by Nordlandia » Mon Feb 13, 2017 7:42 pm

TC: 30m+30s + Ponder
GUI: Arena 3.5.1
Hash: 2048 MB allocated for engine
TBs: 6-Men stored on SSD
Ponder: On
CPU: i5-5200U | 2-Core

[pgn][Event "30+30 | Ponder"]
[Site "DESKTOP-DD1B2QU"]
[Date "2017.02.13"]
[Round "1"]
[White "Sugar 2017"]
[Black "Komodo-10.3-64bit"]
[Result "1/2-1/2"]
[BlackElo "2000"]
[ECO "B99"]
[Opening "Sicilian"]
[Time "16:01:55"]
[Variation "Najdorf, Main Line, 10.Bd3 b5 11.Rhe1 Bb7"]
[WhiteElo "2000"]
[TimeControl "1800+30"]
[Termination "normal"]
[PlyCount "292"]
[WhiteType "program"]
[BlackType "program"]

1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Bg5 Nbd7 7. f4 e6 8.
Qf3 Qc7 9. O-O-O Be7 10. Bd3 b5 11. Rhe1 Bb7 12. Qh3 b4 {0.00/28 127} 13.
Nd5 exd5 {0.00/28 0} 14. exd5 Kd8 {0.00/33 44} 15. Rxe7 Kxe7 {0.00/35 5}
16. Nf5+ Kf8 {0.00/36 107} 17. Nxg7 h5 {0.00/37 171} 18. Nf5 h4 {+0.43/32
260} 19. Bh6+ Rxh6 {+0.43/32 0} 20. Nxh6 Bxd5 {+0.47/32 62} 21. Qxh4 Be6
{+0.58/31 82} 22. g4 Rc8 {+0.56/32 127} 23. Nf5 Ng8 {+0.56/32 0} 24. Qh8
Bxf5 {+0.56/32 0} 25. Bxf5 Qc5 {+0.69/33 86} 26. h4 Qe3+ {+0.88/34 137} 27.
Kb1 Rd8 {+0.82/35 30} 28. Bxd7 Rxd7 {+0.83/33 61} 29. Qd4 Qxd4 {+0.83/33 0}
30. Rxd4 a5 {+0.84/34 169} 31. g5 Ne7 {+0.84/34 0} 32. h5 d5 {+0.76/35 100}
33. Rd3 Kg7 {+0.78/34 211} 34. a3 Rc7 {+0.77/32 79} 35. axb4 axb4 {+0.75/31
51} 36. Rd2 Kg8 {+0.60/32 105} 37. Ka2 Rc4 {+0.64/32 51} 38. f5 Rh4
{+0.39/36 151} 39. f6 Nc6 {+0.37/35 1} 40. Rxd5 Rxh5 {+0.31/33 51} 41. Rc5
Nd4 {+0.22/32 32} 42. Rc8+ Kh7 {+0.22/32 0} 43. Rf8 Kg6 {+0.17/31 17} 44.
Rg8+ Kf5 {+0.06/32 87} 45. g6 Kxf6 {+0.01/30 108} 46. Rd8 Ra5+ {0.00/34 73}
47. Kb1 Ne2 {0.00/40 101} 48. gxf7 Kxf7 {0.00/44 8} 49. Rb8 Nf4 {0.00/48
102} 50. Rxb4 Nd5 {0.00/48 0} 51. Rb8 Ke6 {0.00/47 53} 52. Rb7 Ra8 {0.00/48
65} 53. c4 Ne3 {0.00/47 45} 54. Rb3 Ng4 {0.00/49 40} 55. c5 Nf2 {0.00/55
68} 56. c6 Rc8 {0.00/64 73} 57. Rb4 Ke5 {0.00/55 29} 58. Rb7 Rxc6 {0.00/83
113} 59. Re7+ Kd5 {0.00/30 26} 60. Rd7+ Kc4 {0.00/35 50} 61. Rd2 Rf6
{0.00/34 34} 62. Rc2+ Kb4 {0.00/38 53} 63. Re2 Nd3 {0.00/40 164} 64. Kc2
Nc5 {0.00/37 15} 65. Rh2 Rf3 {0.00/37 0} 66. Rh4+ Kb5 {0.00/37 0} 67. Rh5
Rg3 {0.00/37 0} 68. Kb1 Kb4 {0.00/40 68} 69. Ka2 Na6 {0.00/40 0} 70. Rh4+
Kb5 {0.00/41 36} 71. Rh5+ Ka4 {0.00/41 0} 72. b3+ Kb4 {0.00/41 0} 73. Rh4+
Kb5 {0.00/43 45} 74. Ka3 Nc5 {0.00/41 26} 75. Rb4+ Kc6 {0.00/41 0} 76. Rb8
Kd5 {0.00/38 37} 77. Rb4 Rg8 {0.00/37 43} 78. Rh4 Rg3 {0.00/37 0} 79. Rb4
Ne6 {0.00/37 0} 80. Rb5+ Ke4 {0.00/37 0} 81. Rb4+ Nd4 {0.00/41 20} 82. Rb8
Kd3 {0.00/41 45} 83. Ka2 Kc2 {0.00/40 121} 84. Rc8+ Kd1 {0.00/41 6} 85. Rb8
Kc1 {0.00/41 41} 86. Rc8+ Kd1 {0.00/42 3} 87. Rb8 Kc1 {0.00/44 61} 88. Rc8+
Kd2 {0.00/44 0} 89. Rb8 Rg2 {0.00/42 52} 90. Kb2 Rg3 {0.00/41 42} 91. Rb6
Rf3 {0.00/41 30} 92. Rb7 Rg3 {0.00/43 38} 93. Rb6 Kd3 {0.00/39 16} 94. Rh6
Nb5 {0.00/41 46} 95. Rh2 Ke4 {0.00/40 12} 96. Rh4+ Kd5 {0.00/42 56} 97. Rc4
Rg8 {0.00/39 38} 98. Rc1 Nd4 {0.00/41 41} 99. b4 Rg3 {0.00/39 39} 100. Ka2
Ne2 {0.00/39 38} 101. Rc2 Nd4 {0.00/39 0} 102. Rc5+ Ke4 {0.00/39 0} 103.
Rh5 Ne2 {0.00/36 35} 104. b5 Kd4 {0.00/40 42} 105. b6 Rg6 {0.00/40 32} 106.
b7 Nc3+ {0.00/40 36} 107. Kb3 Rb6+ {0.00/40 16} 108. Kc2 Rxb7 {0.00/36 14}
109. Rh1 Nd5 {0.00/41 56} 110. Rh4+ Kc5 {0.00/41 0} 111. Rh5 Re7 {0.00/44
48} 112. Rh8 Re2+ {0.00/39 105} 113. Kd3 Re3+ {0.00/35 21} 114. Kd2 Rg3
{0.00/36 66} 115. Rh1 Nc3 {0.00/35 21} 116. Rh5+ Kd4 {0.00/35 15} 117. Kc2
Ne4 {0.00/35 0} 118. Rh4 Rc3+ {0.00/37 42} 119. Kb2 Re3 {0.00/37 0} 120.
Kc2 Kc4 {0.00/37 0} 121. Rh2 Rc3+ {0.00/36 49} 122. Kb2 Rb3+ {0.00/34 9}
123. Kc2 Rf3 {0.00/39 78} 124. Kd1 Kd3 {0.00/35 33} 125. Kc1 Rg3 {0.00/36
44} 126. Kb2 Nc5 {0.00/36 0} 127. Rh4 Rf3 {0.00/38 24} 128. Rh1 Rf2+
{0.00/39 32} 129. Ka3 Rf4 {0.00/39 117} 130. Kb2 Rb4+ {0.00/31 9} 131. Ka3
Ra4+ {0.00/31 0} 132. Kb2 Rf4 {0.00/34 39} 133. Rd1+ Kc4 {0.00/37 16} 134.
Rc1+ Kb4 {0.00/40 36} 135. Kc2 Nb3 {0.00/36 31} 136. Rb1 Kc4 {0.00/37 15}
137. Rh1 Rf2+ {0.00/34 34} 138. Kd1 Rd2+ {0.00/32 72} 139. Ke1 Ra2 {0.00/32
11} 140. Rh4+ Nd4 {0.00/32 0} 141. Rh6 Nf3+ {0.00/28 23} 142. Kf1 Ng5
{0.00/28 13} 143. Rc6+ Kb4 {0.00/31 56} 144. Rg6 Nf7 {0.00/34 19} 145. Rg2
Kb3 {0.00/29 47} 146. Rxa2 Kxa2 {0.00/29 0 Insufficient material} 1/2-1/2[/pgn]

[pgn]
[Event "30+30 | Ponder"]
[Site "DESKTOP-DD1B2QU"]
[Date "2017.02.13"]
[Round "2"]
[White "Komodo-10.3-64bit"]
[Black "Sugar 2017"]
[Result "1/2-1/2"]
[BlackElo "2000"]
[ECO "B99"]
[Opening "Sicilian"]
[Time "19:24:47"]
[Variation "Najdorf, Main Line, 10.Bd3 b5 11.Rhe1 Bb7"]
[WhiteElo "2000"]
[TimeControl "1800+30"]
[Termination "normal"]
[PlyCount "84"]
[WhiteType "program"]
[BlackType "program"]

1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Bg5 Nbd7 7. f4 e6 8.
Qf3 Qc7 9. O-O-O Be7 10. Bd3 b5 11. Rhe1 Bb7 12. a3 {+0.14/29 238} Qb6 13.
Nb3 {-0.05/28 114} Rc8 14. f5 {-0.05/28 0} Rxc3 15. bxc3 {-0.25/29 129} e5
16. g4 {-0.40/29 206} Qc7 17. Kb1 {-0.31/30 14} Nd5 18. Bd2 {-0.31/30 0}
Nxc3+ 19. Bxc3 {0.00/32 38} Qxc3 20. g5 {0.00/33 51} Bxg5 21. Qg3 {0.00/33
0} Bf4 22. Qxg7 {0.00/33 0} Rf8 23. f6 {0.00/37 121} Nb6 24. Bxb5+ {0.00/37
84} axb5 25. Rxd6 {0.00/36 43} Qxe1+ 26. Ka2 {0.00/36 0} Nd7 27. Rxd7
{0.00/37 48} Kxd7 28. Qxf8 {0.00/37 0} Qc3 29. Qxf7+ {0.00/37 106} Kc6 30.
Na5+ {0.00/37 103} Qxa5 31. Qe6+ {0.00/39 10} Kc7 32. f7 {0.00/39 52} Qc3
33. Qe7+ {0.00/39 70} Kb6 34. Qd6+ {0.00/43 152} Ka7 35. f8=Q {0.00/47 106}
Qxc2+ 36. Ka1 {0.00/47 0} Qc1+ 37. Ka2 {0.00/5 0} Bd5+ 38. Qxd5 {0.00/51
68} Qc2+ 39. Ka1 {0.00/51 0} Qc3+ 40. Ka2 {0.00/56 60} Qc2+ 41. Ka1
{0.00/56 0} Qc3+ 42. Ka2 {0.00/59 80} Qc2+ {3-fold repetition} 1/2-1/2[/pgn]

User avatar
MikeB
Posts: 4061
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

Post by MikeB » Tue Feb 14, 2017 2:03 am

Damir wrote:SugaR XPrO 1.0 32-64
Introduce my changes "Draft at Komodo-style contempt": value our pieces, our pawns and
our mobility a little bit more than the opponent's.
snicolet Original project
https://github.com/mcostalba/Stockfi...3a815798e693e1

Bench:7070618

Src: https://github.com/Zerbinati/SugaR

Engines:

Download here

https://mzerbinati.wixsite.com/sugarchess/compiles

Or here:

http://www.mediafire.com/file/1uade7hup ... +32-64.rar
here is the unix flavored version of the latest SugaR source with macOS exe's.

https://www.dropbox.com/s/zk2updhpkb528 ... x.zip?dl=1

edit: bench

Code: Select all

===========================
Total time (ms) : 4162
Nodes searched  : 7070618
Nodes/second    : 1698851
note =source sets threads to max logical cores, you probably want to change that to a lower number -, uci large pages option in this code has zero impact , deleted for the macOS

User avatar
MikeB
Posts: 4061
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

Post by MikeB » Wed Feb 15, 2017 5:18 am

Damir wrote:SugaR XPrO 1.0 32-64
Introduce my changes "Draft at Komodo-style contempt": value our pieces, our pawns and
our mobility a little bit more than the opponent's.
snicolet Original project
https://github.com/mcostalba/Stockfi...3a815798e693e1

Bench:7070618

Src: https://github.com/Zerbinati/SugaR

Engines:

Download here

https://mzerbinati.wixsite.com/sugarchess/compiles

Or here:

http://www.mediafire.com/file/1uade7hup ... +32-64.rar
very strong - I'm impressed, good to have another sparring partner!

User avatar
MikeB
Posts: 4061
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

Post by MikeB » Wed Feb 15, 2017 6:16 am

an 8000 game RR which includes SugaR XPrO 1.0

http://talkchess.com/forum/viewtopic.ph ... 94&t=63176

peter
Posts: 1941
Joined: Sat Feb 16, 2008 6:38 am
Full name: Peter Martan

Re: SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

Post by peter » Wed Feb 15, 2017 6:40 am

Hi, thanks for posting!
Damir wrote:SugaR XPrO 1.0 32-64
Introduce my changes "Draft at Komodo-style contempt": value our pieces, our pawns and
our mobility a little bit more than the opponent's.
But why evaluate "winning and loosing optimism" differently too, if you can put in positive and negative values anyhow
:?:

And then, if that maybe seen a little complicated only, why then not at least something like King's Safety to be changed too?
If I could have further wishes even, I'd like to have an option for changing nullmove- usage or verification too,
It's rather long ago since we had a SF- derivative with UCI- parameters for both, Evals and Search,
Peter.

peter
Posts: 1941
Joined: Sat Feb 16, 2008 6:38 am
Full name: Peter Martan

Re: SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

Post by peter » Wed Feb 15, 2017 7:42 am

peter wrote:But why evaluate "winning and loosing optimism" differently too
Think I simply had not got it till now. It's the chance to change Eval- parameters in case of winning positions differently from losing ones, so to say relatively to the advantage or disadvantage of one side, attacking or defending cases.
That could be a clever trick indeed, let's see...
:!:
Peter.

peter
Posts: 1941
Joined: Sat Feb 16, 2008 6:38 am
Full name: Peter Martan

Re: SugaR XPrO 1.0 32-64 new UCI engine based on Stockfish

Post by peter » Thu Feb 16, 2017 11:48 am

And now Marco even has added 4 more UCI- values to adapt nullmove- pruning and -verification, thanks a lot for this too!

But these values (UCI C1, C2, C3 and D1) together with the new Eval- parameters won't be easy to be tested, will they?
:)
That's the code- sniplet old and new (for nullmove- verification adaptable):

&& (ss->staticEval >= beta - 35 * (depth / ONE_PLY - 6) || depth >= 13 * ONE_PLY)

Patch

if( (((depth-R) >= ONE_PLY) && ss->staticEval >= beta - C1 *(depth/ONE_PLY - D1)) || (ss->staticEval >= beta + C2 + C3*depth/ONE_PLY) || (depth >= 13 * ONE_PLY))
Peter.

Post Reply