Skip to content

KB / alert

Energy Regime Change

Last verified

Auto-generated. This article is rebuilt from app/signals/config/alert_thresholds.json by scripts/build_alerts_kb.py. Edit the alert config and re-run the script — do not edit this file directly.

Energy Regime Change

Alert ID: ENERGY_REGIME_CHANGE
Category: energy
Cross-detection: yes

Severity

WARNING — conditions deteriorating; worth monitoring

Trigger condition

{
  "type": "computed",
  "computation": "energy_regime_changed"
}

Computed condition (energy_regime_changed) — the trigger logic lives in app/signals/alerts.py:_eval_computed. This alert does not decompose into a simple field threshold; consult the source for the exact semantics.

Cross-detection alerts fire only on the transition into the trigger state — the condition must have been false on the previous evaluation. Persistent states do not re-fire.

Message template

Energy regime shifted from {prev_energy_regime} to {energy_regime} — monitor crude and refining margins.

Rendered with the current signals dict via Python str.format. Placeholders that fail to resolve fall back to the raw template (see _format_message in app/signals/alerts.py).

Cooldown / dedup

Notifies

See also