Computer Chess Club Archives


Search

Terms

Messages

Subject: Book Openings Test (Larry Kaufman)

Author: Dana Turnmire

Date: 03:17:13 05/11/01


BOOK OPENINGS TEST  (Larry Kaufman)

There are many ways to evaluate chess programs.  They can be played against each
other, played against human opponents, or tested on problem sets.  In this
article I will introduce yet another way to evaluate chess programs.  The basic
idea is to compare the program's choice of move to the choices made by masters
over the years.
  Here is my procedure:  I first selected eight of the most popular openings
from master play.  Then, using a large database of master games, I followed each
opening down the path seen most frequently at each move in the database.  The
line was terminated when the sample of remaining games dropped below one
hundred.  Next, each move in each line which was played at least 75% of the time
but was not an obviously forced recapture was presumed to be the best move at
that point and was marked as a problem.  This produced a set of exactly one
hundred problems from opening play in which there exists a best move in the
opinion of at least 75% of masters reaching those exact positions in their own
games.
  The method of testing a program is simple.  First, turn off its opening book
and put it on analyze mode, or else on infinite level and monitor mode, which is
pretty much the same thing.  Then, play through the opening line until a problem
position is reached, let the program think two minutes and record whether or not
the correct move is played, enter the correct move and continue to enter moves
until the next problem in the line is encountered, and repeat the procedure.
When each opening line is completed, reset for new game and go to the next
opening line.  The score is simply the number of correct moves out of the one
hundred total.
  The eight openings I selected were the Ruy Lopez, the Sicilian with 2 Nf3 d6,
the Winawer French, the Caro-Kann with 3 Nc3, the Slav defense to the Queen's
Gambit, the Nimzoindian defense, the King's Indian defense, and the Gruenfeld
defense.
  Of course it must be remembered that this test deals only with how well a
program plays the opening without benefit of an opening book.  It may be argued
that since programs do in fact play with opening books this ability is not
crucial in actual practice.  On the other hand, the ability to find the best
opening moves without a book is an excelent indication of the overall strategic
and tactical abilities of the program.
  The lines tested were as follows (moves in parenthesis are positions to be
tested by the program).

  In the Ruy Lopez:  1 e4 e5 2Nf3 Nc6 3 Bb5 (a6) 4 (Ba4) (Nf6) 5 (0-0) Be7 6
(Re1) (b5) 7 Bb3 0-0 8 (c3) (d6) 9 (h3) Na5 10 (Bc2) (c5) 11 (d4) Qc7 12 (Nbd2)
cd 13 cd Nc6 14 Nb3 (a5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 6 bc3 (Bg7)
7 Bc4 c5 8 (Ne2) Nc6 9 (Be3) (0-0) 10 (0-0) Bg4 11 (f3) (Na5) 12 Bd3 (cd) 13
(cd) (Be6) 14 Rc1 (Ba2) 15 (Qa4) (Be6).





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.