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

Raise an error for unknown UCI options #153

Closed kiudee closed 3 years ago

kiudee commented 3 years ago

If an engine receives a UCI option, which it does not know (which can often happen if there is a type somewhere), then it usually emits an error like:

error Unknown option: ThisIsAnUnknownUCIOption

This is very likely not what the user intended and the tuner should at the very least log a warning, if not terminating immediately.

kiudee commented 3 years ago

It is probably worthwhile to go over all different warnings/errors cutechess-cli outputs like:

Warning: Could not initialize player engine1: Chess protocol was not started in time