From 78ecfd3c821fc137758df77a2d9b58466217279f Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Sun, 1 Mar 2026 16:14:47 +0800 Subject: [PATCH] docs: add /deb command, accuracy tracking, auto-cleanup to both READMEs --- README.md | 6 ++++-- README_ZH.md | 16 +++++++++------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7093e633..6bd793cc 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,8 @@ The system automatically tracks the historical performance of weather models (EC - **Error-Based Weighting**: Dynamically adjusts model weights based on their Mean Absolute Error (MAE) over the past 7 days. Lower error = higher weight. - **Blended Forecast**: Provides a bias-corrected "DEB Blended High Temperature" recommendation. - **Self-Learning**: Requires at least 2 days of observations before activating weight differentiation. Uses equal-weight averaging during cold start. -- **Concurrency Safe**: Built-in memory cache and file locking (fcntl) for high-concurrency group chat queries. +- **Accuracy Tracking**: Use the `/deb` command to view DEB's historical WU settlement hit rate and MAE, compared against individual models. +- **Auto-Cleanup**: Only retains the last 14 days of records to prevent unbounded data growth. ### 2. 🎲 Math Probability Engine (Settlement Probability) @@ -93,6 +94,7 @@ chmod +x ~/update.sh | Command | Description | | :------------------ | :------------------------------------------------------------------------------- | | `/city [city_name]` | Get weather analysis, settlement probabilities, METAR tracking, and AI insights. | +| `/deb [city_name]` | View DEB blended forecast accuracy (WU hit rate, MAE) and model comparison. | | `/id` | View the Chat ID of the current conversation. | | `/help` | Display help information. | @@ -148,4 +150,4 @@ graph TD --- -_Updated 2026-02-27_ +_Updated 2026-03-01_ diff --git a/README_ZH.md b/README_ZH.md index 2e81665e..9482c165 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -19,7 +19,8 @@ PolyWeather 是一款专为 **Polymarket** 等预测市场打造的天气分析 - **误差加权**:根据过去 7 天的平均绝对误差(MAE),动态调整各模型的权重。误差越小的模型,话语权越大。 - **融合预报**:给出经过历史偏差修正后的"DEB 融合最高温"建议值。 - **自学习机制**:系统需要至少 2 天的实测记录才会启动权重分化。冷启动期间以等权平均过渡。 -- **并发优化**:内置内存缓存与文件锁 (fcntl),支持高并发群聊查询。 +- **准确率追踪**:通过 `/deb` 命令查看 DEB 融合预测的历史 WU 结算命中率和 MAE,并与各个单一模型对比。 +- **自动清理**:只保留最近 14 天的记录,防止数据无限增长。 ### 2. 🎲 数学概率引擎 (Settlement Probability) @@ -90,11 +91,12 @@ chmod +x ~/update.sh ## 🕹️ 机器人指令 -| 指令 | 说明 | -| :--------------- | :--------------------------------------------------- | -| `/city [城市名]` | 获取深度气象分析、结算概率、实测追踪及 AI 决策建议。 | -| `/id` | 查看当前对话的 Chat ID。 | -| `/help` | 显示说明信息。 | +| 指令 | 说明 | +| :--------------- | :---------------------------------------------------------- | +| `/city [城市名]` | 获取深度气象分析、结算概率、实测追踪及 AI 决策建议。 | +| `/deb [城市名]` | 查看 DEB 融合预测的历史准确率(WU 命中率、MAE)和模型对比。 | +| `/id` | 查看当前对话的 Chat ID。 | +| `/help` | 显示说明信息。 | ### 支持城市示例 @@ -148,4 +150,4 @@ graph TD --- -_更新于 2026-02-27_ +_更新于 2026-03-01_