AgentEvalTool/tests/integration
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
..
__init__.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00
test_auth_api.py style(tests): ruff 全量清理 — 49 项修复,backend 与 tests 全绿 2026-08-03 15:13:24 +08:00
test_campaign_analysis_api.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaign_analysis_auto_trigger.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaign_comparison_api.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaign_comparison_auto_trigger.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaign_runner.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaign_scheduler_loop.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaigns_api.py feat(intelligent-eval): implement monitoring and alerting (ticket 07) 2026-08-12 10:41:15 +08:00
test_config_snapshot_api.py feat(intelligent-eval): implement config snapshot management (ticket 05) 2026-08-12 10:19:07 +08:00
test_decision_log_immutability.py refactor(intelligent-eval): extract scheduler runtime + internalize decision-log dedup 2026-08-21 03:20:14 +08:00
test_exploration_api.py feat(intelligent-eval): implement monitoring and alerting (ticket 07) 2026-08-12 10:41:15 +08:00
test_exploration_patrol_api.py feat(intelligent-eval): implement monitoring and alerting (ticket 07) 2026-08-12 10:41:15 +08:00
test_exploration_settlement.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_files_api.py feat(files): improve category and location layout 2026-07-17 18:13:43 +08:00
test_intelligent_eval_e2e.py feat(intelligent-eval): implement decision logic and e2e flow (ticket 04) 2026-08-12 10:10:42 +08:00
test_intelligent_eval_scan_scheduler.py refactor(intelligent-eval): extract scheduler runtime + internalize decision-log dedup 2026-08-21 03:20:14 +08:00
test_intelligent_eval_task_queue_api.py feat(intelligent-eval): paginate the eval list 2026-08-17 14:09:17 +08:00
test_intelligent_evals_api.py feat(intelligent-eval): terminal-state discipline watchdogs (ADR-0011) 2026-08-20 14:34:17 +08:00
test_migration_roundtrip.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_model_config_migration.py feat(models): add centralized model configuration 2026-07-17 20:02:43 +08:00
test_model_configs_api.py feat(models): add analysis-default flag for campaign intelligence 2026-08-03 01:46:51 +08:00
test_reports_api.py style(tests): ruff 全量清理 — 49 项修复,backend 与 tests 全绿 2026-08-03 15:13:24 +08:00
test_router_orm_guards.py feat(intelligent-eval): terminal-state discipline watchdogs (ADR-0011) 2026-08-20 14:34:17 +08:00
test_runs_api.py style(tests): ruff 全量清理 — 49 项修复,backend 与 tests 全绿 2026-08-03 15:13:24 +08:00
test_scenario_version_migration.py feat(run): snapshot scenario version at run creation (ticket 04) 2026-07-29 10:59:44 +08:00
test_scenarios_api.py style(tests): ruff 全量清理 — 49 项修复,backend 与 tests 全绿 2026-08-03 15:13:24 +08:00
test_stats_api.py style(tests): ruff 全量清理 — 49 项修复,backend 与 tests 全绿 2026-08-03 15:13:24 +08:00
test_worker_skill_api.py feat(intelligent-eval): terminal-state discipline watchdogs (ADR-0011) 2026-08-20 14:34:17 +08:00
test_worker_task_resilience.py feat(intelligent-eval): terminal-state discipline watchdogs (ADR-0011) 2026-08-20 14:34:17 +08:00