chess-tuning-tools icon indicating copy to clipboard operation
chess-tuning-tools copied to clipboard

Support stderrFile

Open thomasahle opened this issue 1 year ago • 1 comments

  • Chess Tuning Tools version: 0.9.3
  • Python version: 3.9
  • Operating System: Linux

Description

Cutechess-cli supports a json argument "stderrFile" which allows saving any errors output from the engine to a file. This is useful in debugging engines that crash during tuning.

What I Did

I tried to insert "stderrFile" in simple_tune.json like this:

    "engines": [
        {
            "command": "sunfish_lmr.py",
            "fixed_parameters": {},
            "stderrFile": "e1.err"
        },
        {
            "command": "sunfish_lmr.py",
            "fixed_parameters": {},
            "stderrFile": "e2.err"
        }
    ],

I hoped this would be transferred to the engines.json file created by tune, but it doesn't seem to be the case.

thomasahle avatar Jan 06 '23 08:01 thomasahle