Latest Updates:
Page Index Toggle Pages: [1] 2 3 
Topic Tools
Very Hot Topic (More than 25 Replies) Stockfish 9 Released ! (Read 5129 times)
proustiskeen
God Member
*****
Offline


Hello from Omaha!

Posts: 607
Joined: 08/11/08
Re: Stockfish 9 Released !
Reply #40 - 06/26/18 at 19:04:09
Post Tools
Glad you found the compile useful, Brabo. It's not fancy - I don't know all the flags, bells and whistles to get the fastest thing imaginable - but it gets the job done.
  
Back to top
WWW  
IP Logged
 
brabo
God Member
*****
Offline


Welcome chessfriend

Posts: 859
Joined: 02/02/07
Re: Stockfish 9 Released !
Reply #39 - 06/25/18 at 12:56:38
Post Tools
I just published an article about the contempt on my blog: https://chess-brabo.blogspot.com/2018/06/contempt.html

One thing which (slightly) surprised me about this contempt is that the impact seems only to happen for the first 20 moves. I guess the code of the program is written in such way that the bonus (= contemptvalue) is only given above a number of pieces on the board. Once some pieces are exchanged then no bonus can be received anymore and the effect of the contempt disappears. Probably the developers saw no gain of rating anymore in an active contempt for positions with few (or below x number of) pieces on the board.
  
Back to top
WWW  
IP Logged
 
Keano
God Member
*****
Offline


Money doesn't talk, it
swears.

Posts: 2872
Location: Toulouse
Joined: 05/25/05
Gender: Male
Re: Stockfish 9 Released !
Reply #38 - 05/19/18 at 18:11:51
Post Tools
an ordinary chessplayer wrote on 05/15/18 at 14:54:48:
Yes there is this option in ChessBase, but the trick is getting it to be the default when you load the engine, as opposed to changing it each time you load the engine. Read back through this thread, GMTonyKosten gave a simple method for a new engine install, and I gave a slightly harder method for an existing engine.


well I have set my existing engine contempt to 0 and it seems to stay --> options --> engines --> select engine --- advanced

I hope I am right in doing this like, trusting you lot  Wink
  
Back to top
 
IP Logged
 
Jonathan Tait
Senior Member
****
Offline



Posts: 431
Location: Nottingham
Joined: 07/11/06
Re: Stockfish 9 Released !
Reply #37 - 05/16/18 at 12:45:31
Post Tools
an ordinary chessplayer wrote on 05/14/18 at 16:08:45:
Contempt is for practical play, where the engine only plays one side. In analysis mode, we use the engine to examine both sides. When the engine switches from looking at white candidates to looking at black candidates (e.g. spacebar), it will also switch from "contempt for black" to "contempt for white" - a swing in evaluation of 2*contempt for any "normal" move. It's confusing.


ah, that's perhaps why I've found it to be so volatile.

an ordinary chessplayer wrote on 03/02/18 at 02:45:39:
Find the .uci file and add the following line to the [OPTIONS] section:
Contempt=0


sorted, thanks Smiley
  

blog inspired by Bronstein's book, but using my own games: http://200opengames.blogspot.co.uk/
Back to top
WWW  
IP Logged
 
an ordinary chessplayer
Senior Member
****
Offline


I used to be not bad.

Posts: 307
Location: Columbus, OH (USA)
Joined: 01/02/15
Re: Stockfish 9 Released !
Reply #36 - 05/15/18 at 14:54:48
Post Tools
Yes there is this option in ChessBase, but the trick is getting it to be the default when you load the engine, as opposed to changing it each time you load the engine. Read back through this thread, GMTonyKosten gave a simple method for a new engine install, and I gave a slightly harder method for an existing engine.
  
Back to top
 
IP Logged
 
Keano
God Member
*****
Offline


Money doesn't talk, it
swears.

Posts: 2872
Location: Toulouse
Joined: 05/25/05
Gender: Male
Re: Stockfish 9 Released !
Reply #35 - 05/15/18 at 11:32:49
Post Tools
an ordinary chessplayer wrote on 05/14/18 at 16:08:45:
Contempt is for practical play, where the engine only plays one side. In analysis mode, we use the engine to examine both sides. When the engine switches from looking at white candidates to looking at black candidates (e.g. spacebar), it will also switch from "contempt for black" to "contempt for white" - a swing in evaluation of 2*contempt for any "normal" move. It's confusing.


It certainly is confusing. So in Chessbase UCI engine there is an option to set contempt to zero?
  
Back to top
 
IP Logged
 
an ordinary chessplayer
Senior Member
****
Offline


I used to be not bad.

Posts: 307
Location: Columbus, OH (USA)
Joined: 01/02/15
Re: Stockfish 9 Released !
Reply #34 - 05/14/18 at 16:08:45
Post Tools
Contempt is for practical play, where the engine only plays one side. In analysis mode, we use the engine to examine both sides. When the engine switches from looking at white candidates to looking at black candidates (e.g. spacebar), it will also switch from "contempt for black" to "contempt for white" - a swing in evaluation of 2*contempt for any "normal" move. It's confusing.
  
Back to top
 
IP Logged
 
Keano
God Member
*****
Offline


Money doesn't talk, it
swears.

