Conghao97's picture tcftrees's picture
ProgramGen release
d086025
Raw History Blame Contribute Delete
527 Bytes
#!/bin/bash
# Exact final-artifact admission self-check.
set -euo pipefail
HERE="$(cd "$(dirname "$0")/.." && pwd)"
bash "$HERE/environment/build_env.sh"
docker run --rm \
-v "$HERE/tests:/tests:ro" \
-v "$HERE/solution:/solution:ro" \
-w /workspace/repo \
programgen-forward/acefire6_1776_phx_events.8f63e89:eval bash -lc '
set -euo pipefail
bash /solution/solve.sh
bash /tests/test.sh
test "$(cat /logs/verifier/reward.txt)" = "1"
'
echo "self-check OK: exact eval image + oracle + verifier passed"