NewsAtlas/frontend
Amir Alexander Abdelbaki b8adc70092 Add heuristic incident correlation, IRNA source, flatten news icon color
Economic Incident History: each spike now gets "likely factors" — plain
word-frequency across every headline in its window, stopwords dropped
(English + German), no AI/LLM involved (new backend/app/textutil.py, shared
with the existing cluster-topic labeling). Spikes across instruments within
an hour of each other now merge into one incident (new
GET /api/markets/incidents) rather than showing WTI/Brent-style correlated
moves as separate entries.

Also: IRNA (Iranian state news agency) added as a source; news cluster
icons flattened from a violet->pink gradient to a single bright magenta for
legibility against the globe's own violet tint (size still scales with
article count); lightweight column-migration mechanism in db.py so the new
MarketSpike field doesn't break existing deployments' SQLite files.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Um48tTvZDrEgDeweFyhPYC
2026-07-20 14:49:09 +02:00
..
css Add heuristic incident correlation, IRNA source, flatten news icon color 2026-07-20 14:49:09 +02:00
js Add heuristic incident correlation, IRNA source, flatten news icon color 2026-07-20 14:49:09 +02:00
index.html Add flights overlay, globe icon sprites, and economic incident history 2026-07-20 14:31:21 +02:00