#!/bin/sh # Harbor-native IMO-ProofBench verifier: structural validation + QED-Nano rubric LLM judge. # Isolated stdlib Python; PROOF and VERIFIER_DIR override paths for local verification. set -eu here=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) export TESTS_DIR="$here" PROOF="${PROOF:-/app/proof.md}" VERIFIER_DIR="${VERIFIER_DIR:-/logs/verifier}" mkdir -p "$VERIFIER_DIR" rm -f "$VERIFIER_DIR/reward.txt" "$VERIFIER_DIR/reward.json" exec python3 -B -I -S "$here/grade_task.py"