From c4e27d393f74eaf94e4c8861a956ac844f40b1c2 Mon Sep 17 00:00:00 2001 From: andrew Date: Tue, 28 Nov 2023 09:17:00 -0500 Subject: [PATCH] Include engine name in PGN --- Client/worker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Client/worker.py b/Client/worker.py index f41eacf..25a1e2f 100644 --- a/Client/worker.py +++ b/Client/worker.py @@ -462,6 +462,7 @@ class Cutechess: options = config.workload['test'][branch]['options'] network = config.workload['test'][branch]['network'] private = config.workload['test'][branch]['private'] + engine = config.workload['test'][branch]['engine'] syzygy = config.workload['test']['syzygy_wdl'] # Human-readable name, and scale the time control @@ -488,7 +489,7 @@ class Cutechess: # Join options together in the Cutechess format options = ' option.'.join([''] + re.findall(r'"[^"]*"|\S+', options)) - return '-engine dir=Engines/ cmd=./%s proto=uci %s%s name=%s' % (command, control, options, branch) + return '-engine dir=Engines/ cmd=./%s proto=uci %s%s name=%s-%s' % (command, control, options, engine, branch) @staticmethod def pgnout_settings(config, timestamp, cutechess_idx):