test position tablebase bug

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

Moderator: Ras

Uri Blass
Posts: 10969
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

test position tablebase bug

Post by Uri Blass »

Fruit2.3.1 failed to implement tablebases correctly and cannot see that Rxb2 is losing against 0-0-0+

Same is for many other programs.

New game - Movei00_8_438, Friend mode
[d]8/8/8/8/8/8/1Nr3P1/R3K1k1 b Q - 0 1

Analysis by Fruit 2.3.1:

1...Rc2xb2
= (0.00) Depth: 1 00:00:01
1...Rc2xb2
= (0.00) Depth: 3 00:00:01
1...Rc2xb2
= (0.00) Depth: 3 00:00:01
1...Rc2xb2
= (0.00) Depth: 4 00:00:01
1...Rc2xb2
= (0.00) Depth: 5 00:00:01
1...Rc2xb2
= (0.00) Depth: 6 00:00:01 1kN
1...Rc2xb2
= (0.00) Depth: 7 00:00:01 1kN, tb=152
1...Rc2xb2
= (0.00) Depth: 8 00:00:01 1kN, tb=153
1...Rc2xb2
= (0.00) Depth: 9 00:00:01 1kN, tb=154
1...Rc2xb2
= (0.00) Depth: 10 00:00:01 2kN, tb=157
1...Rc2xb2
= (0.00) Depth: 11 00:00:01 3kN, tb=160
1...Rc2xb2
= (0.00) Depth: 12 00:00:01 5kN, tb=164
1...Rc2xb2
= (0.00) Depth: 13 00:00:01 7kN, tb=168
1...Rc2xb2
= (0.00) Depth: 14 00:00:01 10kN, tb=172
1...Rc2xb2
= (0.00) Depth: 15 00:00:01 14kN, tb=187
1...Rc2xb2
= (0.00) Depth: 16 00:00:01 20kN, tb=207
1...Rc2xb2
= (0.00) Depth: 17 00:00:01 26kN, tb=237
1...Rc2xb2
= (0.00) Depth: 18 00:00:01 33kN, tb=280
1...Rc2xb2
= (0.00) Depth: 19 00:00:01 43kN, tb=318
1...Rc2xb2
= (0.00) Depth: 20 00:00:01 54kN, tb=365
1...Rc2xb2
= (0.00) Depth: 21 00:00:01 71kN, tb=417
1...Rc2xb2
= (0.00) Depth: 22 00:00:02 89kN, tb=510
1...Rc2xb2
= (0.00) Depth: 23 00:00:02 113kN, tb=623
1...Rc2xb2
= (0.00) Depth: 24 00:00:02 136kN, tb=760
1...Rc2xb2
= (0.00) Depth: 25 00:00:02 164kN, tb=920
1...Rc2xb2
= (0.00) Depth: 26 00:00:02 193kN, tb=1080
1...Rc2xb2
= (0.00) Depth: 27 00:00:02 226kN, tb=1273
1...Rc2xb2
= (0.00) Depth: 28 00:00:02 270kN, tb=1477
1...Rc2xb2
= (0.00) Depth: 29 00:00:02 322kN, tb=1743
1...Rc2xb2
= (0.00) Depth: 30 00:00:02 379kN, tb=2022
1...Rc2xb2
= (0.00) Depth: 31 00:00:03 443kN, tb=2396
1...Rc2xb2
= (0.00) Depth: 32 00:00:03 537kN, tb=2919
1...Rc2xb2
= (0.00) Depth: 33 00:00:03 642kN, tb=3482
1...Rc2xb2
= (0.00) Depth: 34 00:00:03 781kN, tb=4173
1...Rc2xb2
= (0.00) Depth: 35 00:00:04 952kN, tb=4977
1...Rc2xb2
= (0.00) Depth: 36 00:00:04 1140kN, tb=5912
1...Rc2xb2
= (0.00) Depth: 37 00:00:05 1348kN, tb=7016
1...Rc2xb2
= (0.00) Depth: 38 00:00:05 1598kN, tb=8143
1...Rc2xb2
= (0.00) Depth: 39 00:00:05 1834kN, tb=9348
1...Rc2xb2
= (0.00) Depth: 40 00:00:05 2155kN, tb=10743
1...Rc2xb2
= (0.00) Depth: 41 00:00:06 2575kN, tb=12497
1...Rc2xb2
= (0.00) Depth: 42 00:00:07 3050kN, tb=14316
1...Rc2xb2
= (0.00) Depth: 43 00:00:07 3629kN, tb=16351
1...Rc2xb2
= (0.00) Depth: 44 00:00:08 4286kN, tb=18787
1...Rc2xb2
= (0.00) Depth: 45 00:00:08 5019kN, tb=21407
1...Rc2xb2
= (0.00) Depth: 46 00:00:09 5776kN, tb=24154
1...Rc2xb2
= (0.00) Depth: 47 00:00:10 6733kN, tb=27541
1...Rc2xb2
= (0.00) Depth: 48 00:00:11 7830kN, tb=31417
1...Rc2xb2
= (0.00) Depth: 49 00:00:11 9009kN, tb=34970
1...Rc2xb2
= (0.00) Depth: 50 00:00:13 10829kN, tb=40549
1...Rc2xb2
= (0.00) Depth: 51 00:00:14 12857kN, tb=46538
1...Rc2xb2
= (0.00) Depth: 52 00:00:16 14613kN, tb=52308
1...Rc2xb2
= (0.00) Depth: 53 00:00:18 17668kN, tb=60824
1...Rc2xb2
= (0.00) Depth: 54 00:00:20 20403kN, tb=68839
1...Rc2xb2
= (0.00) Depth: 55 00:00:22 23235kN, tb=76941
1...Rc2xb2
= (0.00) Depth: 56 00:00:24 26929kN, tb=87135
1...Rc2xb2
= (0.00) Depth: 57 00:00:27 31416kN, tb=99253
1...Rc2xb2
= (0.00) Depth: 58 00:00:30 35717kN, tb=110668
1...Rc2xb2
= (0.00) Depth: 59 00:00:35 41512kN, tb=125657
1...Rc2xb2
= (0.00) Depth: 60 00:00:39 46666kN, tb=140450
1...Rc2xb2
= (0.00) Depth: 61 00:00:44 53129kN, tb=158129
1...Rc2xb2
= (0.00) Depth: 62 00:00:49 61066kN, tb=178554
1...Rc2xb2
= (0.00) Depth: 63 00:00:56 70778kN, tb=203239

