Commit Graph

2045 Commits

Author SHA1 Message Date
2569718930@qq.com 6d7f213cd9 修复 lint 警告及测试 monkeypatch 引用 2026-06-16 02:03:47 +08:00
2569718930@qq.com dca4f2d618 架构重构:拆分 core/ops/DBManager,统一 SQLite 锁,DEB 改进,新增注意力模型
- web/core.py 858→236行,拆出 schemas/middleware/auth/diagnostics
- ops_api.py 2876→4个 domain 模块 (users/payments/health/config)
- DBManager Supabase HTTP 调用提取到 SupabaseAdminClient
- 新增 LockedSQLiteConnection 统一多进程读写锁
- 新增 WeatherCacheManager 替代 12 个独立缓存字典
- METAR 缓存迁移至统一缓存管理器
- analysis_service 提取 _build_intraday_meteorology 到独立模块
- DEB 改进:偏差惩罚、分歧回退、自适应 lookback (MAE ↓12.6%)
- 新增 PyTorch 注意力模型 deb_attention.py (数据积累后启用)
- 新增 torch 到 requirements.lock
2026-06-16 02:00:22 +08:00
2569718930@qq.com ed0447f408 Drop stale observation fields during overlay 2026-06-15 23:32:47 +08:00
2569718930@qq.com 3984e12c44 Clear stale Ankara source fields 2026-06-15 23:25:50 +08:00
2569718930@qq.com 5075cf40b8 Fix Ankara stale chart date overlay 2026-06-15 23:12:56 +08:00
2569718930@qq.com fd9d768c6d Fix Ankara MGM observation freshness 2026-06-15 22:47:13 +08:00
2569718930@qq.com c0b050d2a7 Serialize SQLite write connections 2026-06-15 22:23:29 +08:00
2569718930@qq.com 55cfb202da Label Turkey station observations as MGM 2026-06-15 21:02:44 +08:00
2569718930@qq.com 95b55d4ab3 Replace stale runway history on raw backfill 2026-06-15 20:49:37 +08:00
2569718930@qq.com 07e28481e8 Require recent runway history coverage 2026-06-15 20:40:57 +08:00
2569718930@qq.com 383011f9fe Filter runway history by observation time 2026-06-15 20:20:31 +08:00
2569718930@qq.com 7443383720 Avoid raw runway history rebuild on hot path 2026-06-15 20:08:13 +08:00
2569718930@qq.com 9e91e8576c Avoid repeated runway history copies 2026-06-15 19:58:04 +08:00
2569718930@qq.com 4ff334aec4 Use indexed raw observation history lookup 2026-06-15 19:47:17 +08:00
2569718930@qq.com 7a9573c214 Build runway history from raw observations 2026-06-15 19:35:17 +08:00
2569718930@qq.com 791b2d115f Backfill runway history from latest AMSC overlay 2026-06-15 19:20:22 +08:00
2569718930@qq.com 56f397bb2e Persist AMSC runway history from collector 2026-06-15 18:59:41 +08:00
2569718930@qq.com 05a36f857b Preserve runway history during chart refresh 2026-06-15 18:47:25 +08:00
2569718930@qq.com 3f8ae44149 Accept entitlement token as service bearer 2026-06-15 18:17:38 +08:00
2569718930@qq.com 690acf1154 Stabilize chart detail refresh against live rows 2026-06-15 15:21:31 +08:00
2569718930@qq.com 15e0cb09b8 Fix payment confirm response with runtime intent fields 2026-06-15 14:56:37 +08:00
2569718930@qq.com 6b9caf8dc2 Stabilize AMSC chart detail overlays 2026-06-15 03:13:08 +08:00
2569718930@qq.com 39977e4431 Restore detail chart 23:30 slot 2026-06-15 02:45:20 +08:00
2569718930@qq.com 4210f5f753 Preserve chart models during live updates 2026-06-15 02:04:55 +08:00
2569718930@qq.com c79e0f36cc Improve scan terminal freshness and AMSC overlay consistency 2026-06-15 01:39:19 +08:00
2569718930@qq.com 717786b1d8 Align stored AMSC payload timestamps 2026-06-15 01:11:26 +08:00
2569718930@qq.com f98ab4a9fe Prefer AMSC sessionId over stale cookie 2026-06-15 00:57:10 +08:00
2569718930@qq.com 59f19407cb Use latest AMSC runway timestamp for overlays 2026-06-15 00:43:07 +08:00
2569718930@qq.com 8bf7cdd687 Overlay latest AMSC observations in city and Telegram payloads 2026-06-15 00:29:43 +08:00
2569718930@qq.com e6ea72c458 Prefer latest AMSC data for Telegram runway pushes 2026-06-15 00:09:12 +08:00
2569718930@qq.com 4e38659a10 Add Windows tzdata dependency 2026-06-14 23:53:38 +08:00
2569718930@qq.com 3b34ddbf12 Strip Wunderground data from city cache responses 2026-06-14 23:47:25 +08:00
2569718930@qq.com d1124ae17e Lock Python dependencies and ignore frontend env files 2026-06-14 23:35:22 +08:00
2569718930@qq.com ddca698406 Disable default Wunderground fetching 2026-06-14 23:32:34 +08:00
2569718930@qq.com 3120883bb8 chore: remove dead code directories and files 2026-06-14 23:26:46 +08:00
2569718930@qq.com 2e11e3fd56 Refresh VPS deployment docs 2026-06-14 23:21:03 +08:00
2569718930@qq.com ef21a5808e Update production deployment references 2026-06-14 23:13:37 +08:00
2569718930@qq.com e909f1f4c9 Remove sync city refresh fetch escape hatch 2026-06-14 23:09:31 +08:00
2569718930@qq.com 0e2b076535 fix ops admin frontend fallback 2026-06-14 22:57:10 +08:00
2569718930@qq.com 7fb82c5eba Stop legacy city refreshes from fetching sources 2026-06-14 22:51:15 +08:00
2569718930@qq.com a9e9eed2f1 fix ops local admin redirects 2026-06-14 22:44:02 +08:00
2569718930@qq.com 8bbe8f74c1 Extract forecast source bundle from collector 2026-06-14 22:27:05 +08:00
2569718930@qq.com c0a5912246 Preserve terminal chart detail during refresh 2026-06-14 20:11:08 +08:00
2569718930@qq.com 9cb794655b Emit realtime events from canonical updates 2026-06-14 19:51:34 +08:00
2569718930@qq.com 43aeb6047e Select canonical temperature from raw observations 2026-06-14 19:33:09 +08:00
2569718930@qq.com 00b163a8ec Introduce observation source adapters 2026-06-14 19:20:43 +08:00
2569718930@qq.com d0c8d4c11b Track observation source health states 2026-06-14 19:06:03 +08:00
2569718930@qq.com ccc8866229 Stop collector from triggering full weather refreshes 2026-06-14 18:44:49 +08:00
2569718930@qq.com 3e1e06d8e1 Queue stale weather refreshes from user paths 2026-06-14 18:21:53 +08:00
2569718930@qq.com e111031119 Decouple live weather reads from source collection 2026-06-14 17:53:24 +08:00