Download task_017/tests/test.sh from Lego-X/UXInteract: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_017/tests/test.sh
- Command line
-
hf download hf://datasets/Lego-X/UXInteract/task_017/tests/test.sh
-
curl -L -o test.sh https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_017/tests/test.sh
408 Bytes
| set -uo pipefail | |
| bash /tests/review_legacy.sh | |
| CORE=$(cat /logs/verifier/reward.txt 2>/dev/null || echo 0) | |
| mkdir -p /logs/verifier | |
| node /tests/review_hard.js /app 2>&1 | tee /logs/verifier/review_hard.log | |
| RC=${PIPESTATUS[0]} | |
| if [ "$RC" -ne 0 ]; then echo "REVIEW_HARD failed with exit code $RC"; fi | |
| if [ "$RC" -eq 0 ]; then echo "$CORE"; else echo 0; fi > /logs/verifier/reward.txt | |
| exit 0 | |