commit 0ced32687a9c472eff86209688c98b0601925290
parent c21550bc4f7a2529471fc549508ad5b118d09c7b
Author: MikoĊaj Lenczewski <mblenczewski@gmail.com>
Date: Fri, 3 Jan 2025 16:07:08 +0000
Update schedule to ignore python agent by default
Certain distributions package security configurations that block the
python agent from executing, causing it to die under the hex-server with
a permission error. Ignore it in the default tournament schedule.
Diffstat:
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/schedule.txt b/schedule.txt
@@ -5,14 +5,16 @@
#
# NOTE: lines starting with a '#' are ignored
-agents/example_python3_agent/agent.py,agents/example_python3_agent/run.sh
+# python agent might not work due to permission errors on some distros. feel
+# free to uncomment and test whether it works on your machine
+#agents/example_python3_agent/agent.py,agents/example_python3_agent/run.sh
-agents/example_c_agent/run.sh,agents/example_python3_agent/run.sh
+agents/example_c_agent/run.sh,agents/hexes/run-random.sh
-agents/example_cpp_agent/run.sh,agents/example_python3_agent/run.sh
+agents/example_cpp_agent/run.sh,agents/hexes/run-random.sh
# java agent requires at least 16 threads, even with the minimal JVM options,
# which means that --threads 16 must be passed to tournament-host.py
#agents/example_java_agent/run.sh,agents/example_python3_agent/run.sh
-agents/example_python3_agent/run.sh,agents/hexes/run.sh
+agents/hexes/run.sh,agents/hexes/run.sh
diff --git a/tournament-host.py b/tournament-host.py
@@ -122,7 +122,7 @@ async def tournament(args, schedule):
end = time.time()
- log(f'Finished tournament in {end - start:.03} seconds')
+ log(f'Finished tournament in {end - start:.03f} seconds')
return results