@
主循环移除动量突变规则,温度急变检测由机场高频循环独立承担 30 分钟主循环不再做 momentum_spike 检测,避免对机场城市产生 冗余告警(含市场分布/AI 建议的格式)。其余 47 城原本就没有 高频机场数据,动量检测也无实际意义。 Constraint: 其余 3 条规则(Ankara DEB、预报突破、暖平流)保持不变 Scope-risk: 低,仅影响主循环告警规则集 Tested: ruff check 通过 @
This commit is contained in:
@@ -1254,7 +1254,6 @@ def build_trading_alerts(
|
|||||||
|
|
||||||
rules: Dict[str, Dict[str, Any]] = {
|
rules: Dict[str, Dict[str, Any]] = {
|
||||||
"ankara_center_deb_hit": _calc_ankara_center_deb_alert(city_weather, temp_symbol),
|
"ankara_center_deb_hit": _calc_ankara_center_deb_alert(city_weather, temp_symbol),
|
||||||
"momentum_spike": _calc_momentum_alert(city_weather, temp_symbol),
|
|
||||||
"forecast_breakthrough": _calc_forecast_breakthrough_alert(city_weather, temp_symbol),
|
"forecast_breakthrough": _calc_forecast_breakthrough_alert(city_weather, temp_symbol),
|
||||||
"advection": _calc_advection_alert(city_weather, temp_symbol),
|
"advection": _calc_advection_alert(city_weather, temp_symbol),
|
||||||
"airport_rapid_temp_change": _calc_airport_rapid_temp_change(city_weather, temp_symbol),
|
"airport_rapid_temp_change": _calc_airport_rapid_temp_change(city_weather, temp_symbol),
|
||||||
|
|||||||
Reference in New Issue
Block a user