docs: add /deb command, accuracy tracking, auto-cleanup to both READMEs

This commit is contained in:
2569718930@qq.com
2026-03-01 16:14:47 +08:00
parent bb23e622d1
commit 78ecfd3c82
2 changed files with 13 additions and 9 deletions
+4 -2
View File
@@ -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_
+9 -7
View File
@@ -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_