Download task_025/tests/validate_outputs.py from Lego-X/UXInteract: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_025/tests/validate_outputs.py
- Command line
-
hf download hf://datasets/Lego-X/UXInteract/task_025/tests/validate_outputs.py
-
curl -L -o validate_outputs.py https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_025/tests/validate_outputs.py
348 Bytes
| from pathlib import Path | |
| from validate_enhancement import case_complete_2007_json_slice | |
| case_complete_2007_json_slice() | |
| report = Path("report.html").read_text(encoding="utf-8").lower() | |
| assert "2007" in report, "report missing 2007 analysis" | |
| assert "gdp" in report and ("life" in report or "预期" in report), "report missing GDP/life analysis" | |