Answers.Body: <p>You can't. That's how Stockfish internally works. You are going to need to check your previous line with the current line. If the current line has fewer moves, discard it.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-16T10:13:44.880Z
Answers.Text: Thanks, it was helpful : )
Answers.UserDisplayName: beginner
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-15T14:42:54.463Z
Answers.LastActivityDate: 2021-03-15T14:42:54.463Z
Answers.UserDisplayName: SmallChess
Answers.Body: <p>There's no setting to get Stockfish to display the next X moves. This is for technical reasons: when a search <a href="https://www.chessprogramming.org/Fail-High" rel="nofollow noreferrer">fails high</a> or fails low (see also <a href="https://www.chessprogramming.org/Aspiration_Windows" rel="nofollow noreferrer">aspiration window</a>), Stockfish doesn't know what the next X moves are going to be either, it just knows what the current best move it has found is.</p>
  <p>That said if you wait longer, Stockfish will eventually display a longer principal variation.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-16T10:13:23.060Z
Answers.Text: Thanks for your help:)
Answers.UserDisplayName: beginner
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-07T17:07:57.270Z
Answers.Text: "There's no setting to get Stockfish to display the next X moves....it just knows what the current best move it has found is." How do I get it only to show the one best move it has found?
Answers.UserDisplayName: lmat - Reinstate Monica
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-07T23:36:15.613Z
Answers.Text: @lmat-ReinstateMonica Set the number of principal variations to 1.
Answers.UserDisplayName: Allure
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-15T21:19:16.197Z
Answers.LastActivityDate: 2021-03-15T21:19:16.197Z
Answers.UserDisplayName: Allure
Body: <p>For Position <code>1r2k1r1/pq1b1p2/1p1Rp1p1/2p1P3/2B2P2/P1N1K1P1/1P2Q3/8 b - -</code></p>
  <p>stockfish analysis ouput is like</p>
  <pre><code>info depth 12 seldepth 17 multipv 1 score cp 258 nodes 80180 nps 76874 hashfull 14 tbhits 0 time 1043 pv b6b5 c3e4 b5c4 e4f6 e8f8 f6d7 f8g7 d7b8 g8b8 d6d2 b7b3 e3e4 c4c3 b2c3 b3a3 d2d3
  
  info depth 13 seldepth 22 multipv 1 score cp 130 nodes 122237 nps 81437 hashfull 25 tbhits 0 time 1501 pv b6b5 c4d3
  </code></pre>
  <p>As you can see stockfish only show 2 moves sequences for depth 13 <code>b6b5 c4d3</code>,</p>
  <p>Can I somehow force stockfish to show at least 5 moves sequences?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-03-15T15:38:01.290Z
Comments.Text: The only way to get a longer line from Stockfish is to wait. Basically if Stockfish shows such a short line it does not know itself how the line continues. But if you wait, eventually it will hopefully figure it out.
Comments.UserDisplayName: koedem
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-03-16T10:14:11.040Z
Comments.Text: @koedem Thanks for commenting:)
Comments.UserDisplayName: beginner
Tags: <engines><stockfish>
Title: Stockfish shows only 2 next moves
ThreadText: # Stockfish shows only 2 next moves
  
  (Asked by: username_0 on 2021-03-15)
  
  For Position `1r2k1r1/pq1b1p2/1p1Rp1p1/2p1P3/2B2P2/P1N1K1P1/1P2Q3/8 b - -`
  
  stockfish analysis ouput is like
  
  ```
  info depth 12 seldepth 17 multipv 1 score cp 258 nodes 80180 nps 76874 hashfull 14 tbhits 0 time 1043 pv b6b5 c3e4 b5c4 e4f6 e8f8 f6d7 f8g7 d7b8 g8b8 d6d2 b7b3 e3e4 c4c3 b2c3 b3a3 d2d3
  
  info depth 13 seldepth 22 multipv 1 score cp 130 nodes 122237 nps 81437 hashfull 25 tbhits 0 time 1501 pv b6b5 c4d3
  
  ```
  
  As you can see stockfish only show 2 moves sequences for depth 13 `b6b5 c4d3`,
  
  Can I somehow force stockfish to show at least 5 moves sequences?
  
  **Tags:** engines, stockfish
  
  > **Comments:**
  > **username_1**: The only way to get a longer line from Stockfish is to wait. Basically if Stockfish shows such a short line it does not know itself how the line continues. But if you wait, eventually it will hopefully figure it out.  
  > **username_0**: @username_1 Thanks for commenting:)  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2021-03-15. Score: 1 | Accepted answer
  
  You can't. That's how Stockfish internally works. You are going to need to check your previous line with the current line. If the current line has fewer moves, discard it.
  
  > **Comments:**
  > **username_0**: Thanks, it was helpful : )  
  
  ---
  
  ### Answer by username_3 on 2021-03-15. Score: 2
  
  There's no setting to get Stockfish to display the next X moves. This is for technical reasons: when a search [fails high](https://www.chessprogramming.org/Fail-High) or fails low (see also [aspiration window](https://www.chessprogramming.org/Aspiration_Windows)), Stockfish doesn't know what the next X moves are going to be either, it just knows what the current best move it has found is.
  
  That said if you wait longer, Stockfish will eventually display a longer principal variation.
  
  > **Comments:**
  > **username_0**: Thanks for your help:)  
  > **username_4**: "There's no setting to get Stockfish to display the next X moves....it just knows what the current best move it has found is." How do I get it only to show the one best move it has found?  
  > **username_3**: @username_4 Set the number of principal variations to 1.  
  
  ---
  
  