Aggregates latest polling-wave context for Sifo, Novus, and Demoskop.
The script fetches a single page per provider, extracts the latest visible party percentages when possible, computes a simple cross-provider mean, and persists a versioned cache (data/polling-context.json by default) so the news pre-warm step has a stable polling context artifact even when one or more upstream pages fail.
Description
Aggregates latest polling-wave context for Sifo, Novus, and Demoskop.
The script fetches a single page per provider, extracts the latest visible party percentages when possible, computes a simple cross-provider mean, and persists a versioned cache (
data/polling-context.jsonby default) so the news pre-warm step has a stable polling context artifact even when one or more upstream pages fail.