From dc8c8fb897ac943aed15cff31f3ddce6acdf5afb Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Fri, 3 Apr 2026 19:05:23 +0200 Subject: [PATCH] fix: Argo precompute uses --symbol filter (no double-nested data-dir) Previously appended /${SYMBOL} to data-dir AND passed --symbol, causing double nesting. Now data-dir stays as-is and --symbol handles filtering via collect_dbn_files_filtered. Co-Authored-By: Claude Opus 4.6 (1M context) --- infra/k8s/argo/precompute-features-template.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/k8s/argo/precompute-features-template.yaml b/infra/k8s/argo/precompute-features-template.yaml index d5e378da5..b8ef7e4d6 100644 --- a/infra/k8s/argo/precompute-features-template.yaml +++ b/infra/k8s/argo/precompute-features-template.yaml @@ -87,8 +87,8 @@ spec: chmod +x "$BINARY" SYMBOL="{{inputs.parameters.symbol}}" - # Use symbol subdir — must match train_baseline_rl's load_all_bars(data_dir, symbol) - DATA_DIR="{{inputs.parameters.data-dir}}/${SYMBOL}" + # --symbol flag filters to the correct subdirectory (collect_dbn_files_filtered) + DATA_DIR="{{inputs.parameters.data-dir}}" MBP10_DIR="{{inputs.parameters.mbp10-dir}}" TRADES_DIR="{{inputs.parameters.trades-dir}}" OUTPUT_DIR="{{inputs.parameters.output-dir}}"