Skip to content

cutechess doesn't send null string in engine options #663

@voyag

Description

@voyag

`

stockfish_210226(0): setoption name Analysis Contempt value Both
stockfish_210226(0): setoption name Contempt value 24
stockfish_210226(0): setoption name Debug Log File
stockfish_210226(0): setoption name EvalFile value nn-62ef826d1a6d.nnue
stockfish_210226(0): setoption name Hash value 16
stockfish_210226(0): setoption name Move Overhead value 10
stockfish_210226(0): setoption name MultiPV value 1
stockfish_210226(0): setoption name Skill Level value 20
stockfish_210226(0): setoption name Slow Mover value 100
stockfish_210226(0): setoption name Syzygy50MoveRule value true
stockfish_210226(0): setoption name SyzygyPath
stockfish_210226(0): setoption name SyzygyProbeDepth value 1
stockfish_210226(0): setoption name SyzygyProbeLimit value 7
stockfish_210226(0): setoption name Threads value 1
stockfish_210226(0): setoption name UCI_Elo value 1350
stockfish_210226(0): setoption name UCI_LimitStrength value false
stockfish_210226(0): setoption name Use NNUE value true
stockfish_210226(0): setoption name nodestime value 0
`

This is the initialization log of an engine the string options with string "" doesn't have "value".
For example
setoption name Debug Log File
should be
setoption name Debug Log File value
the engines usually expect the "value" to detect the new initialization even if it is empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions