Skip to content

uci: Add support for WDL in info lines - #51

Merged
CorentinGS merged 1 commit into
CorentinGS:mainfrom
mikeb26:wdl
Jul 11, 2025
Merged

uci: Add support for WDL in info lines#51
CorentinGS merged 1 commit into
CorentinGS:mainfrom
mikeb26:wdl

Conversation

@mikeb26

@mikeb26 mikeb26 commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

When UCI_ShowWDL is set, stockfish will additionally include win, loss, and draw probability values in its info evaluation lines. This commit augments uci.Info.UnmarshalText() to parse this information when available and store it within uci.Score.

(cherry picked from commit b83ccd91734a89169f21ab360d0e9a4d6df5342f) (cherry picked from commit 846a689bd70341e7a680c6446baeafa34ab78402)

When UCI_ShowWDL is set, stockfish will additionally include win,
loss, and draw probability values in its info evaluation lines. This
commit augments uci.Info.UnmarshalText() to parse this information when
available and store it within uci.Score.

(cherry picked from commit b83ccd91734a89169f21ab360d0e9a4d6df5342f)
(cherry picked from commit 846a689bd70341e7a680c6446baeafa34ab78402)
@CorentinGS
CorentinGS merged commit b810f27 into CorentinGS:main Jul 11, 2025
6 checks passed
@mikeb26
mikeb26 deleted the wdl branch July 11, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants