| from pathlib import Path | |
| from harness import F | |
| from harness.F import run | |
| def test_results_default_under_root(): | |
| assert F.RESULTS_DIR == Path("/root/results/F") | |
| def test_perceived_layout_contains_every_input_axis(): | |
| assert run.results_dir_for( | |
| "perceived", "explicit", "metric", "tracking", "uniform", 32 | |
| ) == Path("/root/results/F/perceived/metric/tracking/uniform/32/explicit") | |
| def test_video_results_use_video_branch(): | |
| assert run.results_dir_for( | |
| "perceived", "explicit", "metric", "tracking", "video", None | |
| ) == Path("/root/results/F/perceived/metric/tracking/video/explicit") | |