#!/bin/bash #SBATCH --job-name=verify #SBATCH --time=5:00 # Judge the certificates in the pushed route's folder with the approved checks/verify.py, in exact integer arithmetic. # The job's working directory is the approved version of the project, so a route that edits checks/ changes nothing # about its own verdict; only the route's files come from the pushed commit ($SS_INPUT). set -euo pipefail python3 checks/verify.py "$SS_INPUT/${SS_ROUTE_DIR:-.}"