#!/bin/bash #SBATCH --job-name=challenge #SBATCH --time=5:00 # Comparator challenge files and build configuration are unchanged (upstream's challenge-files.yml): the approved # checks/challenge.py compares the pushed commit ($SS_INPUT) with what checks/frozen.json records of the approved # version, and looks through its Lean source for sorry, admit, axiom and the like. It reads files only and runs nothing # from the commit. The job's working directory is the approved version, so a branch that edits checks/ changes nothing # about its own verdict. set -euo pipefail python3 -I checks/challenge.py "$SS_INPUT" checks/frozen.json