EGTB Testsuite

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

Moderators: hgm, Rebel, chrisw

User avatar
Mike S.
Posts: 1480
Joined: Thu Mar 09, 2006 5:33 am

Re: EGTB Testsuite

Post by Mike S. »

But basically, this is easy to tell without any specific test positions, because in a late endgame position (i.e. 8 or 7 pieces):

1. using an engine which does access Nalimovs will cause drive activity (HD or USB, most of these devices will tell it by drive LEDs flashing)

2. using an engine which does not access Nalimovs will not cause drive activity.

(I realise that it is more difficult to tell with bitbases)

Anyway, I have a good test position but only if you use 3- and 4-piece Nalimovs only:

[D]7k/4K1n1/8/6P1/8/3B4/8/8 w - - 0 1

This is a study by Sachodjakin. ONLY 1.Bg6 wins. Even with 3- and 4-piece tbs. present, many engines accessing them have trouble to realise that. But with 5-piece tbs., they will of course immediatly choose 1.Bg6. You could run multi-pv with 2 variations to see the difference clearly. - Attention: For that test, you need to switch off the GUI (interface) access for tablebases if available, like in Fritz. Because we want to know what the engines do (only), in this case.
Regards, Mike
User avatar
Kirill Kryukov
Posts: 492
Joined: Sun Mar 19, 2006 4:12 am

Re: EGTB Testsuite

Post by Kirill Kryukov »

Mike S. wrote:But basically, this is easy to tell without any specific test positions, because in a late endgame position (i.e. 8 or 7 pieces):

1. using an engine which does access Nalimovs will cause drive activity (HD or USB, most of these devices will tell it by drive LEDs flashing)

2. using an engine which does not access Nalimovs will not cause drive activity.

(I realise that it is more difficult to tell with bitbases)
Yes, it can be difficult with in-memory bitbases or when you run engine on a remote computer. Also engine may access other tables, you can't easily see whether it is accessing particular table or not. Also disk cache can hide disk access.
Mike S. wrote:Anyway, I have a good test position but only if you use 3- and 4-piece Nalimovs only:

[D]7k/4K1n1/8/6P1/8/3B4/8/8 w - - 0 1

This is a study by Sachodjakin. ONLY 1.Bg6 wins. Even with 3- and 4-piece tbs. present, many engines accessing them have trouble to realise that. But with 5-piece tbs., they will of course immediatly choose 1.Bg6. You could run multi-pv with 2 variations to see the difference clearly. - Attention: For that test, you need to switch off the GUI (interface) access for tablebases if available, like in Fritz. Because we want to know what the engines do (only), in this case.
Thanks, this is very nice! Not perfect unfortunately:

1. This position itself is contained in the table it is testing. So it does not test whether engine's search probes this table.

2. When I test with all 5-men tables except KBPKN, many engines can still find solution: Rybka 2.3.2a: 4 sec, Chess Tiger 2007.1: 4 sec, Aristarch 4.50: 5 sec, Crafty 21.5: 8 sec.

3. Some engines solve it quickly without using any tablebases: Movei 00.8.438: 1 sec, Glaurung 2.0.1: 2 sec, Chess Tiger 2007.1: 5 sec, Naum 2.0: 6 sec.

BTW I realize that it is very hard to find a good endgame test. May be it is not possible to find any meaningful number of such positions. If so then may be I will try to construct a simpler test-suite with more relaxed requirements.

Best,
Kirill
User avatar
Kirill Kryukov
Posts: 492
Joined: Sun Mar 19, 2006 4:12 am

Re: EGTB Testsuite

Post by Kirill Kryukov »

F. Bluemers wrote:using some tools you might relax on some conditions:
http://technet.microsoft.com/nl-nl/sysi ... n-us).aspx
Best
Fonzy
Which tool? Which condition? Thanks.
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: EGTB Testsuite

Post by Werner »

Hii Kirill,
to see whether a new engine is installed correctly and uses tbs or egbbs I normally use this position:
[D]4k3/4p3/8/8/3p4/8/4N3/4KB2 w - -

engines with egbbs responds with high value:
14/24 0:01 +52.51 1.Sxd4 Kd7 2.Ke2 Kd6 3.Kd3 Kd5 4.Ke3 e6 (1.683.792) 1

engines with egtbs in search responds with a mate score:
6.11 0:00 +M29 1.Sxd4 e5 2.Se6 Ke7 3.Lc4 (460) 46
Bester Zug: Se2xd4 Zeit: 0:00.625 min K/s: 46.000 Knoten: 460

