LeelaChessZero / lc0

The rewritten engine, originally for tensorflow. Now all other backends have been ported here.
GNU General Public License v3.0
2.36k stars 519 forks source link

ValueOnly mode could report some UCI info #2038

Open dje-dev opened 1 month ago

dje-dev commented 1 month ago

Currently ValueOnly mode returns a UCI info string which only has depth. However it would be meaningful and useful to see value score, etc. Also this would fix the problem that some tournament managers support adjudication by mutual agreement of obvious win/loss and therefore need to see this score from both engines.

Currently output looks like this:

setoption name ValueOnly value true
ucinewgame
go nodes 1
info depth 1
bestmove e2e4

but it could instead be similar to a policy-only search such as:

info depth 1 seldepth 1 time 12 nodes 1 score cp 7 tbhits 0 pv e2e4