Already posted about this at http://wbforum.vpittlik.org/viewtopic.php?t=6873
In short, the problem is that Crafty can't force a mate in this easily won endgame without tablebases: 5R1N/K7/8/3k4/8/8/8/8 w - - 0 131
If I give it enough time it _may_ win by sacrificing the knight to avoid a draw by 50 moves.
I've confirmed this with both the 64-bit Ubuntu build (from the multiverse repository) and the win32 build from Robert Hyatt's ftp site.
A bug in Crafty 20.14
Moderator: Ras
-
jwes
- Posts: 778
- Joined: Sat Jul 01, 2006 7:11 am
Re: A bug in Crafty 20.14
On my computer with 768m hash it takes about 3 minutes to find the mate, but it seems singularly clueless until it sees the mate (it keeps wanting to move the knight back to h8).ilari wrote:Already posted about this at http://wbforum.vpittlik.org/viewtopic.php?t=6873
In short, the problem is that Crafty can't force a mate in this easily won endgame without tablebases: 5R1N/K7/8/3k4/8/8/8/8 w - - 0 131
If I give it enough time it _may_ win by sacrificing the knight to avoid a draw by 50 moves.
I've confirmed this with both the 64-bit Ubuntu build (from the multiverse repository) and the win32 build from Robert Hyatt's ftp site.
-
bob
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: A bug in Crafty 20.14
There is a gross bug in EvaluateMate() which is in evaluate.c... If you want to fix it, look at the top of EvaluateMate() which has this:jwes wrote:On my computer with 768m hash it takes about 3 minutes to find the mate, but it seems singularly clueless until it sees the mate (it keeps wanting to move the knight back to h8).ilari wrote:Already posted about this at http://wbforum.vpittlik.org/viewtopic.php?t=6873
In short, the problem is that Crafty can't force a mate in this easily won endgame without tablebases: 5R1N/K7/8/3k4/8/8/8/8 w - - 0 131
If I give it enough time it _may_ win by sacrificing the knight to avoid a draw by 50 moves.
I've confirmed this with both the 64-bit Ubuntu build (from the multiverse repository) and the win32 build from Robert Hyatt's ftp site.
int mate_score = DrawScore(1);
change it to this:
int mate_score = 0;
Not sure what is wrong there and how it happened, but a change was made somewhere along the way and the basic idea is that in a KBN vs K ending crafty plays it just like it should. For any other ending without pawns, it has no idea about driving the king to the edge of the score, which is a killer. The above change fixes it...
I tried KQ vs KR, which is a trivial ending for a computer (without tablebases) and it had no idea at all. Which led me to the bug...
-
Jim Ablett
- Posts: 2390
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: A bug in Crafty 20.14
Crafty 20.14 Intel compiler 10 PGO windows build with bugfix:
http://myfreefilehosting.com/f/14ef30b726_0.33MB
Jim.
http://myfreefilehosting.com/f/14ef30b726_0.33MB
Jim.
-
BBauer
- Posts: 658
- Joined: Wed Mar 08, 2006 8:58 pm
Re: A bug in Crafty 20.14
I can access your site,
but how can I download a file?
regards
Bernhard
but how can I download a file?
regards
Bernhard
-
Alexander Schmidt
- Posts: 1235
- Joined: Thu May 10, 2007 2:49 pm
Re: A bug in Crafty 20.14
Click on: "Click Here To Download"BBauer wrote:I can access your site,
but how can I download a file?![]()
regards
Bernhard
Alex
-
Jim Ablett
- Posts: 2390
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: A bug in Crafty 20.14
Hi Bernhard,
been using for my homepage download links, that's why I'm using
an alternative for the Crafty link.
Hopefully fixed soon:)
Jim.
There is some problems with the download servers/providers I'veI can access your site,
but how can I download a file? Surprised
been using for my homepage download links, that's why I'm using
an alternative for the Crafty link.
Hopefully fixed soon:)
Jim.
-
beachknight
- Posts: 3533
- Joined: Tue Jan 09, 2007 8:33 pm
- Location: Antalya, Turkey
-
Jim Ablett
- Posts: 2390
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: A bug in Crafty 20.14
Crafty 20.14 Intel 10 PGO compiled with /DSMP +
/DCPUS=2
/DCPUS=2 (CoreDuo only)
/DCPUS=4
/DCPUS=8
http://www.2xupload.de/file/662e6812c46 ... u.zip.html
http://www.2xupload.de/file/994049b6bd4 ... u.zip.html
http://www.2xupload.de/file/a055d20e6b2 ... u.zip.html
http://www.2xupload.de/file/60fa270c65d ... o.zip.html
Jim.
/DCPUS=2
/DCPUS=2 (CoreDuo only)
/DCPUS=4
/DCPUS=8
http://www.2xupload.de/file/662e6812c46 ... u.zip.html
http://www.2xupload.de/file/994049b6bd4 ... u.zip.html
http://www.2xupload.de/file/a055d20e6b2 ... u.zip.html
http://www.2xupload.de/file/60fa270c65d ... o.zip.html
Jim.
-
Dirt
- Posts: 2851
- Joined: Wed Mar 08, 2006 10:01 pm
- Location: Irvine, CA, USA
Re: A bug in Crafty 20.14
The 'Click Here To Download' link there just times out for me.Jim Ablett wrote:Crafty 20.14 Intel compiler 10 PGO windows build with bugfix:
http://myfreefilehosting.com/f/14ef30b726_0.33MB
Jim.
