Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Fine #70 and hash bug(s) (warning: long post)

Author: Andrew Wagner

Date: 15:02:58 04/19/04

Go up one level in this thread


On April 19, 2004 at 15:21:22, Dan Honeycutt wrote:

>On April 19, 2004 at 13:01:25, Andrew Wagner wrote:
>
>>On April 19, 2004 at 11:48:46, Dan Honeycutt wrote:
>>
>>>Hi Andrew:
>>>Misery loves company.  Bruja's output looks just about like Trueno's and it
>>>insists that Kb2 is the move.  I tried the position with Crafty and Pepito and
>>>both lock on to Kb1! almost immediately.  Like you I'm 99.9 percent sure my keys
>>>are good and I've also tried a larger table to no avail.  I think Martin in the
>>>post below is right - we're doing something wrong with the way we store or use
>>>the bounds.  In the source code of Pepito in the file hash.c i found a #ifdef
>>>DEBUG_HASHING in the hash store routine.  Soon as I have time i'm going to try
>>>this.  Looks like what he does with the debug code is make a probe when he does
>>>a store and check for consistency.  If you look at the code it will help to know
>>>a little Spanish:
>>>
>>>Deberia ser = what (the values) should be
>>>Sin embargo = what, however, they are
>>>prof = depth
>>>tipo = type/flag
>>>
>>>Good luck.  Let me know what you find and I'll do the same.
>>>Dan H.
>>
>>Hi Dan. Well, at least I don't feel _quite_ as dumb then, knowing someone else
>>has the same problem. Did you base your code on Pepito's? Do you know where I
>>might possibly get a copy of it? I speak some spanish, so it would be
>>interesting to see anyway. See my post above for how I handle bounds. Andrew
>
>Hi Andrew:
>Pepito you can find at:
>
>http://www.winboardengines.de/pepito/
>
>Pepito uses a two-part table with different replacement schemes which appears
>very similar to what Crafty does.  I use a more simple single table based on
>what Bruce Moreland gives on his site:
>
>http://www.seanet.com/~brucemo/topics/topics.htm
>
>I figured by keeping it simple it would be more likely to work :(
>I saw your post above.  I'm at work (yes, my priorities are screwed up)

LOL

>and will look to see what I do when I get home.
>
>Dan H.

Thanks for the link. I also (attempt to) adhere to the KISS principle. I always
tell myself "Keep It Simple, Stupid". Sometimes it works, sometimes I manage to
screw it up anyway.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.