禁止回测引擎接入历史特征库
This commit is contained in:
@@ -79,6 +79,25 @@ if [[ -n "$fused_hits" ]]; then
|
|||||||
fail "exported fused tables are not allowed in fidc-backtest-engine runtime; use Strategy Factory Source Lake source rows directly" "$fused_hits"
|
fail "exported fused tables are not allowed in fidc-backtest-engine runtime; use Strategy Factory Source Lake source rows directly" "$fused_hits"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
feature_store_hits="$(
|
||||||
|
rg -n \
|
||||||
|
--glob '!**/.git/**' \
|
||||||
|
--glob '!**/target/**' \
|
||||||
|
--glob '!**/docs/**' \
|
||||||
|
--glob '!**/*.md' \
|
||||||
|
--glob '!**/tests/**' \
|
||||||
|
--glob '!**/*test*.rs' \
|
||||||
|
--glob '!crates/fidc-core/src/strategy_ai.rs' \
|
||||||
|
--glob '!scripts/verify-no-legacy-data-source.sh' \
|
||||||
|
'research_feature_store|feature_store|FEATURE_STORE|daily_minute_current|FIDC_STRATEGY_FACTORY_ENABLE_FEATURE_STORE_CACHE|ALPHA_FACTORY_ENABLE_FEATURE_STORE_CACHE|ENABLE_FEATURE_STORE_CACHE' \
|
||||||
|
crates Cargo.toml \
|
||||||
|
2>/dev/null || true
|
||||||
|
)"
|
||||||
|
|
||||||
|
if [[ -n "$feature_store_hits" ]]; then
|
||||||
|
fail "historical feature-store paths are not allowed in fidc-backtest-engine runtime; use Strategy Factory Source Lake raw/indicator/artifact partitions and discardable caches" "$feature_store_hits"
|
||||||
|
fi
|
||||||
|
|
||||||
truth_csv_hits="$(
|
truth_csv_hits="$(
|
||||||
rg -n \
|
rg -n \
|
||||||
--glob '!**/.git/**' \
|
--glob '!**/.git/**' \
|
||||||
|
|||||||
Reference in New Issue
Block a user