"""Harness C supplies both visual input and explicit spatial code to the model. The visual input (sampled frames or video) and spatial-code source (frame-derived or video-derived) are configured independently. Changing one never changes the other. """ from __future__ import annotations import os from pathlib import Path from harness.A import ( DO_SAMPLE, FRAME_SELECTIONS, JSONL, MAX_NEW_TOKENS, MODEL_PATHS, TEMPERATURE, WORKSPACE_ROOT, ) from harness.B import ( DEFAULT_DEPTH, DEFAULT_INPUT_SELECTION, DEFAULT_SPATIAL_CODE_FORMAT, DEFAULT_TRACKING, DEPTH_VARIANTS, INPUT_SELECTIONS, TRACKING_MODES, ) assert INPUT_SELECTIONS == FRAME_SELECTIONS # one shared vocabulary drives both sources FRAMES_PER_VIDEO = int(os.environ.get("VSI_HARNESS_C_FRAMES_PER_VIDEO", "32")) # One JSON per question, matching harness.A/B's layout: # results/C//explicit///code/.../visual/...//.json RESULTS_DIR = Path(os.environ.get("VSI_HARNESS_C_RESULTS_DIR", "/root/results/C"))