Expand description
Run-slot enumeration for a condition cell.
A condition directory holds either a single run directly (the legacy flat
layout: eval-<id>/<cond>/run.json) or N nested runs under 1-based
run-<k> subdirectories (eval-<id>/<cond>/run-2/run.json). Stages that
walk the workspace by convention enumerate slots through run_slots so
both layouts — including a mix across cells within one iteration — read the
same way.
Structs§
- RunSlot
- One run’s artifact directory within a condition cell.
Functions§
- run_key
- The lookup key for a run within the iteration:
<eval_id>:<condition>, with a:r<k>suffix for indexed runs in a multi-run cell. - run_
slots - Enumerate the run slots of
cond_dir: itsrun-<k>subdirectories sorted numerically when any exist, otherwisecond_diritself as the single legacy slot. Existence checks stay with the caller — a nonexistentcond_dirstill yields the legacy slot.