From 34b2d34d7c8e3c6fea7c2df22ab285c9cac8fa07 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Tue, 31 Mar 2026 09:27:06 +0200 Subject: [PATCH] fix: auto-detect test_data/futures-baseline/ES.FUT for smoke tests Add futures-baseline/ to the auto-detection search paths so smoke tests work without FOXHUNT_TEST_DATA env var. All 11 smoke tests pass on RTX 3050 Ti (960s, Sharpe 7.76). Co-Authored-By: Claude Opus 4.6 (1M context) --- crates/ml/src/trainers/dqn/smoke_tests/helpers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ml/src/trainers/dqn/smoke_tests/helpers.rs b/crates/ml/src/trainers/dqn/smoke_tests/helpers.rs index dfd342656..04dfdf4be 100644 --- a/crates/ml/src/trainers/dqn/smoke_tests/helpers.rs +++ b/crates/ml/src/trainers/dqn/smoke_tests/helpers.rs @@ -100,7 +100,7 @@ pub(super) fn test_data_dir() -> Option { .and_then(|p| p.parent()) // repo root .unwrap_or(std::path::Path::new("../..")); let test_data = workspace.join("test_data"); - for sub in &["ES.FUT", "ohlcv/ES.FUT"] { + for sub in &["futures-baseline/ES.FUT", "ES.FUT", "ohlcv/ES.FUT"] { let candidate = test_data.join(sub); if candidate.exists() { return Some(candidate.to_string_lossy().into_owned());