AgentEvalTool/backend/agenteval/web/routers
sinohqb f433ebb970 feat(campaigns): dual-axis periodic report (time trend + capability)
Add generate_campaign_report: a pure aggregator over a campaign's child Runs
producing a time-trend axis (Runs bucketed by service-window position) and a
capability-summary axis (grouped by scenario), each carrying pass_rate /
availability / latency. pass_rate keeps the single-Run case-level meaning and
counts execution failures as 0.0 (ADR-0002); time_scale only places Runs into
window-time buckets and never alters any figure. Engine summary now records
avg_latency_ms to feed the latency axis.

Expose GET /api/campaigns/{id}/report (structured) and .../report/markdown
(reusing the existing Markdown export path). Adds "可用性/Availability" to the
domain glossary.
2026-07-30 13:55:32 +08:00
..
__init__.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00
auth.py feat(backend): v0.4 triggered_by tracking, login gate, compare guard, dashboard stats 2026-07-28 17:40:54 +08:00
campaigns.py feat(campaigns): dual-axis periodic report (time trend + capability) 2026-07-30 13:55:32 +08:00
files.py refactor(files): harden storage and split frontend 2026-07-17 17:41:19 +08:00
model_configs.py feat(models): add centralized model configuration 2026-07-17 20:02:43 +08:00
proxy.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00
reports.py feat(report): compare requires same scenario version (ticket 05) 2026-07-29 11:21:52 +08:00
runs.py feat(run): snapshot scenario version at run creation (ticket 04) 2026-07-29 10:59:44 +08:00
scenarios.py feat(models): add centralized model configuration 2026-07-17 20:02:43 +08:00
stats.py feat(backend): v0.4 triggered_by tracking, login gate, compare guard, dashboard stats 2026-07-28 17:40:54 +08:00
targets.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00