lewtun's picture
lewtun HF Staff
Publish IMO-ProofBench Harbor tasks (part 2)
10d6c29 verified
Raw History Blame Contribute Delete
518 Bytes
#!/bin/sh
# Reward measures structural submission validity only, not mathematical correctness.
# External rubric-guided LLM judging against reference.json awards 0–7 points.
# Offline, isolated Python; PROOF and VERIFIER_DIR allow 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"
printf '0\n' > "$VERIFIER_DIR/reward.txt"
python3 -I -S "$here/grade_task.py"