Goldstein Avg
{% if latest_brief %}{{ latest_brief.goldstein_avg | round(2) }}{% else %}—{% endif %}
Conflict tone (neg = hostile)
{# ── Escalation Ladder ── #}
Escalation Ladder
{% set rungs = [
("Routine", "#10b981", 1),
("Elevated", "#22d3ee", 2),
("Heightened", "#f59e0b", 3),
("Crisis", "#f97316", 4),
("Imminent", "#ef4444", 5)
] %}
{% for label, color, rung in rungs %}
{{ label }}
Rung {{ rung }}
{% endfor %}
{# ── Multi-Horizon Forecasts ── #}
{% if latest_brief and (latest_brief.forecast_24h_json or latest_brief.forecast_72h_json or latest_brief.forecast_7d_json) %}
Multi-Horizon Forecasts
{% set horizons = [
("24h", latest_brief.forecast_24h_json),
("72h", latest_brief.forecast_72h_json),
("7d", latest_brief.forecast_7d_json)
] %}
{% for label, fc_json in horizons %}
{% if fc_json %}
{% set fc = fc_json if fc_json is mapping else {} %}
{{ label }} Forecast
{{ (fc.wri or 0) | round(1) }}
{{ fc.tier or '—' }}
·
{{ ((fc.p_war or 0) * 100) | round(1) }}% P(Esc)
Trend:
{{ fc.trend or 'stable' }}
Confidence: {{ ((fc.confidence or 0.5) * 100) | round(0) | int }}%