{
  "id": "C017",
  "scenario": "错误率持续超标但每分钟数值不同；错误labels value模板导致pending反复重建，改annotations后固定实例在设定for后firing。",
  "expected_task": "错误与修正规则、时间序列及分时刻promtool告警断言。",
  "scope": "只测试Prometheus规则状态，不发送任何真实消息或通知。",
  "entry": "run.py",
  "dependencies": "Python3.8以上与官方Prometheus3.5.0中的promtool。将工具加入PATH，或把PROMTOOL设为它的绝对路径。程序会在临时目录生成真实规则与测试输入，再调用promtool test rules；断言不符时退出失败，不用自造PromQL求值器替代。"
}
