Spaces:
Running on Zero
Running on Zero
Download test_phase2_4_final.py from vish07anth/ATA: direct link, hf CLI and curl.
- Browser
- Download file 672 Bytes
-
https://huggingface.co/spaces/vish07anth/ATA/resolve/main/test_phase2_4_final.py
- Command line
-
hf download hf://spaces/vish07anth/ATA/test_phase2_4_final.py
-
curl -L -o test_phase2_4_final.py https://huggingface.co/spaces/vish07anth/ATA/resolve/main/test_phase2_4_final.py
672 Bytes
| from pathlib import Path | |
| from run_system import ROOT | |
| from src.integration.sumo_decision_controller import ( | |
| EMERGENCY_SUMO_CONFIG, | |
| SUMO_CONFIG, | |
| Phase2SUMOController, | |
| ) | |
| def test_canonical_runtime_and_scenarios_exist(): | |
| assert Path(SUMO_CONFIG).exists() | |
| assert Path(EMERGENCY_SUMO_CONFIG).exists() | |
| assert Phase2SUMOController.__module__.endswith( | |
| "integration.sumo_decision_controller" | |
| ) | |
| assert ROOT.exists() | |
| def test_final_output_contract_is_project_relative(): | |
| assert not str(ROOT).startswith("E:") | |
| assert (ROOT / "src" / "integration" / "emergency.py").exists() | |
| assert (ROOT / "docs" / "FINAL_SYSTEM.md").exists() | |