mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-23 17:42:00 +00:00
完善口径管理、主动调查与后台任务,修复通用问题
- 完善口径编辑、只读试运行、统一质量验证与执行语义指纹 - 增加可执行指标约束、有预算的主动调查和过程评测 - 提取发布检查、证据读取与起草服务,支持任务停止、重试和检查点恢复 - 增加版本传递影响分析,修复并发覆盖、敏感值遮罩、异常评分及页面状态问题 - 修复 SQLite 复合查询追溯和 microVM 可选依赖缺失处理 - 纳入当前设计文档及部署配置调整 验证:相关主回归 3822 项通过,4 项跳过、8 项预期失败;补充回归通过。 前端构建、文案检查及 git diff --check 通过。 全量检查仍有环境权限、PostgreSQL 可选依赖和既有部署配置、SQLite 文件基线差异导致的未通过项。
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
- 数据问题:两边查询结果上「查询区间里这张表没有数据」(快照的 no_data)fail,SQL 检查的错误级结果(快照的 checks,level
|
||||
error)warn。
|
||||
|
||||
判定:有 fail → incomparable;只有 warn → conditional;其余 comparable(有核对不了的项照实写在判定语后面)。
|
||||
判定:有 fail → incomparable;有 warn 或 unknown → conditional;全部核对通过才是 comparable。
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -437,7 +437,7 @@ def _decide(checks: list[Check], base: Span | None, target: Span | None) -> Outc
|
||||
fails = [r for c in checks if c.status == "fail" for r in c.reasons]
|
||||
warns = [r for c in checks if c.status == "warn" for r in c.reasons]
|
||||
unknown = [CHECK_NAMES[c.id] for c in checks if c.status == "unknown"]
|
||||
verdict = "incomparable" if fails else "conditional" if warns else "comparable"
|
||||
verdict = "incomparable" if fails else "conditional" if warns or unknown else "comparable"
|
||||
reasons = fails + warns
|
||||
structure = next((c.reasons[0] for c in checks if c.id == "same_query" and c.status == "fail" and c.reasons), None)
|
||||
return Outcome(checks, verdict, reasons, unknown, ph.comparable_phrase(verdict, reasons, unknown), structure,
|
||||
|
||||
Reference in New Issue
Block a user