Answers.Body: <p>What about?</p>
  
  <p><a href="https://i.sstatic.net/QG1B2.png" rel="noreferrer"><img src="https://i.sstatic.net/QG1B2.png" alt="enter image description here"></a></p>
  
  <p>The <code>eval</code> command will do what you want. However, it's not useful for chess learning. They are just static evaluations. What you're after is more like extracting features from the analysis. Stockfish doesn't have it.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-22T13:17:39.427Z
Answers.Text: Interesting. By the way, if you want to set a position just use the command "position fen fen_code_for_position"
Answers.UserDisplayName: emdio
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-23T04:56:28.520Z
Answers.Text: Thanks for this. I'm wondering if this could have some use in a statistical analysis of a player's moves. Say you compare the subject player's move in a given position with Stockfish's move and find that the player's move makes his king safer than his opponent's, but gives his opponent a better "passer" score. Over a large number of moves, maybe you could determine that the player over-values some things and under-values other things?
Answers.UserDisplayName: DATACOMMANDER
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-22T12:55:33.453Z
Answers.LastActivityDate: 2020-03-22T12:55:33.453Z
Answers.UserDisplayName: SmallChess
Answers.Body: <p>If you go to <a href="https://hxim.github.io/Stockfish-Evaluation-Guide/" rel="nofollow noreferrer">this page</a> and enter a position, you can click the links on the left (or the "table" and "graph" tabs on the top) to see the sub-scores for Stockfish.</p>
  
  <p>Note that this is a static evaluation that does not look ahead. If you want to use it, you should look at the line Stockfish gives you, and enter the position at the <em>end</em> of that line.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-22T05:03:09.883Z
Answers.Text: Thanks, this is helpful. I'll see if I can figure out how to pull this information from Stockfish programmatically.
Answers.UserDisplayName: DATACOMMANDER
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-22T04:45:14.677Z
Answers.LastActivityDate: 2020-03-22T04:55:52.237Z
Answers.LastEditDate: 2020-03-22T04:55:52.237Z
Answers.UserDisplayName: D M
Body: <p>Does anyone know of an engine that gives "sub-scores" (e.g., for material, king safety, space, activity) in addition to its total evaluation? Lots of people have wished over the years that engines could help players understand why their moves are bad, and although having access to sub-scores wouldn't be a total solution, it might help. Even if the engine doesn't output these scores directly, if they're part of the evaluation--and if the engine is open-source--a sufficiently interested user might be able to make use of them.</p>
  
  <p>Of course, I'm assuming that something like a "sub-score" is part of some modern engine's evaluation function. They could all be too advanced and/or non-linear for that now.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-22T04:39:36.863Z
Comments.Text: There's a tool that showed all the sub-scores for Stockfish that I linked on another answer, but I just checked and the link died. I wonder if I can find it elsewhere.
Comments.UserDisplayName: D M
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-22T04:42:13.670Z
Comments.Text: That would be awesome! Thanks for checking.
Comments.UserDisplayName: DATACOMMANDER
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-22T13:26:38.300Z
Comments.Text: This is not exactly what you are looking for, but you might be interested in this very good site as it might meet your underlying goal of having things explained: https://decodechess.com/ . You can open a free account, and try it out, and if you use it a lot, sign up for a premium membership.
Comments.UserDisplayName: PhishMaster
Tags: <engines>
Title: Is it possible to extract "sub-scores" from an engine's evaluation?
ThreadText: # Is it possible to extract "sub-scores" from an engine's evaluation?
  
  (Asked by: username_0 on 2020-03-22)
  
  Does anyone know of an engine that gives "sub-scores" (e.g., for material, king safety, space, activity) in addition to its total evaluation? Lots of people have wished over the years that engines could help players understand why their moves are bad, and although having access to sub-scores wouldn't be a total solution, it might help. Even if the engine doesn't output these scores directly, if they're part of the evaluation--and if the engine is open-source--a sufficiently interested user might be able to make use of them.
  
  Of course, I'm assuming that something like a "sub-score" is part of some modern engine's evaluation function. They could all be too advanced and/or non-linear for that now.
  
  **Tags:** engines
  
  > **Comments:**
  > **username_1**: There's a tool that showed all the sub-scores for Stockfish that I linked on another answer, but I just checked and the link died. I wonder if I can find it elsewhere.  
  > **username_0**: That would be awesome! Thanks for checking.  
  > **username_2**: This is not exactly what you are looking for, but you might be interested in this very good site as it might meet your underlying goal of having things explained: https://decodechess.com/ . You can open a free account, and try it out, and if you use it a lot, sign up for a premium membership.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2020-03-22. Score: 6 | Accepted answer
  
  What about?
  
  [![enter image description here](https://i.sstatic.net/QG1B2.png)](https://i.sstatic.net/QG1B2.png)
  
  The `eval` command will do what you want. However, it's not useful for chess learning. They are just static evaluations. What you're after is more like extracting features from the analysis. Stockfish doesn't have it.
  
  > **Comments:**
  > **username_4**: Interesting. By the way, if you want to set a position just use the command "position fen fen_code_for_position"  
  > **username_0**: Thanks for this. I'm wondering if this could have some use in a statistical analysis of a player's moves. Say you compare the subject player's move in a given position with Stockfish's move and find that the player's move makes his king safer than his opponent's, but gives his opponent a better "passer" score. Over a large number of moves, maybe you could determine that the player over-values some things and under-values other things?  
  
  ---
  
  ### Answer by username_1 on 2020-03-22. Score: 2
  
  If you go to [this page](https://hxim.github.io/Stockfish-Evaluation-Guide/) and enter a position, you can click the links on the left (or the "table" and "graph" tabs on the top) to see the sub-scores for Stockfish.
  
  Note that this is a static evaluation that does not look ahead. If you want to use it, you should look at the line Stockfish gives you, and enter the position at the *end* of that line.
  
  > **Comments:**
  > **username_0**: Thanks, this is helpful. I'll see if I can figure out how to pull this information from Stockfish programmatically.  
  
  ---
  
  