清理最后一批 Polymarket 注释+死代码 WeatherDecisionBand
This commit is contained in:
@@ -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,4 +1,4 @@
|
||||
# Polymarket 城市温度市场 - 数据偏差风险档案
|
||||
# 城市温度市场 - 数据偏差风险档案
|
||||
# 基于 METAR 机场站与市区实际温度的系统性差异
|
||||
|
||||
from src.data_collection.city_registry import CITY_REGISTRY
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user