feat: new cockpit
This commit is contained in:
@@ -624,13 +624,19 @@ GEO_PATTERNS = [
|
||||
|
||||
|
||||
GEOPOLITICAL_RISK_WEIGHTS = {
|
||||
"military": 0.25,
|
||||
"energy": 0.20,
|
||||
"trade_war": 0.15,
|
||||
"political_speech": 0.15,
|
||||
"natural_disaster": 0.10,
|
||||
"health_crisis": 0.10,
|
||||
"resource_scarcity": 0.05,
|
||||
# Covers every category classify_news() can produce (data_fetcher.py GEO_KEYWORDS + "general"
|
||||
# fallback) — previously "sanctions", "elections" and "general" were silently excluded from the
|
||||
# aggregate score even when individually AI-scored high.
|
||||
"military": 0.20,
|
||||
"energy": 0.15,
|
||||
"political_speech": 0.12,
|
||||
"sanctions": 0.10,
|
||||
"trade_war": 0.10,
|
||||
"elections": 0.08,
|
||||
"natural_disaster": 0.08,
|
||||
"health_crisis": 0.08,
|
||||
"resource_scarcity": 0.04,
|
||||
"general": 0.05,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user