(, 13.09.2007)
BBauer
Posts: 658
Joined: Wed Mar 08, 2006 8:58 pm

Re: test position tablebase bug

Post by BBauer »

Yes,
and after you play Rc2xb2 it sees immediately that it is mated!
Minor bug, but yace, frencee, zappa see the draw.

regards
Bernhard
ernest
Posts: 2053
Joined: Wed Mar 08, 2006 8:30 pm

Re: test position tablebase bug

Post by ernest »

Uri Blass wrote:Fruit2.3.1 failed to implement tablebases correctly and cannot see that Rxb2 is losing against 0-0-0+

Same is for many other programs.
Indeed same for Rybka 2.3.2a (with Nalimov all 5)
genorb

Re: test position tablebase bug

Post by genorb »

Hi Uri,

is this only a problem with 5-men tablebases? Because I paste your FEN into the Shredder GUI (256Mb for the Hash and 3 and 4-men tablebases only) and I get those results (analysis are in french so R=Roi=King)

I use default setting for all engines

Fruit 2.3.1

5.00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+ Re7 11.Rg2 Tc8 (6.579.748) 812 TB:43.488
18/37 0:13 +0.41 1...Rxg2 2.Cd1 Rf3 3.Ta3+ Rf4 4.Cf2 Tc8 5.Ch3+ Rg4 6.Rf1 Tg8 7.Re2 Te8+ 8.Rf2 Tb8 9.Rg2 Tb4 10.Tf3 Tc4 11.Cf2+ (10.763.656) 796 TB:74.035
19/39 0:20 +0.43 1...Rxg2 2.Cd1 Rf3 3.Ta3+ Rf4 4.Cf2 Tc6 5.Cd3+ Re4 6.Rf2 (17.035.292) 817 TB:119.514
20/40 0:33 +0.44 1...Rxg2 2.Cd1 Rf3 3.Ta3+ Rf4 4.Cf2 Tc6 5.Cd3+ Re4 6.Rf2 Tc8 7.Ce1 Td8 8.Te3+ Rf5 9.Cd3 Td4 10.Rf3 Rg5 11.Rg3 Tg4+ 12.Rf2 (27.952.873) 827 TB:198.305
User avatar
hgm
Posts: 28409
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: test position tablebase bug

