清理最后一批 Polymarket 注释+死代码 WeatherDecisionBand

This commit is contained in:
2569718930@qq.com
2026-05-25 20:53:03 +08:00
parent 11a901d22e
commit 7b8826dfa1
13 changed files with 328 additions and 112 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ CITY_REGISTRY = {
"risk_emoji": "🟡",
"airport_name": "流浮山天文台站",
"distance_km": 0.0,
"warning": "香港天文台流浮山站分钟级观测,Polymarket 深圳温度市场结算源;非机场 METAR,不可与 ZGSZ/VHHH 报文混用。",
"warning": "香港天文台流浮山站分钟级观测,深圳温度市场结算源;非机场 METAR,不可与 ZGSZ/VHHH 报文混用。",
},
"taipei": {
"name": "Taipei",
+1 -1
View File
@@ -1,4 +1,4 @@
# Polymarket 城市温度市场 - 数据偏差风险档案
# 城市温度市场 - 数据偏差风险档案
# 基于 METAR 机场站与市区实际温度的系统性差异
from src.data_collection.city_registry import CITY_REGISTRY
+2 -2
View File
@@ -37,7 +37,7 @@ class WeatherDataCollector(OpenMeteoCacheMixin, SettlementSourceMixin, MetarSour
- NWS (US National Weather Service)
- MGM (Turkish Meteorological Service)
- JMA / HKO / CWA (country official networks)
- Polymarket (weather derivative markets)
- Weather derivative markets
"""
from src.data_collection.city_registry import CITY_REGISTRY
@@ -612,7 +612,7 @@ class WeatherDataCollector(OpenMeteoCacheMixin, SettlementSourceMixin, MetarSour
def extract_city_from_question(self, question: str) -> Optional[str]:
"""
Polymarket 问题描述或 Slug 中提取城市名称
市场问题描述或 Slug 中提取城市名称
"""
q = question.lower()