Download tasks/t19-blender-rig-full/tests/test.sh from refreshdotdev/Refresh-GUI-dataset: direct link, hf CLI and curl.
- Browser
- Download file 836 Bytes
-
https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/t19-blender-rig-full/tests/test.sh
- Command line
-
hf download hf://datasets/refreshdotdev/Refresh-GUI-dataset/tasks/t19-blender-rig-full/tests/test.sh
-
curl -L -o test.sh https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/t19-blender-rig-full/tests/test.sh
836 Bytes
| set -uo pipefail | |
| mkdir -p /logs/verifier/artifacts | |
| rm -f /logs/verifier/reward.txt /logs/verifier/reward.json | |
| # Harness stops the learner before collection. Never kill GUI apps globally. | |
| submission=$(mktemp -d /tmp/t19-submission.XXXXXX) || exit 1 | |
| trap 'rm -rf "$submission"' EXIT | |
| for file in straight.blend curved.blend straight.mp4 curved.mp4; do | |
| cp -f "/root/rig/$file" "$submission/$file" 2>/dev/null || true | |
| done | |
| cp -a "$submission/." /logs/verifier/artifacts/ | |
| cp -f /logs/artifacts/recordings.jsonl /logs/verifier/artifacts/ 2>/dev/null || true | |
| export T19_SUBMISSION_DIR="$submission" | |
| python3 -m pytest --ctrf /logs/verifier/ctrf.json /tests/test_outputs.py -rA | |
| status=$? | |
| if [ "$status" -ne 0 ] || [ ! -s /logs/verifier/reward.txt ]; then | |
| echo 'T19 verifier error: reward absent; retry or review.' >&2 | |
| exit 1 | |
| fi | |