general-bots-training/competition/run.sh
2026-08-08 21:25:35 +02:00

8 lines
387 B
Shell
Executable file

#!/usr/bin/env bash
set -euo pipefail
# Competition entrypoint. The sandbox runs `run.sh` from the submission root;
# cd to our own directory so relative paths work regardless of the cwd.
# `python` is the sandbox's CPython 3.12 with jax/numpy pre-installed; equinox
# and its deps are installed by build.sh from wheelhouse/.
cd "$(dirname "$0")"
exec python -u competition.py model.eqx