Critter - looking at static evaluation

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

Moderator: Ras

User avatar
rvida
Posts: 481
Joined: Thu Apr 16, 2009 12:00 pm
Location: Slovakia, EU

Critter - looking at static evaluation

Post by rvida »

Hi,

recently I answered a lot of questions about why Critter gives a too high or too low score in a given position. Why not ask the engine itself? ;)
Every version of Critter has a built-in undocumented command for displaying a summary of evaluation terms.

Just run the engine in console mode and type something like this:

Code: Select all

position fen r3r1k1/1bqn1pp1/p1pb3p/3p4/Pp1P4/1P1NPN1P/1BR2PP1/1QR3K1 w - -
eval
Answer from the engine will look like this:

Code: Select all

             | Score | White     Mg     Eg | Black     Mg     Eg
-------------+-------+---------------------+--------------------
    material | -0.13 |+32.19 +31.21 +40.88 |-32.33 -31.36 -40.93
        pawn | +0.33 | -0.44  -0.40  -0.83 | +0.78  +0.76  +1.02
      knight | +0.45 | +0.56  +0.57  +0.46 | -0.10  -0.10  -0.14
      bishop | -0.01 | -0.11  -0.11  -0.13 | +0.10  +0.09  +0.16
        rook | +0.11 | +0.50  +0.50  +0.57 | -0.39  -0.37  -0.52
       queen | -0.17 | -0.07  -0.07  -0.05 | -0.10  -0.10  -0.07
        king | +0.00 | +0.33  +0.43  -0.50 | -0.33  -0.43  +0.50
passed pawns | +0.00 | +0.00  +0.00  +0.00 | +0.00  +0.00  +0.00
 development | -0.01 | +0.13  +0.15  +0.00 | -0.15  -0.17  +0.00
-------------+-------+---------------------+--------------------
       total | +0.56 |+33.11 +32.29 +40.39 |-32.55 -31.71 -39.98
  mtrl bonus | -0.52 |
 final score | +0.03 | (Mg:  89% , Eg:  11%)
All scores are from whites perspective.

In some endgames (e.g. 8/5KQ1/8/8/8/8/2pk4/8 w - -) it will not show this table, just the final score and a message saying "evaluated by endgame knowledge"

Hope this will be useful.

Richard
FlavusSnow
Posts: 89
Joined: Thu Apr 01, 2010 5:28 am
Location: Omaha, NE

Re: Critter - looking at static evaluation

Post by FlavusSnow »

Richard,
Do you plan to release Linux compiles? I know there is probably not much demand, but there are still a few of us die-hards out there.

Also, would CPU time help your project in anyway? I have some relatively idle hardware (I operate Singularity(C) on FICS with it) that could be more available for testing if you'd think it would be of any help. Granted without Linux support, I could only offer to test 32-bit compiles. As a byproduct of my general engine matches, I end up with a pretty good test of opening books too (although I'm not familiar with the .CBK format, I'm sure I'd learn pretty fast once I started using it).

-James
Engin
Posts: 1000
Joined: Mon Jan 05, 2009 7:40 pm
Location: Germany
Full name: Engin Üstün

Re: Critter - looking at static evaluation

Post by Engin »

Hi Richard,

nice feature, can you tell us what is more posible on console mode, i tryed with perft works too, but if i wrote "help" its dont display his commands available, its display only "unknown command"

is there benchmark implementation too ?