style(提示词): 终验格式化检查点——两阶段写手用例格式对齐
This commit is contained in:
parent
c6bbf867ac
commit
da89a3241e
@ -905,9 +905,7 @@ def test_写手声明写作死结时任务明确失败且不产候选__e72a10(
|
||||
{"类型": "空对象"},
|
||||
{
|
||||
"类型": "文本",
|
||||
"文本": {
|
||||
"blocked": {"reason": "细纲要求角色在已确认死亡后出场,任何写法都必然虚构。"}
|
||||
},
|
||||
"文本": {"blocked": {"reason": "细纲要求角色在已确认死亡后出场,任何写法都必然虚构。"}},
|
||||
},
|
||||
]
|
||||
环境 = 生成环境
|
||||
@ -946,9 +944,7 @@ def test_写手声明写作死结时任务明确失败且不产候选__e72a10(
|
||||
assert 终态.状态 is 任务状态.已失败
|
||||
失败步 = [s for s in 终态.步骤 if s["state"] == "failed"]
|
||||
assert 失败步 and 失败步[0]["step_id"] == "无工具写作"
|
||||
assert not any(
|
||||
s["step_id"] == "检查与候选" and s["state"] == "completed" for s in 终态.步骤
|
||||
)
|
||||
assert not any(s["step_id"] == "检查与候选" and s["state"] == "completed" for s in 终态.步骤)
|
||||
with 环境["库"].连接(只读=True) as 连:
|
||||
消费数 = 连.execute(
|
||||
"SELECT COUNT(*) FROM muse_method_usage WHERE task_id=%s", (任务ID,)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user