fix(investigation): allow autonomous model baseline recovery
This commit is contained in:
@@ -46,7 +46,7 @@ def test_work_order_handling_and_legacy_scada_replay_receive_separate_skills():
|
||||
assert replay["workflow"] == "burst_report"
|
||||
assert "影响说明" in handling["instructions"]
|
||||
assert "supply_affected_nodes" in handling["instructions"]
|
||||
assert "run_burst_location" not in handling["instructions"]
|
||||
assert "run_burst_location" in handling["instructions"]
|
||||
assert "run_burst_location" in replay["instructions"]
|
||||
|
||||
|
||||
@@ -66,14 +66,14 @@ def test_pollution_instructions_offer_work_order_before_simulation_and_reuse_the
|
||||
assert text.index("propose_task_action") < text.index("run_contaminant_simulation")
|
||||
assert "include_impact_coverage=true" in text and "不等模拟完成才发起工单" in text
|
||||
assert "同一 task_id" in text and "不覆盖已审核工单或绕过版本校验" in text
|
||||
assert "模型曲线不填观测专用 chart.scada" in text
|
||||
assert "模型曲线不填观测专用chart.scada" in text
|
||||
assert "不能把浊度、余氯下降或感官描述直接换算成污染源浓度" in text
|
||||
|
||||
|
||||
def test_pollution_workflow_distinguishes_protection_flushing_and_clearance():
|
||||
skill = read_work_order_skill("water_pollution", include_content=True)
|
||||
text = skill["instructions"]
|
||||
assert skill["version"] == "1.2.0"
|
||||
assert skill["version"] == "1.2.1"
|
||||
assert text.index("## 4. 源头控制与用户隔离") < text.index("## 5. 污染物清除与分步冲洗")
|
||||
assert "opened_valves" in text and "closed_valves" in text
|
||||
assert "不继承上次模拟" in text and "排放去向" in text
|
||||
|
||||
Reference in New Issue
Block a user