#!/bin/bash #SBATCH --job-name=circuit #SBATCH --time=30:00 # Judge the circuits (.ckt) and lower-bound proofs (.gt.lrat) directly in the pushed route's folder. # # This script and the checker it runs come from the approved version of the project (the checkout the runner laid down # at the job's working directory); only the route's files come from the pushed commit ($SS_INPUT). A route that edits # checks/ therefore changes nothing about its own verdict. Standard library only: python:3.12-slim, no network. set -euo pipefail REPO="$(cd "$(dirname "$0")" && pwd)" python3 -I "$REPO/checks/verify.py" "$SS_INPUT/${SS_ROUTE_DIR:-.}"