Detailed Stockfish Evaluatiion Function

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

Moderators: hgm, Rebel, chrisw

giovanni
Posts: 142
Joined: Wed Jul 08, 2015 12:30 pm

Detailed Stockfish Evaluatiion Function

Post by giovanni »

Stockfish contains the nice 'eval' command that prints out the detailed score of its static evaluation function. It regards Mobility, Material, Bishop, Rooks, etc. I was wondering if there was any possibility to get even more detailed scores, like, for example the one provided by the
Bishop xray attack function, that counts the number of attacks on square by bishop. For instance,in this position it should output 12 for white and 4 for black.

[d]rnbqkbnr/pppppppp/8/8/3P4/1P3P2/PP3PPP/RNBQKBNR b KQkq d3 0 1

Ideally, I would like to get all these high-granularity scores. Details about the stockfish evaluation function are found here:
https://hxim.github.io/Stockfish-Evaluation-Guide/