UXInteract / task_025 /tests /validate_outputs.py
DojiSum's picture
Publish the current 141-task UXInteract release
ef987bb verified
Raw History Blame Contribute Delete
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"