From 8543c3ab6d894af4d4cb62683ea12c9de223f59c Mon Sep 17 00:00:00 2001 From: boris Date: Sun, 5 Jul 2026 07:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E7=B4=A7=E5=9B=9E=E6=B5=8B=E5=BC=95?= =?UTF-8?q?=E6=93=8E=E6=97=A7=E6=95=B0=E6=8D=AE=E6=BA=90=E6=89=AB=E6=8F=8F?= =?UTF-8?q?=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/verify-no-legacy-data-source.sh | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/scripts/verify-no-legacy-data-source.sh b/scripts/verify-no-legacy-data-source.sh index 631653a..cb01d78 100755 --- a/scripts/verify-no-legacy-data-source.sh +++ b/scripts/verify-no-legacy-data-source.sh @@ -21,7 +21,8 @@ runtime_hits="$( --glob '!**/docs/**' \ --glob '!**/*.md' \ --glob '!**/tests/**' \ - --glob '!**/*test*.rs' \ + --glob '!**/*.test.rs' \ + --glob '!**/*_test.rs' \ --glob '!crates/fidc-core/src/strategy_ai.rs' \ --glob '!scripts/verify-no-legacy-data-source.sh' \ 'fidatacenter|FIDATACENTER|/v1/backtest/data|/v1/xuntou|ClickHouse|clickhouse|CLICKHOUSE|FIDC_BT_INSTRUMENT_METADATA_CSV|FIDC_BT_WRITE_SNAPSHOTS|FIDC_BT_WRITE_CSV_SNAPSHOTS|FIDC_BT_WRITE_COMBINED_SOURCE_ROW_CACHE|write_csv_snapshot_files|write_csv\(|FIDC_RISK_RUNTIME_FILE|FIDC_RISK_RUNTIME_URL|FIDC_FIRISK_RUNTIME_FILE|FiRisk runtime snapshot' \ @@ -48,7 +49,8 @@ local_only_hits="$( --glob '!**/docs/**' \ --glob '!**/*.md' \ --glob '!**/tests/**' \ - --glob '!**/*test*.rs' \ + --glob '!**/*.test.rs' \ + --glob '!**/*_test.rs' \ --glob '!crates/fidc-core/src/strategy_ai.rs' \ --glob '!scripts/verify-no-legacy-data-source.sh' \ 'FICLAW_DATA_AGENT_URL|ficlaw_data\.source_rows_v1|strategy-factory-source-lake://local|FIDC_BT_WRITE_COMBINED_SOURCE_ROW_CACHE' \ @@ -67,7 +69,8 @@ json_query_hits="$( --glob '!**/docs/**' \ --glob '!**/*.md' \ --glob '!**/tests/**' \ - --glob '!**/*test*.rs' \ + --glob '!**/*.test.rs' \ + --glob '!**/*_test.rs' \ --glob '!crates/fidc-core/src/strategy_ai.rs' \ --glob '!scripts/verify-no-legacy-data-source.sh' \ '/v1/query/(source-rows|daily-execution-prices|minute-execution-prices|instruments|corporate-actions)\.json' \ @@ -86,7 +89,8 @@ fused_hits="$( --glob '!**/docs/**' \ --glob '!**/*.md' \ --glob '!**/tests/**' \ - --glob '!**/*test*.rs' \ + --glob '!**/*.test.rs' \ + --glob '!**/*_test.rs' \ --glob '!crates/fidc-core/src/strategy_ai.rs' \ --glob '!scripts/verify-no-legacy-data-source.sh' \ 'exported_fused|fidc_fused|fusion|fused|wide_table|wide table|source_rows_export|exported_daily|merged_daily|daily_merged|merged_source|materialized[_ -]source|materialized_source_rows|source_rows_materialized|融合表|融合宽表' \ @@ -105,7 +109,8 @@ feature_store_hits="$( --glob '!**/docs/**' \ --glob '!**/*.md' \ --glob '!**/tests/**' \ - --glob '!**/*test*.rs' \ + --glob '!**/*.test.rs' \ + --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' \ @@ -124,7 +129,8 @@ truth_csv_hits="$( --glob '!**/docs/**' \ --glob '!**/*.md' \ --glob '!**/tests/**' \ - --glob '!**/*test*.rs' \ + --glob '!**/*.test.rs' \ + --glob '!**/*_test.rs' \ --glob '!crates/fidc-core/src/strategy_ai.rs' \ --glob '!scripts/verify-no-legacy-data-source.sh' \ 'FIDC_BT_TRUTH_STOCK_LIST_CSV|OMNI_BT_TRUTH_STOCK_LIST_CSV|OMNI_BACKTEST_TRUTH_STOCK_LIST_CSV|selection_source=truth_csv|truth_stock_list|truth_csv' \ @@ -143,7 +149,8 @@ csv_snapshot_loader_hits="$( --glob '!**/docs/**' \ --glob '!**/*.md' \ --glob '!**/tests/**' \ - --glob '!**/*test*.rs' \ + --glob '!**/*.test.rs' \ + --glob '!**/*_test.rs' \ --glob '!scripts/verify-no-legacy-data-source.sh' \ 'from_csv_dir|from_partitioned_dir|instruments\.csv|candidate_flags\.csv|market\.csv|benchmark\.csv' \ crates Cargo.toml \