would be possible to interface cutechess-cli directly with CLOP ?
Currently some glue script is needed, but actually the so called DummyScript.py just parses the calling arguments with the parameters to tune, calls the match manager (for instance cutechess-cli) and reports back the match result in a way compatible with CLOP.
I am wondering about CLOP calling directly cuechess-cli with the CLOP parameters. Among these parameters there is one called "processor id" and can be used as a pointer to a cutechess JSON conf file with all the necessary configurations. All the others are the paremeter-value pair to be passed to the engines by the means of a UCI option.
Code: Select all
Arguments are:
#1: processor id (symbolic name, typically a machine name to ssh to)
#2: seed (integer)
#3: parameter id of first parameter (symbolic name)
#4: value of first parameter (float)
#5: parameter id of second parameter (optional)
#6: value of second parameter (optional)
...
This would be very useful so that any engine author that wants to try CLOP doesn't have to reinvent the wheel writing up yet another glue script.
What do you think ?
Marco
P.S: Perhaps another possibility is to write a clop_to_cute.py script that does the above, is distributed with cutechess-cli and is written once and for all.