and engines with no access with about +6:
Engine: Ktulu 8 (64 MB)
von Rahman Paidar
12.00 0:01 +6.97 1.Sxd4 e5 2.Sf5 e4 3.Lc4 e3 4.Ke2 Kd7 5.Ld5 Kc7 6.Le6 Kb6 7.Lc4 Kc7 8.Ld5 Kd7 9.La2 Kc7 10.Lf7 Kc6 (2.657.411) 1736
Werner
F. Bluemers
Posts: 868
Joined: Thu Mar 09, 2006 11:21 pm
Location: Nederland

Re: EGTB Testsuite

Post by F. Bluemers »

file mon and process monitor.
they will show you if and which (tb) files are accessed,and if its the engine or the gui accessing them.

Best
Fonzy
User avatar
smirobth
Posts: 2307
Joined: Wed Mar 08, 2006 8:41 pm
Location: Brownsville Texas USA

Re: EGTB Testsuite

Post by smirobth »

Here is a position that is solved instantly with the R+P vs R tablebase, but no programs solve it without them:

[D]k7/P6R/3K4/8/7P/2r5/8/8 w - - 0 1
Rh8+! is the only way to win.
- Robin Smith
User avatar
George Tsavdaris
Posts: 1627
Joined: Thu Mar 09, 2006 12:35 pm

Re: EGTB Testsuite

Post by George Tsavdaris »

smirobth wrote:Here is a position that is solved instantly with the R+P vs R tablebase, but no programs solve it without them:

[D]k7/P6R/3K4/8/7P/2r5/8/8 w - - 0 1
Rh8+! is the only way to win.
6 piece tablebases say that Rh6 and Rh5 are also ways to win....
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
User avatar
smirobth
Posts: 2307
Joined: Wed Mar 08, 2006 8:41 pm
Location: Brownsville Texas USA

Re: EGTB Testsuite

Post by smirobth »

George Tsavdaris wrote:
smirobth wrote:Here is a position that is solved instantly with the R+P vs R tablebase, but no programs solve it without them:

[D]k7/P6R/3K4/8/7P/2r5/8/8 w - - 0 1
Rh8+! is the only way to win.
6 piece tablebases say that Rh6 and Rh5 are also ways to win....
You are correct. I should have said that giving up the a-pawn is the only way to win (and that Rh8+ is the quickest). However without access to 5 man tablebases programs all hang on to the pawn and play moves like h5, which only draws.
- Robin Smith
User avatar
Kirill Kryukov
Posts: 492
Joined: Sun Mar 19, 2006 4:12 am

Re: EGTB Testsuite

Post by Kirill Kryukov »

F. Bluemers wrote:file mon and process monitor.
they will show you if and which (tb) files are accessed,and if its the engine or the gui accessing them.

Best
Fonzy
OK I see your idea now. That's great, but not what I am looking for here. I am looking for positions that will reveal whether an engine is using EGTB or not. Disk activity or access to the files are indirect evidence of EGTB usage. I want direct evidence in form of engine output.
User avatar
Kirill Kryukov
Posts: 492
Joined: Sun Mar 19, 2006 4:12 am

Re: EGTB Testsuite

Post by Kirill Kryukov »

Werner wrote:Hii Kirill,
to see whether a new engine is installed correctly and uses tbs or egbbs I normally use this position:
[D]4k3/4p3/8/8/3p4/8/4N3/4KB2 w - -

engines with egbbs responds with high value:
14/24 0:01 +52.51 1.Sxd4 Kd7 2.Ke2 Kd6 3.Kd3 Kd5 4.Ke3 e6 (1.683.792) 1

engines with egtbs in search responds with a mate score:
6.11 0:00 +M29 1.Sxd4 e5 2.Se6 Ke7 3.Lc4 (460) 46
Bester Zug: Se2xd4 Zeit: 0:00.625 min K/s: 46.000 Knoten: 460

and engines with no access with about +6:
Engine: Ktulu 8 (64 MB)
von Rahman Paidar
12.00 0:01 +6.97 1.Sxd4 e5 2.Sf5 e4 3.Lc4 e3 4.Ke2 Kd7 5.Ld5 Kc7 6.Le6 Kb6 7.Lc4 Kc7 8.Ld5 Kd7 9.La2 Kc7 10.Lf7 Kc6 (2.657.411) 1736
Hi Werner! Thanks for reply. This is nice, I also use similar positions for testing EGTB access:
[D]k6N/1p5B/7p/7p/7p/7p/7p/7K w - - 0 1
[D]k7/1p6/7p/7p/7p/7p/1P5p/1RK5 w - - 0 1
and variants with fewer pawns. :-)