Answers.Body: <p>Common methods for engine annotation include a strict evaluation model or the expected points model.  In the strict evaluation model, engine annotations require user-defined parameters to classify inaccuracies, mistakes, and blunders using the strict difference in the evaluation between the move played and the engine's top choice.</p>
  <p>In the expected points model, the engine's evaluation is mapped to a function between 0 and 1, indicating the probability of win (or the expected score). Then the assessed move's expected points score is similarly compared to the engine's top choice.</p>
  <p><strong>Chess.com</strong>: Using Chess.com's <a href="https://support.chess.com/" rel="nofollow noreferrer">Knowledge Base</a>, the current documentation for <a href="https://support.chess.com/article/2965-how-are-moves-classified-what-is-a-blunder-or-brilliant-and-etc" rel="nofollow noreferrer">How are moves classified? What is a ‘Blunder’ or ‘Brilliant’ and etc?</a> shows moves are classified using a new system, <strong>ClassificationV2</strong>, which uses an expected points model instead of the previous strict evaluation differences.</p>
  <p>Chess.com is using the probability of a win evaluation and assessing the move's impact on that probability based on the following:</p>
  <ul>
  <li>Best: 0 ≤ change ≤ 0</li>
  <li>Excellent: 0 &lt; change ≤ 0.02</li>
  <li>Good: 0.02 &lt; change ≤ 0.05</li>
  <li>Inaccuracy: 0.05 &lt; change ≤ 0.10</li>
  <li>Mistake: 0.10 &lt; change ≤ 0.20</li>
  <li>Blunder: 0.20 &lt; change ≤ 1.00</li>
  </ul>
  <p>Chess.com labels a move as &quot;brilliant&quot; (!!) when it sacrifices a piece, is best or nearly best move in the position, does not result in you having a bad position, and where you would not be completely winning if you had not found the move. This is defined more generously for lower rated players and stricter for higher rated players.</p>
  <p><strong>Lichess.org</strong>:
  The <a href="https://lichess.org/page/accuracy" rel="nofollow noreferrer">documentation</a> for Lichess indicates that they also use their Win% and Accuracy% metrics &quot;<em>to identify inaccuracies/mistakes/blunders in game analysis</em>.&quot;</p>
  <p>Lichess definitions:</p>
  <ul>
  <li>&quot;<code>Accuracy%</code> represents how much you deviated from the best moves, i.e. how much your winning chances decreased with each move you made.&quot;</li>
  <li>&quot;<code>Win%</code> represents your chances of winning the game from a given position.&quot;</li>
  </ul>
  <p>Lichess first computes
  <code>Win% = 50 + 50 * (2 / (1 + exp(-0.00368208 * centipawns)) - 1)</code><br />
  which allows comparing <code>Win%</code> before and after each move.</p>
  <p>This enables the <code>Accuracy%</code> calculation.<br />
  <code>Accuracy% = 103.1668 * Math.exp(-0.04354 * (winPercentBefore - winPercentAfter)) - 3.1669</code></p>
  <p>Older Lichess forum posts (<a href="https://lichess.org/forum/general-chess-discussion/wth-is-this?page=3#24" rel="nofollow noreferrer">1</a>, <a href="https://lichess.org/forum/general-chess-discussion/what-is-the-difference-between-blunders-mistakes-and-inaccuracies-in-chess-mean?page=3" rel="nofollow noreferrer">2</a>) indicate previous strict evaluation differences such as</p>
  <ul>
  <li>Inaccuracy: 0.5 &lt; gap ≤ 1,</li>
  <li>Mistake: 1 &lt; gap ≤ 2, and</li>
  <li>Blunder: 2 &lt; gap,</li>
  </ul>
  <p>may have been previously used, but it seems this is no longer the case.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-20T12:48:41.420Z
Answers.Text: Why the downvote?  Did I misinterpret one of the sources?
Answers.UserDisplayName: SecretAgentMan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-20T13:27:28.980Z
Answers.Text: thanks a lot, very useful, let me think about it and read the reference and get back to you tomorrow. No idea who downvoted it.
Answers.UserDisplayName: Patola
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-16T19:44:01.270Z
Answers.Text: I'm still saying:
  
  We still need
