When using SF with the command-line and entering a FEN like: [d]1q3k2/3p3p/8/8/8/4PB2/3PNKP1/8, typing
Code: Select all
evalCode: Select all
Eval term | White | Black | Total
| MG EG | MG EG | MG EG
---------------------+-------------+-------------+---------------
Material, PST, Tempo | --- --- | --- --- | -3.23 -2.53
Material imbalance | --- --- | --- --- | -0.17 -0.17
Pawns | --- --- | --- --- | 0.19 0.17
Knights | -0.04 -0.06 | 0.00 0.00 | -0.04 -0.06
Bishops | 0.02 0.00 | 0.00 0.00 | +0.02 +0.00
Rooks | 0.00 0.00 | 0.00 0.00 | +0.00 +0.00
Queens | 0.00 0.00 | 0.00 0.00 | +0.00 +0.00
Mobility | 0.60 0.62 | 0.14 0.28 | +0.45 +0.34
King safety | 0.42 -0.08 | -0.19 -0.16 | +0.61 +0.08
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.00 0.00 | 0.00 0.00 | +0.00 +0.00
---------------------+-------------+-------------+---------------
Total | --- --- | --- --- | -2.31 -2.26
Scaling: 0.78% MG, 99.22% * 100.00% EG.
Total evaluation: -2.26
However I do not understand the last 2 lines. I do not understand anything from the penultimate line; it looks like it wants to calculate whether the position is a middle game or end game or somewhere in between using, I am guessing from what I've read so far, a linear interpolation based on non-pawn material. But still with this in mind I do not understand it. I'd appreciate if someone could shred some light here. (1)
About the last line, it seems that from it I can determine that SF thinks it's 100% end game, because the eval is -2.26 which corresponds exactly to the EG eval showed at line
Code: Select all
Total | --- --- | --- --- | -2.31 -2.26 But what does eval mean? It is not the evaluation returned when you type
Code: Select all
go movetime 10000Lastly, I would like to know whether the raw numbers in the table are used in stockfish's code and where (what file) just for fun. (4) Also, how are they calculated? For example is the value of the white knight calculated via the NPSQT? (5)
Thank you guys.
P.S.:I posted this question here as suggested there: http://support.stockfishchess.org/.