Posts: 2872
Location: Toulouse
Joined: 05/25/05
Gender: Male
Re: Stockfish 9 Released !
Reply #33 - 05/14/18 at 14:47:14
Post Tools
So its better to not have any contempt factor (i.e. set to zero)?

Are we sure on this?
  
Back to top
 
IP Logged
 
tdv
YaBB Newbies
*
Offline


Let's play chess!

Posts: 18
Joined: 03/27/18
Re: Stockfish 9 Released !
Reply #32 - 03/28/18 at 19:43:16
Post Tools
I still wonder what rating it will reach at the end (on a given hardware of course). Obviously it can improve yet in some kinds of positions (queen vs. 3 pieces & so on...).
  
Back to top
IP Logged
 
GMTonyKosten
YaBB Administrator
*****
Offline


Mr Dynamic?

Posts: 2946
Location: Clermont-Ferrand
Joined: 12/19/02
Gender: Male
Re: Stockfish 9 Released !
Reply #31 - 03/02/18 at 10:06:04
Post Tools
brabo wrote on 02/27/18 at 16:46:17:
each time I switch between engines the default setting is restored and I have to do it over again.


I decided to download the 'stock' Stockfish 9 for Windows, set the contempt factor to 0 when creating the UCI and this works fine ... and the contempt factor appears to stay at 0 on my machine whenever I change engines!
I've no idea what the problem was before, maybe the ZIP file was corrupted somewhere along the line?
  
Back to top
WWW  
IP Logged
 
an ordinary chessplayer
Senior Member
****
Offline


I used to be not bad.

Posts: 307
Location: Columbus, OH (USA)
Joined: 01/02/15
Re: Stockfish 9 Released !
Reply #30 - 03/02/18 at 06:03:21
Post Tools
proustiskeen wrote on 03/02/18 at 00:42:13:
if you put a 32 bit exe in 'Program Files' instead of 'Program Files x86' perhaps the OS balks?

Nope. I tried it with your 32-bit stockfish and it ran fine.

Based on TD's and GMTonyKosten's results, I would say that someone tampered with your first effort... Sad
  
Back to top
 
IP Logged
 
an ordinary chessplayer
Senior Member
****
Offline


I used to be not bad.

Posts: 307
Location: Columbus, OH (USA)
Joined: 01/02/15
Re: Stockfish 9 Released !
Reply #29 - 03/02/18 at 03:06:22
Post Tools
I was testing the ChessBase 14 GUI with Stockfish 9, using the same random position as in the command-line session earlier ... position after 1.e4 e5 2.Qh5 Na6. There was nothing unexpected in my results:

Depth Score Bestmove "Engine" (Option)
30 1.41 3.Qxe5+ "Stockfish 9 64" (Contempt=20)
30 1.13 3.Qxe5+ "Stockfish 9 64" (Contempt=0)
30 1.18 3.Bxa6 "Stockfish 9 64 C0"

But since I was online, ChessBase also fed the position to some cloud engines. Be forewarned, it looks like the cloud versions of Stockfish are also using the contempt factor:

Depth Score Bestmove "Engine" 
33 1.35 3.Qxe5+ "Stockfish 9"
27 1.48 3.Qxe5+ "Stockfish 180218"
26 1.05 3.Bxa6 "Komodo 9.02 64-bit"
26 1.04 3.Qxe5+ "Komodo 10.2 64-bit"

  
Back to top
 
IP Logged
 
an ordinary chessplayer
Senior Member
****
Offline


I used to be not bad.

Posts: 307
Location: Columbus, OH (USA)
Joined: 01/02/15
Re: Stockfish 9 Released !
Reply #28 - 03/02/18 at 02:45:39
Post Tools
brabo wrote on 02/27/18 at 16:46:17:
Yes I know it is easy to switch off this contempt factor but each time I switch between engines the default setting is restored and I have to do it over again. Does somebody has an easy fix for that?


Find the .uci file and add the following line to the [OPTIONS] section:
Contempt=0

Mine is at:
C:\Users\redacted\AppData\Roaming\ChessBase\Engines.UCI\Stockfish 9 64.uci
  
Back to top
 
IP Logged
 
proustiskeen
God Member
*****
Offline


Hello from Omaha!

Posts: 607
Joined: 08/11/08
Re: Stockfish 9 Released !
Reply #27 - 03/02/18 at 00:42:13
Post Tools
Does a 64 bit file work?

Edit - if you put a 32 bit exe in 'Program Files' instead of 'Program Files x86' perhaps the OS balks?
« Last Edit: 03/02/18 at 03:28:32 by proustiskeen »  
Back to top
WWW  
IP Logged
 
an ordinary chessplayer
Senior Member
****
Offline


I used to be not bad.

Posts: 307
Location: Columbus, OH (USA)
Joined: 01/02/15
Re: Stockfish 9 Released !
Reply #26 - 03/02/18 at 00:34:14
Post Tools
I think that's the message you get when you try to run a 16-bit .exe on a 64-bit system.

Edited:
I just downloaded from the amazon link.
$ stockfish_9_x32_analysis.exe
Stockfish 9 C0 by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
uci
id name Stockfish 9 C0
id author T. Romstad, M. Costalba, J. Kiiski, G. Linscott

option name Debug Log File type string default
option name Contempt type spin default 0 min -100 max 100
etc.

I am on Windows 10 Home, 64-bit.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Topic Tools
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo