Commit Graph

14 Commits

Author SHA1 Message Date
AmandaloveYang e344fae75f 首尔/釜山 AMOS 数据缓存 TTL 从 300s 降至 60s,对齐官网 1 分钟刷新频率
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 17:28:53 +08:00
2569718930@qq.com e2bea367a1 校准漂移检测增加日志告警 + 更新架构文档
- core.py:drift.drifted=true 时输出 loguru warning,包含 delta% 和 sample 数量
- data-architecture-review.md:标记 2 项误诊(METAR TTL 实际 600s、轮询已有 AbortController 保护)
- 剩余真正待办:校准自动重训练(需算力)、缓存键细化(低优先级)
2026-05-10 17:06:43 +08:00
2569718930@qq.com b3ea8dcfa7 数据链路 P1 修复:ETag 缓存 + 校准漂移检测
P1-5 ETag 支持:
- 后端新增 _etag_middleware:GET /api/* 自动返回 ETag (MD5)
- 支持 If-None-Match 请求头,匹配时返回 304 + 30s Cache-Control
- 前端 cache: no-store → default,浏览器自动处理 ETag/304 节省带宽

P1-6 校准漂移检测:
- probability_calibration.py 新增 check_calibration_drift()
- 对比最近 200 条 daily_records 的 CRPS 与校准基线
- 漂移 >15% 时返回 warning 提示重新训练
- 集成到 /api/system/status 的 probability.drift 字段

Tested: python -m ruff check ., npx tsc --noEmit
2026-05-10 16:54:48 +08:00
2569718930@qq.com c3da29c09c Add dashboard prewarm worker and cache visibility 2026-04-08 06:53:49 +08:00
2569718930@qq.com bdc300bdd2 Expose station network coverage and settlement station details 2026-04-06 07:21:59 +08:00
2569718930@qq.com 781c247952 Add ops dashboards for training data and model coverage 2026-04-03 00:57:19 +08:00
2569718930@qq.com c29b560401 Add app analytics tracking for paywall and checkout events 2026-03-31 07:15:54 +08:00
2569718930@qq.com 2b5d2cd801 Grant new users a three-day signup trial 2026-03-29 20:34:12 +08:00
2569718930@qq.com 2b0e6a6f67 Add Wunderground as Shenzhen settlement source 2026-03-25 17:00:36 +08:00
2569718930@qq.com ace9c71743 Align Taipei settlement to NOAA RCTP across web and extension 2026-03-23 14:39:41 +08:00
2569718930@qq.com e7e52c0da7 Release v1.5.0 and add ops admin dashboard 2026-03-21 00:40:28 +08:00
2569718930@qq.com 43749fff7c Unify runtime state in SQLite and add rollout observability 2026-03-20 23:00:07 +08:00
2569718930@qq.com f6771247a6 Add config validation and deployment docs 2026-03-20 22:00:02 +08:00
2569718930@qq.com 1c84893bed Add CI and shadow calibration reporting 2026-03-20 20:59:30 +08:00