Stockfish 5 - repetition evaluation

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

Moderator: Ras

lucasart
Posts: 3243
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: Stockfish 5 - repetition evaluation

Post by lucasart »

carldaman wrote:
James Constance wrote:
Vinvin wrote:
syzygy wrote:The reason SF does what it does is that fixing this has been repeatedly shown to be a small Elo loss.
The question still open : Is it better to have an engine a couple of Elo points stronger but a weird repetition detection ?
Clearly, the emphasis has been on squeezing out the elo points for engine matches, at the cost of veracity in analysis.

Ugh!

There. You know my opinion! :)
+1 It's the 'ratings rat race' effect at work. Very unfortunate.
SF is also non-commercial, so don't expect this to be fixed any time soon.

Regards,
CL
But SF, unlike commercial engines, is open source. So you can fix it yourself, if this is really important to you.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
User avatar
Mike S.
Posts: 1480
Joined: Thu Mar 09, 2006 5:33 am

Re: Stockfish 5 - repetition evaluation

Post by Mike S. »

On your distant planet, everyone is a programmer? :mrgreen:
Regards, Mike
BBauer
Posts: 658
Joined: Wed Mar 08, 2006 8:58 pm

Re: Stockfish 5 - repetition evaluation

Post by BBauer »

Yeah, the best thing of stockfish is
Open Source.

Could you please provide the patch?

Thanks Bernhard
Joerg Oster
Posts: 994
Joined: Fri Mar 10, 2006 4:29 pm
Location: Germany
Full name: Jörg Oster

Re: Stockfish 5 - repetition evaluation

Post by Joerg Oster »

BBauer wrote:Yeah, the best thing of stockfish is
Open Source.

Could you please provide the patch?

Thanks Bernhard
Take a look here: https://github.com/joergoster/Stockfish ... ae4cce5b7d
Jörg Oster
carldaman
Posts: 2287
Joined: Sat Jun 02, 2012 2:13 am

Re: Stockfish 5 - repetition evaluation

Post by carldaman »

lucasart wrote:
carldaman wrote:
James Constance wrote:
Vinvin wrote:
syzygy wrote:The reason SF does what it does is that fixing this has been repeatedly shown to be a small Elo loss.
The question still open : Is it better to have an engine a couple of Elo points stronger but a weird repetition detection ?
Clearly, the emphasis has been on squeezing out the elo points for engine matches, at the cost of veracity in analysis.

Ugh!

There. You know my opinion! :)
+1 It's the 'ratings rat race' effect at work. Very unfortunate.
SF is also non-commercial, so don't expect this to be fixed any time soon.

Regards,
CL
But SF, unlike commercial engines, is open source. So you can fix it yourself, if this is really important to you.
Thanks for confirming my initial point. Any SF feature wish list discussion usually ends up with the programmers' asking the endusers to do it themselves. :(
BBauer
Posts: 658
Joined: Wed Mar 08, 2006 8:58 pm

Re: Stockfish 5 - repetition evaluation

Post by BBauer »

Thanks for the patch,
but I should perhaps change something else too.

This is what I got from compiling position.cpp:
position.cpp: In member function 'bool Position::is_draw() const':
position.cpp:1132:38: error: 'RootPly' is not a member of 'Search'
&& ++rep >= 2 + (gamePly - i < Search::RootPly))
^
make[2]: *** [position.o] Error 1

Kind regards
Bernhard
gladius
Posts: 568
Joined: Tue Dec 12, 2006 10:10 am
Full name: Gary Linscott

Re: Stockfish 5 - repetition evaluation

Post by gladius »

Joerg Oster wrote:
BBauer wrote:Yeah, the best thing of stockfish is
Open Source.

Could you please provide the patch?

Thanks Bernhard
Take a look here: https://github.com/joergoster/Stockfish ... ae4cce5b7d
Thanks Joerg. I see this was tested at 15+0.05 before and was neutral, let's give it a run at 60s as well to see what it looks like.

As an aside, open source doesn't mean "please provide the patch". It means the ability for someone to provide the patch. Chess engines in particular are full of tradeoffs, and this isn't the worst one in my opinion. It does cause confusion though, so it's worth giving the fix another try.
User avatar
Leto
Posts: 2150
Joined: Thu May 04, 2006 3:40 am
Location: Dune

Re: Stockfish 5 - repetition evaluation

Post by Leto »

There hasn't been a new dev version for Stockfish since the 10th of the month. Is the Stockfish team struggling to find a way to improve the engine, or are members of the team on vacation?
syzygy
Posts: 5974
Joined: Tue Feb 28, 2012 11:56 pm

Re: Stockfish 5 - repetition evaluation

Post by syzygy »

Vinvin wrote:
syzygy wrote:The reason SF does what it does is that fixing this has been repeatedly shown to be a small Elo loss.
The question still open : Is it better to have an engine a couple of Elo points stronger but a weird repetition detection ?
The answer by the SF maintainers is clear.

Those that do not agree with that answer should know that SF's source is available to all.
BBauer
Posts: 658
Joined: Wed Mar 08, 2006 8:58 pm

Re: Stockfish 5 - repetition evaluation

Post by BBauer »

Sorry, I didn't the other changes.
Now it works great.

After Qa7+ Kf8 Qa5 stockfish plays Re3+

So you do not have to be a programer, its enough to be a copier and a paster and a chess patzer.

Kind regards
Bernhard