Post by hgm »

genorb wrote:is this only a problem with 5-men tablebases?
Of course. Nalimov table-bases do not take castling into account (i.e., they tabulate only positions where no castling rights exist, even if the pieces on the board are positioned such that castling rights conceivably might exist). So the KRPKR EGTB lists the position after Rxb2 as a draw, which would have been correct if there were no castling rights. Getting the TB hit makes it not look any deeper.

So when castling rights exist, one should refrain from probing TBs, as you know for sure the position is not in there. Apparently Fruit probes TBs regardless of castling rights. This is the bug Uri refers to.

One might also argue that the bug is Nalimov's, for failing to take castling into account. Only a very minor fraction of the KRPKR positions can have castling rights, as you have to fix 2 of the 5 pieces. So to tabulate all positions with castling rights in KRPKR only takes the space of some four 3-men EGTB, i.e. completely negligible compared to the original 5-men EGTB. So there is no real excuse for not doing it, other than laziness. :wink:

One could of cause easily build such "3-other-men" EGTBs as separate TBs, each in a K, Q, k or q flavour, (depending on which castling is on the board in addition to the other 3 men), and then probe the appropriate one for the castling rights in existence. And similarly "2-other-man" for KQ and kq, and "1-other-man" for Kk, Kq, Qk and Qq, to supplement the"set of 5-men TBs (and with the number of other men correspondingly lowered to supplement 4-men and 3-men sets).
User avatar
Zach Wegner
Posts: 1922
Joined: Thu Mar 09, 2006 12:51 am
Location: Earth

Re: test position tablebase bug

Post by Zach Wegner »

Woudn't you need eight extra TBs, for the cases when both sides could castle? Though, for these cases they are equivalent in size to a 1 man TB...
User avatar
hgm
Posts: 28409
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: test position tablebase bug

Post by hgm »

Well, I guess that as supplement for the 5-men EGTBs KRRKR and KRKRR one indeed would have four 0-other-men EGTBs where three castlings are possible: KQk, KQq, Kkq and Qkq. Each of thos would contain only a sinle position.

Kkq would actually be won for the side with only one Rook, if he had the move. (And not by castling... :lol: )
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: test position tablebase bug

Post by bob »

hgm wrote:
genorb wrote:is this only a problem with 5-men tablebases?
Of course. Nalimov table-bases do not take castling into account (i.e., they tabulate only positions where no castling rights exist, even if the pieces on the board are positioned such that castling rights conceivably might exist). So the KRPKR EGTB lists the position after Rxb2 as a draw, which would have been correct if there were no castling rights. Getting the TB hit makes it not look any deeper.

So when castling rights exist, one should refrain from probing TBs, as you know for sure the position is not in there. Apparently Fruit probes TBs regardless of castling rights. This is the bug Uri refers to.

One might also argue that the bug is Nalimov's, for failing to take castling into account. Only a very minor fraction of the KRPKR positions can have castling rights, as you have to fix 2 of the 5 pieces. So to tabulate all positions with castling rights in KRPKR only takes the space of some four 3-men EGTB, i.e. completely negligible compared to the original 5-men EGTB. So there is no real excuse for not doing it, other than laziness. :wink:

One could of cause easily build such "3-other-men" EGTBs as separate TBs, each in a K, Q, k or q flavour, (depending on which castling is on the board in addition to the other 3 men), and then probe the appropriate one for the castling rights in existence. And similarly "2-other-man" for KQ and kq, and "1-other-man" for Kk, Kq, Qk and Qq, to supplement the"set of 5-men TBs (and with the number of other men correspondingly lowered to supplement 4-men and 3-men sets).
Or, one can just not probe if you have KRPKR, and one side still has castling rights left. If you just delay probing for a couple of plies only, in such cases, the problem goes away.

But realistically, I have _never_ seen a game where this was an issue. In fact, I have never seen a real game where 5 pieces were left (KRP vs KR) where one side could still castle...
Jim Walker
Posts: 436
Joined: Thu Mar 09, 2006 2:31 am

Re: test position tablebase bug

Post by Jim Walker »

Exactly ! People who worry about this kind of thing need to get a life.
Jim
nczempin

Re: test position tablebase bug

Post by nczempin »

Jim Walker wrote:Exactly ! People who worry about this kind of thing need to get a life.
Jim
But that could be said about the whole of computer chess.

:wink: