Commit Graph

672 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 c0b050d2a7 Serialize SQLite write connections 2026-06-15 22:23:29 +08:00
2569718930@qq.com 383011f9fe Filter runway history by observation time 2026-06-15 20:20:31 +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 15e0cb09b8 Fix payment confirm response with runtime intent fields 2026-06-15 14:56:37 +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 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 3b34ddbf12 Strip Wunderground data from city cache responses 2026-06-14 23:47:25 +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 8bbe8f74c1 Extract forecast source bundle from collector 2026-06-14 22:27:05 +08:00
2569718930@qq.com 43aeb6047e Select canonical temperature from raw observations 2026-06-14 19:33:09 +08:00
2569718930@qq.com d0c8d4c11b Track observation source health states 2026-06-14 19:06:03 +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
2569718930@qq.com 0f497ab822 Simplify account payment flow and harden direct transfers 2026-06-14 06:58:45 +08:00
2569718930@qq.com 56f31c0aa2 Add Telegram webhook command entrypoint 2026-06-14 06:32:58 +08:00
2569718930@qq.com e6a5fd2dda Fix Telegram forum topic routing 2026-06-14 05:45:07 +08:00
2569718930@qq.com e74dfb4953 Add Telegram topic binding command 2026-06-14 04:48:58 +08:00
2569718930@qq.com 4009a26431 Avoid Telegram forum fallback to general 2026-06-14 03:58:40 +08:00
2569718930@qq.com b53f8a3eee Guard Telegram forum topic routing 2026-06-14 03:49:18 +08:00
2569718930@qq.com f115be1fd3 fix chart refresh and bot command surface 2026-06-13 01:34:09 +08:00
2569718930@qq.com cf35e55da4 feat: reward paid members at user growth milestones 2026-06-12 23:52:56 +08:00
2569718930@qq.com 33fbf17c18 support feedback rewards for unbound users 2026-06-12 23:17:34 +08:00
2569718930@qq.com 8e4a9ae552 remove Shenzhen airport Telegram push 2026-06-11 16:08:33 +08:00
2569718930@qq.com 87bf7c3575 fallback missing Telegram city topics 2026-06-11 15:58:13 +08:00
2569718930@qq.com c5e5e73ce1 prefer newest observation for Telegram pushes 2026-06-11 15:47:58 +08:00
2569718930@qq.com 9a7257008e speed up China airport Telegram pushes 2026-06-11 15:38:05 +08:00
2569718930@qq.com 081bf9cc05 speed up entitlement auth sync 2026-06-10 16:49:18 +08:00
2569718930@qq.com 35bfd0670c fix payment checkout fallback to manual transfer 2026-06-10 15:58:36 +08:00
2569718930@qq.com c98ff34c1e Fix Telegram fallback binding group gate 2026-06-09 14:23:34 +08:00
2569718930@qq.com d0c0bf7034 Fix Telegram bot binding fallback 2026-06-09 12:57:37 +08:00
2569718930@qq.com f32a8d990a Fix ops weekly leaderboard ranking 2026-06-08 23:27:13 +08:00
2569718930@qq.com 6c7f3ef67f Use fixed feedback reward amounts 2026-06-08 22:20:35 +08:00
2569718930@qq.com 6273921005 Add ops feedback reward grants 2026-06-08 20:54:20 +08:00
2569718930@qq.com 961c9bd37c Show feedback reward details in account 2026-06-08 16:25:32 +08:00
2569718930@qq.com 8f6925108c Reduce polling and batch observation writes 2026-06-08 15:12:41 +08:00
2569718930@qq.com 96dde3b50e Add observation collector health status 2026-06-08 14:39:49 +08:00
2569718930@qq.com 721173aea3 Isolate observation collector from web API 2026-06-08 13:19:52 +08:00
2569718930@qq.com 4f4617ba0a Guard DEB bucket calibration 2026-06-08 00:59:16 +08:00
2569718930@qq.com bbe3871b7c Expose DEB quality guidance 2026-06-07 23:57:47 +08:00
2569718930@qq.com 41e819735d Improve DEB calibration and training metrics 2026-06-07 22:51:18 +08:00
2569718930@qq.com fb4a144fcf Use static terminal update announcements 2026-06-07 00:32:11 +08:00
2569718930@qq.com 3951735259 Add terminal update announcements 2026-06-07 00:04:08 +08:00
2569718930@qq.com f7625218ae Add user feedback status notifications 2026-06-06 22:55:15 +08:00