Closed borg323 closed 1 year ago
I believe I tested everything which is supposed to be tested, which includes
go nodes
, go ponder
, ponderhit
, go infinite
, go movetime
with --contempt-mode=play
go nodes
, go ponder
, ponderhit
, go infinite
with contempt mode white_side_analysis
and black_side_analysis
disable
disable
contempt != 0
and play
go ponder
and ponderhit
WDL_mu
is functional with --contempt-mode=disable
I didn't find any unintended behaviour, so this is funtionally ready for merge.
Makes sure play contempt mode is never used inside the search, it is switched to white/black depending on the first move side, same in normal searches, flipped when pondering or disabled in infinite search. For infinite search there is a warning if contempt would have an effect. In addition there is a fix for a preexisting wdl display bug, w and l were swapped while pondering. Also some cleanups.