Download task_035/tests/validate_outputs.py from Lego-X/UXInteract: direct link, hf CLI and curl.
- Browser
- Download file 259 Bytes
-
https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_035/tests/validate_outputs.py
- Command line
-
hf download hf://datasets/Lego-X/UXInteract/task_035/tests/validate_outputs.py
-
curl -L -o validate_outputs.py https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_035/tests/validate_outputs.py
259 Bytes
| """The enhanced validator independently recomputes the optimum; check presence here.""" | |
| from pathlib import Path | |
| for name in ('threshold_report.txt', 'threshold_metrics.json'): | |
| assert Path(name).is_file() and Path(name).stat().st_size, f'missing {name}' | |