File size: 482 Bytes
10d6c29
706935f
 
10d6c29
 
 
 
706935f
 
1
2
3
4
5
6
7
8
9
10
#!/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"