diff --git a/infra/k8s/argo/alpha-rl-template.yaml b/infra/k8s/argo/alpha-rl-template.yaml index 7c868aad4..3c61f315c 100644 --- a/infra/k8s/argo/alpha-rl-template.yaml +++ b/infra/k8s/argo/alpha-rl-template.yaml @@ -373,7 +373,11 @@ spec: BIN="/data/bin/$SHA/alpha_rl_train" MBP10_DIR="/data/futures-baseline-mbp10/ES.FUT" PREDECODED_DIR="/feature-cache/predecoded" - OUT_DIR="/feature-cache/alpha-rl-runs/$SHA" + # Per-fold output dir so concurrent multi-fold G8 submissions + # don't clobber each other's eval_summary.json. Single-fold + # smokes (n_folds=1) still land under the SHA dir directly + # since fold_idx=0 → suffix "fold0". + OUT_DIR="/feature-cache/alpha-rl-runs/$SHA/fold{{workflow.parameters.fold-idx}}" mkdir -p "$OUT_DIR" "$PREDECODED_DIR" if [ ! -x "$BIN" ]; then