AgentEvalTool/backend/agenteval
sinohqb c24998c762 refactor(metrics): extract dashboard aggregation to compute_dashboard
仪表盘聚合逻辑从 stats.py router 下沉到 metrics.py 的 compute_dashboard
纯函数。_settled 重命名为 settled_runs 并公开,_ts 重命名为 _sortable_ts。
router 从 40 行聚合逻辑缩到 5 行,只负责数据获取和序列化。

- 新增 compute_dashboard(runs, scenario_names, target_names) -> dict
- 新增 settled_runs(runs) 公开接口(原 _settled)
- trend 端点同步迁移到 settled_runs
- 5 个新测试覆盖 dashboard 聚合逻辑
2026-08-04 11:36:55 +08:00
..
agents v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00
channels v0.4-t3t4: OpenClaw 通道 + 前端 bundle 优化 2026-07-17 15:37:14 +08:00
config feat(engine): make poll_reply timeout configurable via env 2026-07-30 09:58:08 +08:00
evaluation refactor(metrics): extract dashboard aggregation to compute_dashboard 2026-08-04 11:36:55 +08:00
exploration refactor(tasks): route LLM background tasks through TaskRegistry 2026-08-04 09:58:20 +08:00
model_protocols feat(models): support mainstream model protocols 2026-07-17 20:58:27 +08:00
scenarios feat(models): add centralized model configuration 2026-07-17 20:02:43 +08:00
services feat(models): add analysis-default flag for campaign intelligence 2026-08-03 01:46:51 +08:00
storage refactor(tasks): route LLM background tasks through TaskRegistry 2026-08-04 09:58:20 +08:00
utils v0.3-s3: Webhook + OpenClaw HTTP Skill + Markdown/对比报告 2026-07-17 11:44:54 +08:00
web refactor(metrics): extract dashboard aggregation to compute_dashboard 2026-08-04 11:36:55 +08:00
__init__.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00
model_gateway.py feat(models): support mainstream model protocols 2026-07-17 20:58:27 +08:00
models.py feat(exploration): stateless patrol API with watermark increments 2026-08-03 18:12:11 +08:00
task_registry.py refactor(tasks): unify run/campaign task registries into TaskRegistry 2026-07-31 03:39:03 +08:00
version.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00