DojiSum's picture
Publish the current 141-task UXInteract release
ef987bb verified
Raw History Blame Contribute Delete
307 Bytes
#!/usr/bin/env bash
set +e
T="$(cd "$(dirname "$0")" && pwd)"; R=/logs/verifier; mkdir -p "$R"; p=1
command -v python3 >/dev/null 2>&1 || p=0
[ "$p" = 1 ] && python3 "$T/validate_outputs.py" || p=0
[ "$p" = 1 ] && timeout 20s python3 "$T/validate_enhancements.py" || p=0
echo "$p" > "$R/reward.txt"; exit 0