Answers.UserDisplayName: Wassim Saeed
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-16T19:45:46.497Z
Answers.Text: We have amazing engines, but we do not have the right software to utilize their power.
Answers.UserDisplayName: Wassim Saeed
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-20T12:44:45.323Z
Answers.LastActivityDate: 2024-03-11T23:07:57.383Z
Answers.LastEditDate: 2024-03-11T23:07:57.383Z
Answers.UserDisplayName: SecretAgentMan
Body: <p>Stockfish provides the best moves/lines but is there a command or technique to get inaccuracies, mistakes and blunders? How is this done by lichess or chess.com?</p>
  <p>They also have the ability to show an evaluation chart throughout the game. Are they doing it iteratively move by move? Even in that case how can you categorize the moves as mistakes or blunders using Stockfish?</p>
  
Tags: <engines><stockfish><online-chess><computer-chess><annotation>
Title: Is there a way to get blunders, mistakes and inaccuracies using Stockfish?
ThreadText: # Is there a way to get blunders, mistakes and inaccuracies using Stockfish?
  
  (Asked by: username_0 on 2023-01-20)
  
  Stockfish provides the best moves/lines but is there a command or technique to get inaccuracies, mistakes and blunders? How is this done by lichess or chess.com?
  
  They also have the ability to show an evaluation chart throughout the game. Are they doing it iteratively move by move? Even in that case how can you categorize the moves as mistakes or blunders using Stockfish?
  
  **Tags:** engines, stockfish, online-chess, computer-chess, annotation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-01-20. Score: 8 | Accepted answer
  
  Common methods for engine annotation include a strict evaluation model or the expected points model. In the strict evaluation model, engine annotations require user-defined parameters to classify inaccuracies, mistakes, and blunders using the strict difference in the evaluation between the move played and the engine's top choice.
  
  In the expected points model, the engine's evaluation is mapped to a function between 0 and 1, indicating the probability of win (or the expected score). Then the assessed move's expected points score is similarly compared to the engine's top choice.
  
  **Chess.com**: Using Chess.com's [Knowledge Base](https://support.chess.com/), the current documentation for [How are moves classified? What is a ‘Blunder’ or ‘Brilliant’ and etc?](https://support.chess.com/article/2965-how-are-moves-classified-what-is-a-blunder-or-brilliant-and-etc) shows moves are classified using a new system, **ClassificationV2**, which uses an expected points model instead of the previous strict evaluation differences.
  
  Chess.com is using the probability of a win evaluation and assessing the move's impact on that probability based on the following:
  
  * Best: 0 ≤ change ≤ 0
  * Excellent: 0 < change ≤ 0.02
  * Good: 0.02 < change ≤ 0.05
  * Inaccuracy: 0.05 < change ≤ 0.10
  * Mistake: 0.10 < change ≤ 0.20
  * Blunder: 0.20 < change ≤ 1.00
  
  Chess.com labels a move as "brilliant" (!!) when it sacrifices a piece, is best or nearly best move in the position, does not result in you having a bad position, and where you would not be completely winning if you had not found the move. This is defined more generously for lower rated players and stricter for higher rated players.
  
  **Lichess.org**:
  The [documentation](https://lichess.org/page/accuracy) for Lichess indicates that they also use their Win% and Accuracy% metrics "*to identify inaccuracies/mistakes/blunders in game analysis*."
  
  Lichess definitions:
  
  * "`Accuracy%` represents how much you deviated from the best moves, i.e. how much your winning chances decreased with each move you made."
  * "`Win%` represents your chances of winning the game from a given position."
  
  Lichess first computes
  `Win% = 50 + 50 * (2 / (1 + exp(-0.00368208 * centipawns)) - 1)`  
  which allows comparing `Win%` before and after each move.
  
  This enables the `Accuracy%` calculation.  
  `Accuracy% = 103.1668 * Math.exp(-0.04354 * (winPercentBefore - winPercentAfter)) - 3.1669`
  
  Older Lichess forum posts ([1](https://lichess.org/forum/general-chess-discussion/wth-is-this?page=3#24), [2](https://lichess.org/forum/general-chess-discussion/what-is-the-difference-between-blunders-mistakes-and-inaccuracies-in-chess-mean?page=3)) indicate previous strict evaluation differences such as
  
  * Inaccuracy: 0.5 < gap ≤ 1,
  * Mistake: 1 < gap ≤ 2, and
  * Blunder: 2 < gap,
  
  may have been previously used, but it seems this is no longer the case.
  
  > **Comments:**
  > **username_1**: Why the downvote?  Did I misinterpret one of the sources?  
  > **username_0**: thanks a lot, very useful, let me think about it and read the reference and get back to you tomorrow. No idea who downvoted it.  
  > **username_2**: I'm still saying:  We still need  
  > **username_2**: We have amazing engines, but we do not have the right software to utilize their power.  
  
  ---
  
  