Spaces:
Sleeping
Sleeping
Commit History
-
evolve: mutation accepted 2026-10-01
evolution-bot8ba8abb
-
evolve: mutation accepted 2026-09-03
evolution-bot8d079d1
-
evolve: mutation accepted 2026-08-04
evolution-bot7c58fff
-
evolve: mutation accepted 2026-08-01
evolution-bot3343b22
-
Engine: SEARCH/REPLACE mutations + graceful no-op; wire World Digest sibling bridge
Sam Cole +1: Claude Opus 4.8 (1M context)Evolution engine: - Replace fragile line-numbered diffs with exact-text SEARCH/REPLACE edits (models hallucinate hunk line numbers on a 2k-line file). A block matches verbatim or the cycle is a clean SKIP. Only the target file is ever written. - evolve.yml uses an evolution/.mutation_applied marker so an unusable-edit cycle is a green no-op (logs + pushes the skip) instead of a failed run; only an applied + test-passing mutation commits and deploys to the live Space. Sibling integration (co-developed): - main.py: /api/news/world-digest bridge (never-500 fallback, schema world-digest/news-exchange@1) reading contract/news_exchange.md. - static/globe_patch.js: globe "Digest view" calls the bridge. - tests/: 3 frozen tests pin the bridge route, fallback shape, and globe wiring. - evolution/prompts.md: priority #5 (sibling integration) + contract/ as a read-only shared interface. - scripts/sibling_dashboard.py + health.yml co-evolution dashboard step. Co-Authored-By: Claude O…660b778
-
Globe: live news from RSS aggregator with VADER sentiment
Sam Cole +1: Claude Opus 4.7 (1M context)Backend: pull 10 free RSS feeds (BBC, Guardian, Al Jazeera, NYT, DW, CNN, NPR, Reuters, AP, France24) in parallel via aiohttp, parse with feedparser, score with VADER (vaderSentiment). Match articles to the 40 globe countries via a substring + word-boundary alias dictionary (names, capitals, leaders, adjectives). Group articles by country, average sentiment, surface top-5 headlines per country sorted by polarisation. Endpoint behaviour: cache-first (30 min TTL). On cold cache, blocks for up to ~15s while the RSS pipeline runs; subsequent users hit the cache. A startup prewarm fires ~8s after boot so most users never wait. Falls back to synthesized values for any country with no matched articles. Initial local test: 27 of 40 countries got real headlines on first call, ~500ms after server startup. Replaces the GDELT integration that was rate-limited to ~1/40 countries. Frontend: 'live from GDELT' label corrected to 'live from RSS'. Frontend already consumed the same response shape so …40aab9f
-
Add /api/news/globe endpoint with live global sentiment data
Verified signature0830ce1 -
Fix World Bank fetch crash: type mismatch on year comparison
Verified signaturea533f17 -
Add 12 built-in reference datasets, 120+ WB indicators, 9 WB presets, redesigned Data Library UI
Verified signatureb8b9061 -
Fix: API routes before catch-all, static files at /static/, scripts use /static/ paths
Verified signature19c413d -
Fix: mount StaticFiles at root with html=True for SPA, remove explicit root route
Verified signature0ffe46f -
Fix: use HTMLResponse for root route so browser renders HTML
Verified signaturee90ad51 -
Fix: paginated World Bank fetch with correct aggregate filtering
Verified signatureb2260ca -
Fix: comprehensive WB aggregate ID filtering with all discovered codes (ZH,ZI,1A,etc.)
Verified signature074415a -
Force upload: main.py with correct filter + frontend fix
Verified signatureeb28c3e -
Fresh upload: correct WB aggregate filtering with country_id check
Verified signature5ccefae -
Delete main.py with huggingface_hub
Verified signature30c7ebd -
Fix: keyword-based filtering of World Bank region aggregates
Verified signaturef8839a4 -
Fix: filter region aggregates from World Bank, always build VARIABLE_DEFS from API data
Verified signature240fd06 -
Fix route ordering: root serves HTML, /api/health, /static mount
Verified signaturee2a8391 -
Fix: SPA catch-all for root, static files at /static/, scripts use /static/ prefix
Verified signature9b4956e -
Fix static file mounting: serve from root path, API routes before mount
Verified signature9ee0cd0 -
Upload main.py with huggingface_hub
Verified signaturecfece16