user24079: I am having trouble understanding how "upperbound` and "lowerbound" come into play in the UCI protocol.
The spec says:


lowerbound: the score is just a lower bound.
upperbound: the score is just an upper bound.


For example, I see Stockfish using it like this.
info depth 22 seldepth 27 multipv 1 score cp 27 upperbound nodes 2567224

I kind of understand that it is related to the "cp." But I don't really know how. Could someone help me clarify this? It would be best if you used an example.

user-1: It is a type of info which an engine can produce during the search, mainly targeted at developers. It means that at that depth stockfish (believes to) have established, that the score it at least 27 centipawns. Stockfish uses some variation of aspiration search and this variant can produce such intermediate results. An engine like Leela Zero uses a different algorithm and therefore never bother the users with such infos.
If you are only interested in chess contents, you can completely ignore that output.

24079: <p>I am having trouble understanding how &quot;upperbound` and &quot;lowerbound&quot; come into play in the UCI protocol.</p>
<p>The spec says:</p>
<blockquote>
<ul>
<li>lowerbound: the score is just a lower bound.</li>
<li>upperbound: the score is just an upper bound.</li>
</ul>
</blockquote>
<p>For example, I see Stockfish using it like this.</p>
<pre><code>info depth 22 seldepth 27 multipv 1 score cp 27 upperbound nodes 2567224
</code></pre>
<p>I kind of understand that it is related to the &quot;cp.&quot; But I don't really know how. Could someone help me clarify this? It would be best if you used an example.</p>
 -1: <p>It is a type of info which an engine can produce <em>during</em> the search, mainly targeted at developers. It means that at that depth stockfish (believes to) have established, that the score it at least 27 centipawns. <a href="https://www.chessprogramming.org/Stockfish" rel="nofollow noreferrer">Stockfish</a> uses some variation of <a href="https://www.chessprogramming.org/Aspiration_Windows" rel="nofollow noreferrer">aspiration search</a> and this variant can produce such intermediate results. An engine like <a href="https://lczero.org/" rel="nofollow noreferrer">Leela Zero</a> uses a different algorithm and therefore never bother the users with such infos.</p>
<p>If you are only interested in chess contents, you can completely ignore that output.</p>
