ShashChess

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

Moderators: hgm, Rebel, chrisw

amchess
Posts: 323
Joined: Tue Dec 05, 2017 2:42 pm

Re: ShashChess

Post by amchess »

Hi, Khalid.

For the experience file, there can't be two entries for the same position's hashKey, because, if there is another (or the same) move, but with a greater depth, the entry is updated.
For the contempt, stockfish uses contempt here:

Code: Select all

Score score = pos.psq_score() + me->imbalance() + pos.this_thread()->contempt;
in evaluate.cpp (classical eval), but classical evaluation is used very rarely.
There was also a recent discussion on discord channel and it was confirmed this:
https://discord.com/channels/4359437104 ... 6409731082
Someone also proposed to completely remove it.
ShashChess, anyway, has always contempt to 0 (and also no dynamic contempt).
Infact, it must correctly define a position nature based on score and with contempt this is misleading.
After by choosing personalities, you can bootstraap an analysis/game play based on your needs.

Andrea
khalidomar
Posts: 16
Joined: Sun Apr 26, 2020 12:43 pm
Full name: Khalid Omar

Re: ShashChess

Post by khalidomar »

You are right about experience fragmentation. I forgot that in Shashchess and Brainlearn it is saving the whole experience file every time after each game. For that reason, it is doing the merging on the fly before it actually does the saving.

About Contempt, it is at least a debatable point, and of course, depends on the engine. I don't think the classical evaluation is used very rarely, but yes, it is used less often than before.

My idea is: If contempt was good for classical evaluation (before NNUE), then it will be also good for classical evaluation (after NNUE), even if classical evaluation is used less often.

I ran a quick test from the start position and found that classical evaluation is called 16% of the time. This percentage will increase in unbalanced positions and towards the endgame.
criko
Posts: 138
Joined: Wed Feb 28, 2018 2:50 pm

Re: ShashChess

Post by criko »

maxdeg wrote: Sun Jul 29, 2018 11:53 am Mac version - anybody please :D
here you go...
https://acepoint.de/

direct link ...
https://acepoint.de/home/wp-content/upl ... ess-16.zip
amchess
Posts: 323
Joined: Tue Dec 05, 2017 2:42 pm

Re: ShashChess

Post by amchess »

khalidomar wrote: Thu Mar 25, 2021 2:25 pm You are right about experience fragmentation. I forgot that in Shashchess and Brainlearn it is saving the whole experience file every time after each game. For that reason, it is doing the merging on the fly before it actually does the saving.

About Contempt, it is at least a debatable point, and of course, depends on the engine. I don't think the classical evaluation is used very rarely, but yes, it is used less often than before.

My idea is: If contempt was good for classical evaluation (before NNUE), then it will be also good for classical evaluation (after NNUE), even if classical evaluation is used less often.

I ran a quick test from the start position and found that classical evaluation is called 16% of the time. This percentage will increase in unbalanced positions and towards the endgame.
Hi, Khalid.
You can read the discussion on discord channel.
Anyway, this isn't a problem for ShashChess, as I explained you.
amchess
Posts: 323
Joined: Tue Dec 05, 2017 2:42 pm

Re: ShashChess

Post by amchess »

criko wrote: Thu Mar 25, 2021 3:53 pm
maxdeg wrote: Sun Jul 29, 2018 11:53 am Mac version - anybody please :D
here you go...
https://acepoint.de/

direct link ...
https://acepoint.de/home/wp-content/upl ... ess-16.zip
Thanks a lot.
Andrea
carldaman
Posts: 2283
Joined: Sat Jun 02, 2012 2:13 am

Re: ShashChess

Post by carldaman »

Contempt could be useful to the Tal personality, especially if the user chooses to turn NNUE off, since it can benefit from 'optimism' and draw-avoidance by its very nature. This would also apply to analysis done by the Tal personality.
criko
Posts: 138
Joined: Wed Feb 28, 2018 2:50 pm

