Spaces:
Sleeping
Sleeping
Commit History
-
evolve: mutation accepted 2026-10-03
evolution-botf0c6fce
-
evolve: mutation accepted 2026-10-02
evolution-bot73a38e6
-
evolve: mutation accepted 2026-09-01
evolution-bot78a22e8
-
evolve: mutation accepted 2026-08-03
evolution-botea8bc2c
-
evolve: mutation accepted 2026-08-02
evolution-bota45f648
-
evolve: mutation accepted 2026-07-02
evolution-bot2428c0d
-
evolve: mutation accepted 2026-07-01
evolution-bote3ceda6
-
evolve: mutation accepted 2026-06-11
evolution-botd51673d -
evolve: mutation accepted 2026-06-11
evolution-botaddb937 -
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 -
Mapping canvas + Share-to-Mapping across the platform
Sam Cole +1: Claude Opus 4.7 (1M context)Rename header button "Global Media Trends" -> "Global Trends". Add a proper Mapping tab: a sandbox mind-map canvas (static/mapping_canvas.js, ~440 lines) that overrides the stub functions in app_v30.js. Features: - Double-click empty canvas to add a card; type body text inline with #tag parsing - Drag cards freely; drag empty space to pan the viewport - Per-card link icon starts a connection wire; click target card to complete - Curved dashed arrows auto-update as cards move - Delete (X), Fit (recenter), Clear (with confirmation) toolbar actions - State persists to localStorage; migrates legacy keys from old app_v30 shape Wire "Share to Mapping" buttons across the platform. Each builds a payload (title, body, tags, color) and calls shareToMappingURI() which decodes JSON and adds the card with a toast confirmation. Coverage: - Explorer: Hero summary, Narrative panel, Risk + Opportunity banners, Insight Banners (Strongest/Inverse/Cross-Domain/Summary), Insight Cards - Rank: each top …45b6139 -
Globe: add detail panel, time scrubber, category filter, country-focused arcs
Sam Cole +1: Claude Opus 4.7 (1M context)Layer four new interactions onto the existing globe: - Detail panel slides in from the right when a country is pinned. Shows the current sentiment bar, a 30-day trend mini-chart with a marker on the scrubbed day, coverage mix across politics/economy/climate/conflict, and 5 synthesized headlines (title, source, sentiment, time-ago). - Time scrubber (bottom) walks all dots through a 30-day timeSeries — colors and sizes update from each day's sentiment + article count. - Category filter chips (top) multi-toggle: dots without meaningful coverage (>=22%) in the selected categories dim to ~18% opacity. - Pinning a country swaps the global similarity arcs for 8 focused arcs drawn from the pinned country to its sentiment neighbors (cyan for positive, rose for negative). Unpin restores the global arcs. All new data (headlines, timeSeries, categories) is synthesized deterministically from country index — no backend changes needed. Existing behavior preserved: hover tooltip, clic…23a93dc -
Rename header buttons: 'Analyze Global Media' -> 'Global Media Trends', 'Guide' -> 'AI'
Sam Cole +1: Claude Opus 4.7 (1M context)Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>e45c9f1 -
Globe: add hover/click tooltips, pulsing dots, sonar pings, starfield, atmosphere shimmer, sentiment arcs
Sam Cole +1: Claude Opus 4.7 (1M context)- Hover any dot to see country, sentiment label + score, article count, and a centered sentiment bar - Click to pin the tooltip; tooltip follows the country as the globe spins and hides cleanly on the back side - Dots gently breathe (stronger for high-article countries); hovered/pinned dots scale and brighten - Top 5 most-active countries emit periodic sonar-style ping rings - 240-star background field in 4 out-of-phase twinkling groups - Atmosphere glow opacity oscillates softly - Faint curved arcs connect country pairs with similar sentiment (cyan for positive, rose for negative) Drag-to-rotate, auto-rotation, close (X / Escape), coastlines, grid lines, and existing glow rings on high-traffic dots are all preserved. Click is distinguished from drag by total pointer delta (<6px = click). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>ad78fe8
-
Fix simulator: restore Affected Indicators panel, description, Explain button
Sam Cole +1: Claude Opus 4.7 (1M context)The May 8 flatten/rewrite of static/index.html dropped three elements from the Simulator tab — the Affected Indicators panel (#simResults + #simAffectedCount), the description copy, and the Explain button on Projected Impact. app_v30.js still referenced #simAffectedCount unguarded, so runSimulation crashed. A pair of try/catch shims (inline + shim_simulator.js) were added later to silence the errors instead of fixing the DOM. Restore the missing markup and drop the inline guards. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>bfb7ae2
-
Upload static/index.html
Verified signaturedf8c263 -
Upload static/globe_patch.js
Verified signature74e2635 -
Upload static/globe_patch.js
Verified signature7b161a2 -
Upload static/index.html
Verified signaturec2ea540 -
Upload static/globe_patch.js
Verified signature228428f -
Upload static/index.html
Verified signature2ed4223 -
Upload static/index.html
Verified signatureed85ff1 -
Upload static/index.html
Verified signature074158c -
Upload static/index.html
Verified signature868e637 -
Upload static/shim_simulator.js
Verified signaturef68dc1e -
Upload static/app_v35.js
Verified signature0f109f9 -
Upload static/app_v35.js
Verified signature08b39b8 -
Upload static/app_v35.js
Verified signature5f8868c -
Upload static/app_v35.js
Verified signature9c34cff
-
Upload static/app_v35.js
Verified signatureddae557 -
Upload static/app_v35.js
Verified signature9ed0555 -
Upload static/app_v35.js
Verified signature74e935f -
Upload static/index.html
Verified signature3b985e8 -
Upload static/app_v35.js
Verified signaturec940bcc -
Upload static/globe_patch.js
Verified signature453d344 -
Upload static/app_v35.js
Verified signatureae59537 -
Upload static/index.html
Verified signature360ec61 -
Upload static/index.html with huggingface_hub
Verified signaturef27531b -
Upload static/app_v30.js with huggingface_hub
Verified signaturef8857a6 -
Upload static/index.html with huggingface_hub
Verified signaturee5cfaf4 -
Upload static/app_v29.js with huggingface_hub
Verified signature7bfe3f3 -
Upload static/index.html with huggingface_hub
Verified signatureeed95fa -
Upload static/app_v28.js with huggingface_hub
Verified signature92f6ef7 -
Upload static/index.html with huggingface_hub
Verified signature83c4687 -
Upload static/app_v27.js with huggingface_hub
Verified signature5074467 -
Upload static/index.html with huggingface_hub
Verified signature9da344c -
Upload static/app_v25.js with huggingface_hub
Verified signature58cf79c -
Upload static/index.html with huggingface_hub
Verified signature525cd27 -
Upload static/app_v24.js with huggingface_hub
Verified signature96b12be