Download task_032/tests/test.sh from Lego-X/UXInteract: direct link, hf CLI and curl.
- Browser
- Download file 501 Bytes
-
https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_032/tests/test.sh
- Command line
-
hf download hf://datasets/Lego-X/UXInteract/task_032/tests/test.sh
-
curl -L -o test.sh https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_032/tests/test.sh
501 Bytes
| set -uo pipefail | |
| TEST_DIR="$(cd "$(dirname "$0")" && pwd)" | |
| LOG_DIR=/logs/verifier | |
| mkdir -p "$LOG_DIR" 2>/dev/null || { LOG_DIR="$PWD/logs/verifier"; mkdir -p "$LOG_DIR"; } | |
| echo 0 > "$LOG_DIR/reward.txt" | |
| rm -f -- annotated_ocr.png ocr_results.json ocr_report.md | |
| if timeout 60s python3 solve.py && | |
| python3 "$TEST_DIR/validate_outputs.py" && | |
| python3 "$TEST_DIR/validate_enhancements.py" && | |
| node "$TEST_DIR/validate_aaav_dynamic.js"; then | |
| echo 1 > "$LOG_DIR/reward.txt" | |
| fi | |