mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-20 18:41:59 +00:00
完善口径管理、主动调查与后台任务,修复通用问题
- 完善口径编辑、只读试运行、统一质量验证与执行语义指纹 - 增加可执行指标约束、有预算的主动调查和过程评测 - 提取发布检查、证据读取与起草服务,支持任务停止、重试和检查点恢复 - 增加版本传递影响分析,修复并发覆盖、敏感值遮罩、异常评分及页面状态问题 - 修复 SQLite 复合查询追溯和 microVM 可选依赖缺失处理 - 纳入当前设计文档及部署配置调整 验证:相关主回归 3822 项通过,4 项跳过、8 项预期失败;补充回归通过。 前端构建、文案检查及 git diff --check 通过。 全量检查仍有环境权限、PostgreSQL 可选依赖和既有部署配置、SQLite 文件基线差异导致的未通过项。
This commit is contained in:
@@ -368,7 +368,12 @@ async def test_an_estimate_that_cannot_be_computed_still_marks_the_calls_unprice
|
||||
async def no_estimate(*args, **kwargs):
|
||||
return None
|
||||
|
||||
async def no_sources(*args, **kwargs):
|
||||
return []
|
||||
|
||||
monkeypatch.setattr(runner, "estimate", no_estimate)
|
||||
# 这道反问题只验证记账;不把其他测试留下的数据源纳入目录快照,以免先触发数据源数量上限。
|
||||
monkeypatch.setattr(runner.EvalExecution, "_sources", no_sources)
|
||||
before = await eval_spend.daily()
|
||||
suite_id = await es.make_suite("none", cases=[{"question": "问 1", "expectations": [{"kind": "ask"}]}],
|
||||
budget={"max_parallel": 1})
|
||||
|
||||
Reference in New Issue
Block a user