Re: ShashChess

Post by criko »

khalidomar wrote: Thu Mar 25, 2021 2:25 pm You are right about experience fragmentation. I forgot that in Shashchess and Brainlearn it is saving the whole experience file every time after each game. For that reason, it is doing the merging on the fly before it actually does the saving.

About Contempt, it is at least a debatable point, and of course, depends on the engine. I don't think the classical evaluation is used very rarely, but yes, it is used less often than before.

My idea is: If contempt was good for classical evaluation (before NNUE), then it will be also good for classical evaluation (after NNUE), even if classical evaluation is used less often.

I ran a quick test from the start position and found that classical evaluation is called 16% of the time. This percentage will increase in unbalanced positions and towards the endgame.
Is is possible to merge 2 or more exp files?
If YES ... how can I do this?

regards
Chris
acepoint_de
Posts: 86
Joined: Tue Jun 11, 2013 1:14 am

Re: ShashChess

Post by acepoint_de »

amchess wrote: Thu Mar 25, 2021 11:00 pm
criko wrote: Thu Mar 25, 2021 3:53 pm
maxdeg wrote: Sun Jul 29, 2018 11:53 am Mac version - anybody please :D
here you go...
https://acepoint.de/

direct link ...
https://acepoint.de/home/wp-content/upl ... ess-16.zip
Thanks a lot.
Andrea
It's the version for the new arm64, not Intel...just in case ;-).

Ciao

acepoint
User avatar
Ozymandias
Posts: 1532
Joined: Sun Oct 25, 2009 2:30 am

Re: ShashChess

Post by Ozymandias »

Run a test with version 16 against github's version of FF2:

Code: Select all

   # PLAYER        :  RATING   POINTS  PLAYED   (%)  CFS(%)     W      D     L  D(%)
   1 FF2           :  2000.0  12643.5   25000    51     ---  3646  17995  3359    72
   2 Default       :  1998.0   2485.5    5000    50     ---   674   3623   703    72
   3 Tal           :  1997.2   2480.0    5000    50     ---   722   3516   762    70
   4 Tal+Capa      :  1996.6   2476.0    5000    50     ---   662   3628   710    73
   5 Capablanca    :  1996.1   2472.5    5000    49     ---   663   3619   718    72
   6 Petrosian     :  1991.9   2442.5    5000    49     ---   638   3609   753    72

White advantage = -1.56
Draw rate (equal opponents) = 50.00 %
Looks like Petrosian needs a hand.
Cornfed
Posts: 511
Joined: Sun Apr 26, 2020 11:40 pm
Full name: Brian D. Smith

Re: ShashChess

Post by Cornfed »

Ozymandias wrote: Sat Apr 03, 2021 12:24 pm Run a test with version 16 against github's version of FF2:

Code: Select all

   # PLAYER        :  RATING   POINTS  PLAYED   (%)  CFS(%)     W      D     L  D(%)
   1 FF2           :  2000.0  12643.5   25000    51     ---  3646  17995  3359    72
   2 Default       :  1998.0   2485.5    5000    50     ---   674   3623   703    72
   3 Tal           :  1997.2   2480.0    5000    50     ---   722   3516   762    70
   4 Tal+Capa      :  1996.6   2476.0    5000    50     ---   662   3628   710    73
   5 Capablanca    :  1996.1   2472.5    5000    49     ---   663   3619   718    72
   6 Petrosian     :  1991.9   2442.5    5000    49     ---   638   3609   753    72

White advantage = -1.56
Draw rate (equal opponents) = 50.00 %
Looks like Petrosian needs a hand.
Isn't this kind of a pointless test?
I mean, not all positions are 'Petrosian'...or 'Tal'...or...Capa or Tal+Capa positions. That is why for such a test ONLY the Default (which uses each personality as needed) makes any sense.

Even the real Petrosian could sac like a Tal when the position called for it. :lol: