AgentEvalTool/backend/agenteval/web
sinohqb 182b0e59cb
All checks were successful
CI / test (push) Successful in 3m9s
refactor(intelligent-eval): extract scheduler runtime + internalize decision-log dedup
架构深化两则(架构审查候选①②):

① scheduler 抽取:web/app.py 约 400 行触发式执行编排(60s 扫描循环、
docker exec 触发、失败落账)沉入 intelligent_eval/scheduler.py,runtime
单例 start()/stop()/scan_once() 与 campaign_runtime 惯例一致;worker/planner
两处重复触发代码合并为一个触发原语;_supplement_decision_logs 归入
decision_logs.py。测试改为直接驱动 scan_once(interface 即测试面)。

② 决策日志去重内化:create_decision_log 的去重只服务 agent 上报路径;
新增 append_decision_log(平台落账纯追加)与 count_decisions(计数原语),
lifecycle/task_queue 全部平台落账切换,调用方不再需要塞 attempt 骗去重。

零行为变化:提示词、60s 节拍、编排顺序、闸门语义原样保留,866 tests passed。
2026-08-21 03:20:14 +08:00
..
routers feat(intelligent-eval): terminal-state discipline watchdogs (ADR-0011) 2026-08-20 14:34:17 +08:00
__init__.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00
app.py refactor(intelligent-eval): extract scheduler runtime + internalize decision-log dedup 2026-08-21 03:20:14 +08:00
deps.py feat(backend): v0.4 triggered_by tracking, login gate, compare guard, dashboard stats 2026-07-28 17:40:54 +08:00
file_schemas.py feat(files): improve category and location layout 2026-07-17 18:13:43 +08:00
model_config_schemas.py feat(models): add analysis-default flag for campaign intelligence 2026-08-03 01:46:51 +08:00
websocket.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00