GET /api/intelligence/v1/get-risk-scores
(proto worldmonitor.intelligence.v1.GetRiskScoresResponse).
These weights are editorial — authored by the WorldMonitor intelligence
team based on internal review of historical incidents and current geopolitical
posture. They are not derived from a published academic index, a
peer-reviewed paper, or a third-party risk product. Treat the scores as
opinionated, not empirical. The point of this note is to make the
opinions inspectable so downstream consumers can decide whether they
agree.
The on-the-wire methodology_version field on every CiiScore reflects
which revision of this document was active when the score was computed.
The current version is v8.
v8 (2026-06-06). Fixed dead UCDP conflict-floor attribution. The server scorer read non-existentintensity_level/type_of_violencefields from the cachedconflict:ucdp-events:v1feed (whose rows actually carryviolenceType/deathsBest/dateStart), so UCDP never applied its war (floor 70) / minor (floor 50) score floor and never counted toward/api/health.riskScoresrealtime signal coverage. UCDP is now classified per country over a 2-year trailing window (war when total deaths > 1000 or event count > 100; minor when event count > 10), matching the frontendderiveUcdpClassificationsheuristic. The classifier is configured for that 2-year window, but the Redis writers currently fetch the newest six UCDP pages and retain at most 2,000 mapped events from a 365-day trailing slice. The relay/ucdp-eventsreader can fetch up to 12 pages, but it applies the same 365-day filter. Live scoring is therefore seed-input-bounded until UCDP retention is widened with production API-volume and Redis-payload safeguards. The health coverage metric’s conflict family is now satisfied by EITHER the ACLED API path OR UCDP, so a thin/empty ACLED window no longer flips health toCOVERAGE_PARTIALwhile UCDP is healthy. See Country Instability Index for the current ACLED-or-UCDP health coverage semantics.combinedScorevalues rise for active UCDP conflict countries (e.g. UA/PK/MX gain a war floor); the risk-score cache key family moved torisk:scores:sebuf:v8and emittedmethodology_versionis nowv8, so clients pinned onmethodology_versionshould re-baseline.
v8 amendment (2026-06-07). Source discovery and observability were
clarified without changing scoring coefficients, CII formula version, or
risk:scores:sebuf:v8 cache keys. The UCDP seeder now prefers the newest GED
release that returns events instead of stopping at the first responding
version (#4200), and
the CII refresh path warns when ACLED returns zero events for both comparison
windows so operators can distinguish a quiet feed from an auth/upstream gap.
v7 (2026-06-06). Score attribution changed for the second CII gap-closure batch. Coordinate attribution now handles three-way bbox overlaps before pairwise border rules, so Punggye-ri resolves to KP instead of CN and Lublin resolves to PL instead of UA; the seed mirror uses the same resolver. Targeted rectangular-bbox probes were added for Lhasa, Gaziantep, Kermanshah, Quetta, Islamabad, Dammam, Tabuk, Ruili, Belogorsk, north Hokkaido, and Amman. Climate anomaly boosts now cover the producer-emittedEurope,East Asia, andLatin Americazones, restoring boost coverage for KP/KR/JP/PL/DE/FR/GB/VE, and unknown future zone names can fall back through anomaly coordinates when present.combinedScorevalues can shift where affected records were previously attributed to the wrong country or ignored. The risk-score cache key family moved torisk:scores:sebuf:v7; clients pinned onmethodology_versionshould re-baseline. Remaining coordinate attribution is still a rectangular approximation, not full point-in-polygon border geometry.
v6 (2026-06-06). Score attribution changed for country text, coordinate, and climate anomaly inputs. Text attribution now recognizesnorth koreanas KP andtaiwaneseas TW while still rejecting ambiguous barekorean. Coordinate attribution keeps the seed and server in parity for high-value overlap zones: Rio Grande US/MX border segments, the western Korean DMZ, RU/UA, IN/PK, CN/RU and RU/JP. Climate anomaly boosts now consume the zone names emitted by the climate producer (Ukraine,California,Amazon,Taiwan Strait,Caribbean, etc.) and map enum severities into the numeric boost scale.combinedScorevalues can shift where affected military, fire, GPS, earthquake, news, or climate records were previously attributed to the wrong country or ignored. The risk-score cache key family moved torisk:scores:sebuf:v6; clients pinned onmethodology_versionshould re-baseline.
v5 (2026-06-06).dynamicScoreis now a signed movement delta in the range-100..100, derived from a valid CII snapshot from approximately 24 hours earlier. Positive values mean the country score rose, negative values mean it fell, and0means stable or no valid prior snapshot. The server trend label uses a strict one-point deadband: whole-point score changes of+1or-1remain stable, while+2and-2are the first rising/falling labels. The browser fallback uses the same trend deadband.combinedScorecoefficients are unchanged by this bump, but API clients that previously treateddynamicScoreas a non-negative live score should re-baseline.
v4 (2026-06-06). Attribution and source-input semantics changed while keeping the published coefficient table intact. Country text attribution now uses normalized token exact-match / phrase matching instead of raw substring matches, coordinate attribution routes known bounding-box overlaps through explicit border heuristics, the earthquake seed uses the USGS 4.5-week (4.5_week) feed, and sanctions scoring reads the full country-count map fromsanctions:country-counts:v1instead of relying on the top-pressure display list.combinedScorevalues can shift where these sources previously misattributed or omitted country pressure; clients pinned onmethodology_versionshould re-baseline.
v3 (2026-05-27). Conflict event activity now uses a log-scaled curve before the final component cap (cap = 70,pivot = 4000), replacing the earlier linear early cap that could compress moderate and extreme political-violence volumes into the same component value. The browser-side legacy CII path now uses the same displacement log-ramp as the server (100K ≈ +4,500K ≈ +10,1M ≈ +12,5M ≈ +18,10M+ = +20) instead of the old two-tier+4/+8boost. Browser news-alert pressure is no longer multiplied by per-countryeventMultiplier; it remains an Information component signal, not a country-tuned proxy for domestic instability. Clients pinned onmethodology_versionshould re-baseline.
Implementation note (2026-05-27).baselineRiskandeventMultipliernow come from one shared coefficient table used by both the server and frontend. This resolves the 7-country drift tracked in #3789 by keeping the previously published server/API values for AF, EG, IQ, JP, KR, LB and QA. Frontend client-side CII rendering now uses those same values. Server/API values were unchanged by this refactor — the v3 bump above is from the calibration changes, not this source-of-truth move.
v2 (2026-05-22). TheSecuritycomponent is no longer GPS-jamming-only — it now scores military flights, military vessels and aviation disruptions alongside GPS jamming (issue #3738). The composite blend gainsnewsUrgencyBoost,earthquakeBoost,sanctionsBoostand an AIS-disruption boost, andcyberBoost/fireBoostare now severity-weighted rather than raw counts.combinedScorevalues shift accordingly — clients pinned onmethodology_versionshould re-baseline.
Heads up — score contract changes. Any edit that changes server/API per-country baselines, event multipliers, strategic-risk roll-up coefficients, inline server formula literals, guarded top-level formula constants, or CII movement semantics MUST come with a bump ofCII_FORMULA_VERSIONinserver/worldmonitor/intelligence/v1/_risk-config.ts, an update to this document in the same commit, and a public CHANGELOG entry. Source-of-truth refactors that preserve server/API scores do not bump the wire version. Tests intests/cii-scoring.test.mtsenforce that this document lists every country code inCURATED_COUNTRIES.
1. The four CII components
Each Tier-1 country gets four sub-scores in the0–100 range. These are
exposed on the wire as CiiComponents:
| Wire field | Editorial meaning |
|---|---|
cii_contribution (Unrest) | Civil disorder pressure: ACLED protests + riots, fatalities from those events, confirmed internet/power outages, and a high-severity unrest boost. Reflects pre-violent friction. |
geo_convergence (Conflict) | Kinetic activity: ACLED battles, explosions/remote violence, and violence-against-civilians events, plus Iran-region strike intensity and Israel OREF alert pressure. Event activity is log-scaled before the component cap so moderate and extreme event volumes remain ordered; square-root fatality scaling prevents single-event saturation. |
military_activity (Security) | Hard-security tempo near the country: military flight activity, military vessel activity, aviation disruptions (closures/delays), and GPS-jamming hex density. Foreign military presence is weighted ×2. |
news_activity (Information) | Information-environment pressure: weighted count of classified critical/high/medium news headlines geo-attributed to the country. |
combinedScore:
- Unrest severity boost: high-severity ACLED unrest events (for example,
riots) add
min(20, highSeverityUnrest * 10 * eventMultiplier)inside the Unrest component. - Conflict civilian boost: violence-against-civilians events add
min(10, civilianViolence * 3)after the log-scaled conflict activity and fatality terms. - Iran-region strike boost: geocoded Iran-event strikes, or title/location
fallback matches from the same feed, add
min(50, iranStrikes * 3 + highSeverityStrikes * 5)inside the Conflict component. High and critical severity strikes therefore count twice: once in the per-strike term and once in the high-severity term. This feed is a theatre-intensity input, not a full armed-conflict casualty source; ACLED and UCDP remain the general conflict anchors. - Conflict OREF boost: for Israel only, active OREF rocket-alert pressure
adds
25 + min(25, activeAlertCount * 5)inside the Conflict component, so the component-level OREF contribution is capped at+50. This is separate from the compositeorefBlendBoostterm listed above, which is also Israel only and capped at+25. - Information severity handling: classified top stories use weights
critical = 4,high = 2,medium/elevated = 1,moderate/low = 0.5, andinfo = 0. The per-country threat-summary feed usescritical = 4,high = 2,medium = 1,low = 0.5, andinfo = 0, with that threat-summary sub-score capped at20; the combined Information component is capped at100.
composite is then clamped to [floor, 100] where floor is the larger of:
- UCDP floor: 70 if a UCDP war-level event is active, 50 if a minor conflict-level event is active, else 0.
- State Department advisory floor: 60 for “do not travel”, 50 for “reconsider travel”, else 0.
advisoryBoost before the floor is applied:
+15 for “do not travel”, +10 for “reconsider travel”, and +5 for
“caution”. The server first uses the live intelligence:advisories:v1
byCountry level when available. If no live level is present for a tracked
country, it may apply the embedded State Department fallback table in
server/worldmonitor/intelligence/v1/get-risk-scores.ts. Each CiiScore
therefore exposes:
| Wire field | Values | Meaning |
|---|---|---|
advisory_level / advisoryLevel | do-not-travel, reconsider, caution, or empty | Advisory level used for score boosts/floors, if any. |
advisory_provenance / advisoryProvenance | live, fallback, absent | Whether advisory_level came from the live seeded advisory feed, the embedded fallback table, or no advisory input. |
Advisory fallback table
When the live security-advisory feed has no current level for a Tier-1 country, the scorer applies a curated fallback level before computing bothadvisoryBoost and the advisory score floor. Live feed data wins whenever it is
present; the fallback is not an additional consensus bonus.
| Code | Country | Fallback level | Score effect when live level is absent |
|---|---|---|---|
AF | Afghanistan | Do not travel | advisoryBoost +15; floor 60 |
MM | Myanmar | Do not travel | advisoryBoost +15; floor 60 |
SY | Syria | Do not travel | advisoryBoost +15; floor 60 |
UA | Ukraine | Do not travel | advisoryBoost +15; floor 60 |
YE | Yemen | Do not travel | advisoryBoost +15; floor 60 |
CU | Cuba | Reconsider | advisoryBoost +10; floor 50 |
IL | Israel | Reconsider | advisoryBoost +10; floor 50 |
IQ | Iraq | Reconsider | advisoryBoost +10; floor 50 |
IR | Iran | Reconsider | advisoryBoost +10; floor 50 |
LB | Lebanon | Reconsider | advisoryBoost +10; floor 50 |
MX | Mexico | Reconsider | advisoryBoost +10; floor 50 |
PK | Pakistan | Reconsider | advisoryBoost +10; floor 50 |
VE | Venezuela | Reconsider | advisoryBoost +10; floor 50 |
RU | Russia | Caution | advisoryBoost +5; no advisory floor |
TR | Turkey | Caution | advisoryBoost +5; no advisory floor |
Text attribution caveat
Country text fallback uses curated aliases after structured country codes and coordinates fail. The current Israel alias set includesgaza, so an otherwise
unattributed headline or strike-location text mentioning Gaza is routed to IL
for CII scoring. This is an operational limitation of the 31-country Tier-1 CII
surface: CII does not currently publish a separate Gaza/Palestinian-territories
country score, and readers should treat those Israel-attributed text-fallback
signals as Israel/Gaza-theatre pressure rather than a claim that the event
occurred inside internationally recognized Israeli territory.
The dynamicScore exposed on the wire is the signed score movement versus a
valid CII snapshot from approximately 24 hours earlier. Positive values mean
the country score rose, negative values mean it fell, and 0 means stable or
that no valid prior snapshot is available.
GetRiskScoresResponse.degraded is true when upstream scoring inputs failed
and the response is served from a stale cache or from the baseline-only cold
fallback. GetRiskScoresResponse.stale is true only for the stale-cache
branch; a cold baseline-only fallback returns degraded=true and stale=false.
These flags are runtime quality markers and do not change methodology_version.
2. Per-country baselineRisk and eventMultiplier
These are the editorial values applied by both server-side API scoring and
frontend client-side CII rendering. The source of truth is
shared/cii-weights.ts; server and frontend
tables derive from that module so coefficient drift fails in tests instead of
shipping silently.
The Tier-1 country set is a curated monitoring universe, not an automatic
ranking of all sovereign states. Countries enter the set when they satisfy at
least one of these editorial criteria: sustained global-risk relevance,
active/recent armed conflict or severe domestic instability, high-impact
regional escalation potential, major economic/security-system importance, or
specific operational coverage needs in the dashboard. The set is intentionally
small so CII remains a high-frequency triage surface; CRI covers the broader
196-country rankable universe.
| Code | Country | baselineRisk | eventMultiplier |
|---|---|---|---|
| AE | United Arab Emirates | 10 | 1.5 |
| AF | Afghanistan | 45 | 0.8 |
| BR | Brazil | 15 | 0.6 |
| CN | China | 25 | 2.5 |
| CU | Cuba | 45 | 2.0 |
| DE | Germany | 5 | 0.5 |
| EG | Egypt | 20 | 1.0 |
| FR | France | 10 | 0.6 |
| GB | United Kingdom | 5 | 0.5 |
| IL | Israel | 45 | 0.7 |
| IN | India | 20 | 0.8 |
| IQ | Iraq | 40 | 1.2 |
| IR | Iran | 40 | 2.0 |
| JP | Japan | 5 | 0.5 |
| KP | North Korea | 45 | 3.0 |
| KR | South Korea | 15 | 0.8 |
| LB | Lebanon | 40 | 1.5 |
| MM | Myanmar | 45 | 1.8 |
| MX | Mexico | 35 | 1.0 |
| PK | Pakistan | 35 | 1.5 |
| PL | Poland | 10 | 0.8 |
| QA | Qatar | 10 | 0.8 |
| RU | Russia | 35 | 2.0 |
| SA | Saudi Arabia | 20 | 2.0 |
| SY | Syria | 50 | 0.7 |
| TR | Turkey | 25 | 1.2 |
| TW | Taiwan | 30 | 1.5 |
| UA | Ukraine | 50 | 0.8 |
| US | United States | 5 | 0.3 |
| VE | Venezuela | 40 | 1.8 |
| YE | Yemen | 50 | 0.7 |
baselineRisk does. It is the country’s “always-on” instability
floor. Independent of any live event, the country starts each scoring cycle
at baselineRisk * 0.4 and accumulates event-driven score on top. A country
with baselineRisk = 5 (US, DE, GB, JP) needs much louder event signals to
register a high combinedScore than a country with baselineRisk = 50
(UA, SY, YE).
What eventMultiplier does. It scales the contribution of live ACLED
events into the Unrest and Conflict components. The Conflict component applies
that multiplier before a log-scaled event-activity curve; the final component
cap still prevents runaway scores, but the early curve preserves meaningful
distance between moderate and extreme event volume. The curve is
min(70, log1p(rawActivity) / log1p(4000) * 70), where rawActivity is the
event-type-weighted ACLED activity after eventMultiplier. The rationale is editorial:
in information-rich, low-noise geographies (US, DE, GB, JP, FR with
multipliers 0.3–0.6) we down-weight live events because the reporting
density makes each individual event look bigger than it is in context. In
signal-poor, high-relevance geographies (KP, CN, IR, RU with
multipliers 2.0–3.0) we up-weight because every confirmed event there is
disproportionately newsworthy. For countries where eventMultiplier < 0.7,
unrest counts use log2(n+1) * multiplier * 5 instead of linear scaling,
specifically to dampen US-style high-volume-low-intensity protest signals.
Fairness rationale for curated parameters
CII is an editorial triage index, not a neutral measurement system. The curatedbaselineRisk, eventMultiplier, and keyword tables therefore need
guardrails:
eventMultiplieris an observability and signal-confidence adjustment for verified event inputs. It should not be used to amplify generic news attention or geopolitical salience.- Search aliases used for discovery can be broader than scoring keywords. Broad theater phrases such as strategic waterways or cross-border disputes should not by themselves be treated as domestic instability evidence for a country unless a scored event source also attributes the signal there.
- The Information component measures news pressure and classified headline salience. It is allowed to move the composite, but it is separated from the Conflict component wherever the available schema permits.
- Humanitarian displacement is intentionally log-ramped rather than two-tiered so six-figure displacement, million-person crises, and multi-million-person crises do not collapse into nearly identical boosts.
3. Strategic Risk roll-up
The global Strategic Risk score inStrategicRisk[0] is a weighted average
of the top-5 highest-scoring countries’ combinedScore values:
15), and scale-factor (0.70)
are all defined in
server/worldmonitor/intelligence/v1/_risk-config.ts.
Their rationale:
STRATEGIC_RISK_POSITIONAL_DECAY = 0.15— the most-affected country gets full weight; the next four positions decay to0.85,0.70,0.55, and0.40. The next 1-based position 6 (0-based index 5) would still carry0.25, so the explicit top-5 window, not a zero-weight cutoff, bounds the roll-up.STRATEGIC_RISK_TOP_N = 5— large enough to dilute single-country spikes, small enough that the score reflects the “very top” of the dashboard rather than a long tail.STRATEGIC_RISK_SCALE_FLOOR = 15— the global picture is never “all clear”. A baseline of 15 keeps the dial visually meaningful when every Tier-1 country is calm.STRATEGIC_RISK_SCALE_FACTOR = 0.70— combined with the floor, this compresses the weighted top-5 average from[0, 100]into[15, 85]before the finalmin(100). Prevents a single very-high country from saturating the global score.
StrategicRisk.level is:
SEVERITY_LEVEL_HIGHifoverallScore ≥ 70SEVERITY_LEVEL_MEDIUMif40 ≤ overallScore < 70SEVERITY_LEVEL_LOWifoverallScore < 40
4. What this score is and is not
It is a single number to help operators triage where to look first on a news-velocity dashboard. It is not a forecast, an insurance pricing input, or a substitute for travel-advisory guidance from a sovereign government. The published values in section 2 are editorial; reasonable analysts will disagree with individual entries. If you depend on these scores for any consequential decision, pin against themethodology_version field on each CiiScore, watch for version
bumps in the public CHANGELOG, and consider the per-country weight you see
in event_multiplier against your own ground truth before relying on the
composite.