Commit Graph

5 Commits

Author SHA1 Message Date
2569718930@qq.com 59cd48997f Fix ops market opportunity scan snapshot 2026-07-04 00:07:24 +08:00
2569718930@qq.com 7a5fe8b571 Add ops low-price market opportunities 2026-07-03 23:52:03 +08:00
2569718930@qq.com 0c76874418 Implement ops operational closure 2026-06-23 17:07:25 +08:00
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