Spaces:
Sleeping
Sleeping
Commit History
-
Deploy backend
99938b8
-
Preserve sector/market_cap on re-seed upserts; add dead-stock verifier
upsert_stock/batch_upsert_stocks overwrote sector and market_cap with NULL on every re-seed (directory sources carry neither), wiping enriched fields — root cause of the missing-sectors data loss. COALESCE keeps existing values unless the new row provides one. scripts/verify_dead_stocks.py: re-checks Yahoo-404 symbols with Yahoo-native variants (X$Y -> X-PY, X.Y -> X-Y) before declaring them delisted; 54 of 109 format suspects were alive.06248c3
-
Precompute sector averages into sector_stats rollup
Frontend getSectorAverages() previously scanned stocks x forecasts (~11.5k rows) on every uncached page view. The daily pipeline now rebuilds a sector_stats table in one GROUP BY scan; the frontend reads a single row (falls back to the live scan when a sector is missing). Adds tests/test_sector_stats.py (aggregation + replace semantics).96d8ac9 -
Sync with root repo: SQLite fallback, BLOCKED handling, 250d history
- database_service: local SQLite fallback for non-Turso URLs, RuntimeError on Turso BLOCKED responses, stocks v2 schema migration - main/daily_pipeline: return last 250 historical closes (was 60) - daily_pipeline: configure basic logging - seed_verified_stocks: strip 'NZX: ' prefixes at seed time - scripts: add check_db_counts, clean_nz_symbols, db_diagnostics - tests: pytest suite (16 tests) + dev smoke scripts, start-api.ps1d40d32b
-
Deploy backend changes
a8f1849 -
Deploy backend
4306d62 -
Deploy backend
2ae7e1f -
Deploy backend
bcf7c28
-
Rewrite backfill_chart_svg.py: streaming batch approach to fix Turso timeouts
09b5b07 -
Generate chart_svg for all horizons, not just horizon=20
a50ea12 -
Fix Unicode arrow in configure_hf_space.py for Windows
5f399db -
Upgrade transformers to 5.x for TimesFM 2.5 support
ffdce3f
-
Enable internal cron on HF Space
ba3a0f9 -
Fix TimesFM logger, cron routes, chart API
42b0c32