static evals from list of FENs?
Moderators: hgm, Rebel, chrisw
-
- Posts: 349
- Joined: Sat Aug 06, 2016 8:31 pm
- Location: United States
static evals from list of FENs?
Is there a way to feed Stockfish (or any engine) a list/file of FENs and get back its static evaluations, perhaps via one of the GUIs?
-
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: static evals from list of FENs?
Stockfish 7 would output its static eval by the command eval.zenpawn wrote:Is there a way to feed Stockfish (or any engine) a list/file of FENs and get back its static evaluations, perhaps via one of the GUIs?
So this can be done easily by a script by executing the engine send the fen/epd issue the eval command and extract the total evaluation value.
Code: Select all
Stockfish 7 64 POPCNT by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
position startpos moves e2e4 c7c5 g1f3 d7d6
eval
Eval term | White | Black | Total
| MG EG | MG EG | MG EG
----------------+-------------+-------------+-------------
Material | --- --- | --- --- | 0.36 0.32
Imbalance | --- --- | --- --- | 0.00 0.00
Pawns | --- --- | --- --- | -0.16 -0.08
Knights | 0.06 0.00 | 0.12 0.00 | -0.06 0.00
Bishop | -0.12 -0.37 | -0.19 -0.37 | 0.06 0.00
Rooks | -0.19 0.00 | -0.27 0.00 | 0.09 0.00
Queens | 0.00 0.00 | 0.00 0.00 | 0.00 0.00
Mobility | -0.21 -0.17 | -0.23 -0.24 | 0.02 0.07
King safety | 0.89 -0.06 | 0.89 -0.06 | 0.00 0.00
Threats | 0.00 0.00 | 0.00 0.00 | 0.00 0.00
Passed pawns | 0.00 0.00 | 0.00 0.00 | 0.00 0.00
Space | 0.41 0.00 | 0.41 0.00 | 0.00 0.00
----------------+-------------+-------------+-------------
Total | --- --- | --- --- | 0.31 0.34
Total Evaluation: 0.39 (white side)
-
- Posts: 349
- Joined: Sat Aug 06, 2016 8:31 pm
- Location: United States
Re: static evals from list of FENs?
Yeah, that's always an option (writing it yourself), but figured it might already exist.