mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-23 11:32:03 +00:00
完善口径管理、主动调查与后台任务,修复通用问题
- 完善口径编辑、只读试运行、统一质量验证与执行语义指纹 - 增加可执行指标约束、有预算的主动调查和过程评测 - 提取发布检查、证据读取与起草服务,支持任务停止、重试和检查点恢复 - 增加版本传递影响分析,修复并发覆盖、敏感值遮罩、异常评分及页面状态问题 - 修复 SQLite 复合查询追溯和 microVM 可选依赖缺失处理 - 纳入当前设计文档及部署配置调整 验证:相关主回归 3822 项通过,4 项跳过、8 项预期失败;补充回归通过。 前端构建、文案检查及 git diff --check 通过。 全量检查仍有环境权限、PostgreSQL 可选依赖和既有部署配置、SQLite 文件基线差异导致的未通过项。
This commit is contained in:
@@ -40,7 +40,7 @@ def _rows(base: dict, target: dict) -> list[list]:
|
||||
|
||||
async def test_a_driver_is_named_with_its_share_and_the_whole_shape_is_filled():
|
||||
result = await additive(label="销售额", hypothesis="华东拖累")
|
||||
assert result["method"] == "decompose.additive@1" and result["status"] == "ok"
|
||||
assert result["method"] == "decompose.additive@2" and result["status"] == "ok"
|
||||
assert result["verdict"] == {"code": "driver", "subjects": [["华东"]], "direction": "down"}
|
||||
assert result["phrase"] == "销售额下降 194(-8.7%),主要来自华东(-120,占 61.9%)"
|
||||
assert result["values"]["delta_total"] == "-194" and result["values"]["top_key"] == "华东"
|
||||
|
||||
Reference in New Issue
Block a user