kiudee / chess-tuning-tools

A collection of scripts aimed at efficiently tuning chess engine parameters.
https://chess-tuning-tools.readthedocs.io/en/latest/
Other
52 stars 13 forks source link

Send "uci" before sending parameters #121

Closed kiudee closed 3 years ago

kiudee commented 3 years ago

The initStrings by cutechess are sent before uci has been sent to the engine. For some engines this can be problematic, if they only begin to parse input after uci is sent. This should be easy to fix, by letting the first initString be uci: https://github.com/kiudee/chess-tuning-tools/blob/a41079b2b782148103bc46e89984e138d9c7c708/tune/io.py#L204-L209