Download task_039/tests/test.sh from Lego-X/UXInteract: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_039/tests/test.sh
- Command line
-
hf download hf://datasets/Lego-X/UXInteract/task_039/tests/test.sh
-
curl -L -o test.sh https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_039/tests/test.sh
399 Bytes
| set +e | |
| T="$(cd "$(dirname "$0")" && pwd)"; R=/logs/verifier; mkdir -p "$R"; p=1 | |
| command -v go >/dev/null 2>&1 || p=0 | |
| [ "$p" = 1 ] && timeout 120s go test ./... || p=0 | |
| for c in ENHANCED_CASE_1 ENHANCED_CASE_2 ENHANCED_CASE_3 ENHANCED_CASE_4 ENHANCED_CASE_5; do [ "$p" = 1 ] && timeout 60s bash "$T/validate_enhanced_cases.sh" "$c" || p=0; done | |
| echo "$p" > "$R/reward.txt"; exit 0 | |