Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Error in LCT II testsuite

Author: Uri Blass

Date: 07:53:23 08/30/02

Go up one level in this thread


On August 30, 2002 at 10:39:15, Will Singleton wrote:

>On August 30, 2002 at 07:54:24, Leen Ammeraal wrote:
>
>>After spending a whole morning looking for an
>>error in my program in connection with the
>>position CMB6 in the LCT II testsuite, I
>>finally found the problem. However, it was
>>not in my program but in the line for that
>>position:
>>
>>2r1k2r/2pn1pp1/1p3n1p/p3PP2/4q2B/P1P5/2Q1N1PP/R4RK1 w q - bm exf6; id
>>"LCTII.CMB.06"; c0 "Lilienthal - Capablanca, Hastings 1934";
>>
>>As the beginning of this line shows, there is a
>>black rook on c8. In spite of this, the q in
>>
>>w q - bm
>>
>>indicates that black still has the queen side
>>castling right! In view of this, this q should
>>be replaced with a hyphen (-) or a k.
>>
>>If you ever use this LCT II testsuite, you should
>>correct this line.
>>
>>
>>Leen
>
>Thanks for pointing this out.  I checked my files, and some copies had the k,
>some had q.
>
>But I'm wondering why it would make any difference to your program.  First,
>Queen should realize that the rook is out of position and cancel the castling
>rights, or if the rook moved back to a8 that would cancel also.  But more
>importantly, it appears to me that castling doesn't come into play in the
>solution.
>
>Maybe you still have a bug?
>
>Will

I do not know what is the problem but programs assume that they get a legal
position in the FEN.

It is possible that Queen try to castle when the rook is at c8 and there is
nothing between the rook and the king and get some contradiction.

I have no idea.

Movei has no problem  with the position but having problem does not mean that
the program has a bug.

Here is output of movei 128 mbytes hash

9620 >first : black
9620 >first : time 2880000
otim 2880000
9620 >first : white
go
9670 <first : Error (unknown command): black
9670 <first : Error (unknown command): white
10600 <first : 1 37 0 43 c2e4 f6e4
10600 <first : 2 37 0 71 c2e4 f6e4
10600 <first : 2 37 0 161 c2e4 f6e4
10600 <first : 3 39 0 259 c2e4 f6e4 e5e6
10600 <first : 3 39 0 1606 c2e4 f6e4 e5e6
10600 <first : 4 28 0 1752 c2e4 f6e4 e5e6 d7e5
10600 <first : 4 28 0 3333 c2e4 f6e4 e5e6 d7e5
10660 <first : 5 43 0 4132 c2e4 f6e4 e5e6 f7e6 f5e6
10660 <first : 5 43 6 7760 c2e4 f6e4 e5e6 f7e6 f5e6
10770 <first : 6 14 17 28318 c2e4 f6e4 f1f4 e4c5 f4g4 d7e5 g4g7 c5e4
10880 <first : 6 14 28 38037 c2e4 f6e4 f1f4 e4c5 f4g4 d7e5 g4g7 c5e4
11040 <first : 7 23 44 68472 c2e4 f6e4 f1f3 e8g8 f3f4 d7c5 h4e7 f8e8 e7c5 e4c5
11260 <first : 7 23 66 93041 c2e4 f6e4 f1f3 e8g8 f3f4 d7c5 h4e7 f8e8 e7c5 e4c5
11810 <first : 8 32 121 174990 c2e4 f6e4 f1f3 a5a4 f3e3 d7c5 a1d1 e8g8 e2d4
12360 <first : 8 32 176 261186 c2e4 f6e4 f1f3 a5a4 f3e3 d7c5 a1d1 e8g8 e2d4
14890 <first : 9 24 423 639038 c2e4 f6e4 a1e1 e8g8 f1f4 e4c5 h4e7 c5d3 e7f8 d3e1
16260 <first : 9 24 561 838468 c2e4 f6e4 a1e1 e8g8 f1f4 e4c5 h4e7 c5d3 e7f8 d3e1
22910 <first : 10 25 1231 1824003 c2e4 f6e4 f1f3 e4d2 f3d3 d2c4 e5e6 d7e5 d3d1
c4e3 e6f7 e5f7
23680 <first : 10 26 1308 1945889 e5f6
28790 <first : 10 183 1819 2611994 e5f6 e4c2 f6g7 h8g8 e2d4 c2e4 a1e1 e4e5 d4c6
f7f6 c6e5 f6e5
30100 <first : 10 183 1950 2789831 e5f6 e4c2 f6g7 h8g8 e2d4 c2e4 a1e1 e4e5 d4c6
f7f6 c6e5 f6e5
32850 <first : 11 205 2225 3170111 e5f6 e4c2 f6g7 h8g8 e2d4 c2e4 a1e1 e4e5 h4f6
d7f6 e1e5 e8d8 f1d1

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.