Download tasks/t07-remake-reference/tests/test.sh from refreshdotdev/Refresh-GUI-dataset: direct link, hf CLI and curl.
- Browser
- Download file 688 Bytes
-
https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/t07-remake-reference/tests/test.sh
- Command line
-
hf download hf://datasets/refreshdotdev/Refresh-GUI-dataset/tasks/t07-remake-reference/tests/test.sh
-
curl -L -o test.sh https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/t07-remake-reference/tests/test.sh
688 Bytes
| # Grading dependencies are installed before the trial, never fetched here. | |
| set -u | |
| mkdir -p /logs/verifier/artifacts | |
| rm -f /logs/verifier/reward.txt | |
| cp -f /root/Desktop/final.mp4 /logs/verifier/artifacts/ 2>/dev/null || true | |
| cp -f /root/edit/project.mlt /logs/verifier/artifacts/ 2>/dev/null || true | |
| python3 -m pytest --ctrf /logs/verifier/ctrf.json /tests/test_outputs.py -rA | |
| pytest_status=$? | |
| # Partial-credit pytest failures are normal. Infrastructure failures must not | |
| # be disguised as a normal score of zero. | |
| if [ ! -s /logs/verifier/reward.txt ]; then | |
| echo "Verifier error: no valid reward was produced; inspect verifier.json" >&2 | |
| exit 2 | |
| fi | |
| exit "$pytest_status" | |