Files
PocketVeto/backend/app/api
Jack Levy 41f6f96077 fix: trending section blank when scores are stale + trend scorer error isolation
Dashboard _get_trending() was querying scores within 1 day only — if the
nightly trend task hadn't run (e.g. worker restarted mid-run), the trending
section returned empty. Now falls back through 1→3→7→30 day windows so
stale scores always surface something.

Trend scorer now wraps per-bill scoring in try/except so a single bad
newsapi/gnews call can't abort the entire 1600-bill run.

Authored by: Jack Levy
2026-03-14 19:04:22 -04:00
..
2026-02-28 21:08:19 -05:00
2026-02-28 21:08:19 -05:00