Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: debugging question

Author: Uri Blass

Date: 08:23:26 06/29/03

Go up one level in this thread


On June 29, 2003 at 10:54:26, Sune Fischer wrote:

>On June 29, 2003 at 08:23:44, Uri Blass wrote:
>
>>I found that my latest version show different analysis when I give it the same
>>position again.
>>
>>It is not supposed to happen because I did not implement positional learning and
>>after setboard command it should forget everything.
>>
>>The most logical reason that I can think about it is if
>>an important global varaible is changed.
>
>I suppose this only happens when you use setboard and does not restart the
>engine?

Yes
but I suspect that it is also relevant for games because
movei remembers some wrong information.

I find that the first version with that bug is probably 00_8_077 and maybe
fixing a bug that checking bounds found cause the problem.

I suspect that 00_8_077 is not better than the buggy 00_8_068 because of that
problem(note that I did not expect a big difference between the versions unless
correcting the checking bound error in 00_8_068 is important).

>
>If so, check that you reset the killer list, history table the hash table plus
>any other tables that you might use in the search.

I will do it but if I find that I do not do not reset something that it may be
also a problem in normal games.

I already found 2 arrays that I did not reset but resetting them did not solve
the problem and I think that I reset them in the beginning of every search
so they seem not to be relevant(I check now at the point when there is an empty
board in setup position to see if everything is the initial value).

Uri



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.