AgentEvalTool/backend/agenteval/intelligent_eval
sinohqb 3852c6f87d
Some checks failed
CI / test (push) Failing after 4m16s
refactor(intelligent-eval): router logic down to service layer (P3, S2)
P3 deepening (issue #9): remove direct ORM from router handlers.

- decision_logs.py (new): create_decision_log / list_decision_logs service
- cron_pool.heartbeat: encapsulate heartbeat cron lookup + update + commit
- cron_pool.scale_to: encapsulate scale direction decision (if/elif/else)
- task_queue.get_next_task_with_eval: encapsulate eval-loading + dict-building
- Router endpoints now delegate to services, only handling HTTP-level
  validation (status codes, 404 translation via LookupError).

No observable behaviour change — 873 passed + 5 xfailed unchanged.
T3 router ORM contract guards (5/5) continue to pass.
2026-08-13 13:57:34 +08:00
..
__init__.py feat(intelligent-eval): add backend for OpenClaw-driven intelligent evaluation (tickets 01-04) 2026-08-05 03:18:52 +08:00
alerts.py fix(lint): resolve ruff lint errors 2026-08-12 11:13:19 +08:00
config_snapshot.py feat(intelligent-eval): implement config snapshot management (ticket 05) 2026-08-12 10:19:07 +08:00
cron_pool.py refactor(intelligent-eval): router logic down to service layer (P3, S2) 2026-08-13 13:57:34 +08:00
decision_logs.py refactor(intelligent-eval): router logic down to service layer (P3, S2) 2026-08-13 13:57:34 +08:00
decision.py refactor(intelligent-eval): converge scheduling domain (S1) + stuck-task settlement (S4) 2026-08-13 10:04:24 +08:00
domain.py refactor(intelligent-eval): converge scheduling domain (S1) + stuck-task settlement (S4) 2026-08-13 10:04:24 +08:00
fault_tolerance.py feat(intelligent-eval): implement fault tolerance and recovery (ticket 06) 2026-08-12 10:30:05 +08:00
lifecycle.py feat(intelligent-eval): implement config snapshot management (ticket 05) 2026-08-12 10:19:07 +08:00
metrics.py fix(lint): resolve ruff lint errors 2026-08-12 11:13:19 +08:00
models.py feat(intelligent-eval): add backend for OpenClaw-driven intelligent evaluation (tickets 01-04) 2026-08-05 03:18:52 +08:00
openclaw_client.py fix(deploy): resolve cron pool initialization issues 2026-08-12 13:40:18 +08:00
read_model.py fix(architecture): enforce lifecycle consistency 2026-08-07 10:59:27 +08:00
report.py feat(intelligent-eval): add backend for OpenClaw-driven intelligent evaluation (tickets 01-04) 2026-08-05 03:18:52 +08:00
repository.py fix(architecture): enforce lifecycle consistency 2026-08-07 10:59:27 +08:00
task_queue.py refactor(intelligent-eval): router logic down to service layer (P3, S2) 2026-08-13 13:57:34 +08:00