{
  "format": 1,
  "str_id": "STR-TMP-002-B4",
  "bench": "bench1_temp",
  "run": "B4",
  "drafts": [
    {
      "id": "DEF-001",
      "status": "draft",
      "severity": null,
      "priority": null,
      "tc": "TC-TMP07-FI-02",
      "title": "Stuck SDA → `ERR SENSOR`, no hang",
      "requirement": "TMP-07",
      "requirement_version": "1.1",
      "failures": [
        {
          "nodeid": "benches/bench1_temp/tests/test_tmp07.py::test_tc_tmp07_fi_02",
          "point": null,
          "message": "SpecTimeout: `TEMP 25`: not within 2000 ms (Q8 assumed: readings resume within 2000 ms), waited from 2025 to 4025 ms, last seen: 'ERR SENSOR' at 4000 ms",
          "artifact": "bench1_temp/B4/benches_bench1_temp_tests_test_tmp07.py_test_tc_tmp07_fi_02-0acf0180.txt",
          "waits": [
            {
              "device": "dut",
              "what": "a message",
              "reason": "TMP-02: period 1000 ± 50 ms",
              "within_ms": 1050,
              "start_ms": 0,
              "end_ms": 1000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "ERR SENSOR",
              "reason": "TMP-07: `ERR SENSOR` within 2000 ms",
              "within_ms": 2000,
              "start_ms": 1000,
              "end_ms": 2025,
              "checks": 3,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "`TEMP 25`",
              "reason": "Q8 assumed: readings resume within 2000 ms",
              "within_ms": 2000,
              "start_ms": 2025,
              "end_ms": 4025,
              "checks": 4,
              "met": false,
              "last": "'ERR SENSOR' at 4000 ms"
            }
          ]
        }
      ]
    },
    {
      "id": "DEF-002",
      "status": "draft",
      "severity": null,
      "priority": null,
      "tc": "TC-TMP07-FI-03",
      "title": "Single failed read → `ERR SENSOR` on that message",
      "requirement": "TMP-07",
      "requirement_version": "1.1",
      "failures": [
        {
          "nodeid": "benches/bench1_temp/tests/test_tmp07.py::test_tc_tmp07_fi_03",
          "point": null,
          "message": "AssertionError: Before the fault the device sent 'TEMP 25' at 1000 ms. After 1 failed read at 1000 ms it sent 'ERR SENSOR' at 2000 ms, 'ERR SENSOR' at 3000 ms. Expected `ERR SENSOR`, `TEMP 25`: `ERR SENSOR` in place of each failed read, then a reading.",
          "artifact": "bench1_temp/B4/benches_bench1_temp_tests_test_tmp07.py_test_tc_tmp07_fi_03-635f694c.txt",
          "waits": [
            {
              "device": "dut",
              "what": "a message",
              "reason": "TMP-02: period 1000 ± 50 ms",
              "within_ms": 1050,
              "start_ms": 0,
              "end_ms": 1000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "a message",
              "reason": "TMP-02: period 1000 ± 50 ms",
              "within_ms": 1050,
              "start_ms": 1000,
              "end_ms": 2000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "a message",
              "reason": "TMP-02: period 1000 ± 50 ms",
              "within_ms": 1050,
              "start_ms": 2000,
              "end_ms": 3000,
              "checks": 2,
              "met": true,
              "last": null
            }
          ]
        }
      ]
    },
    {
      "id": "DEF-003",
      "status": "draft",
      "severity": null,
      "priority": null,
      "tc": "TC-TMP07-PRF-01",
      "title": "`ERR SENSOR` latency within 2 s over repeated NACK faults",
      "requirement": "TMP-07",
      "requirement_version": "1.1",
      "failures": [
        {
          "nodeid": "benches/bench1_temp/tests/test_tmp07.py::test_tc_tmp07_prf_01[early fault onset after a message=1]",
          "point": "early fault onset after a message=1",
          "message": "SpecTimeout: `TEMP 25`: not within 2000 ms (Q8 assumed: readings resume within 2000 ms), waited from 2000 to 4000 ms, last seen: 'ERR SENSOR' at 4000 ms",
          "artifact": "bench1_temp/B4/mp_tests_test_tmp07.py_test_tc_tmp07_prf_01_early_fault_onset_after_a_message_1-210bc7af.txt",
          "waits": [
            {
              "device": "dut",
              "what": "a message",
              "reason": "TMP-02: period 1000 ± 50 ms",
              "within_ms": 1050,
              "start_ms": 0,
              "end_ms": 1000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "ERR SENSOR",
              "reason": "TMP-07: `ERR SENSOR` within 2000 ms",
              "within_ms": 2000,
              "start_ms": 1001,
              "end_ms": 2000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "`TEMP 25`",
              "reason": "Q8 assumed: readings resume within 2000 ms",
              "within_ms": 2000,
              "start_ms": 2000,
              "end_ms": 4000,
              "checks": 3,
              "met": false,
              "last": "'ERR SENSOR' at 4000 ms"
            }
          ]
        },
        {
          "nodeid": "benches/bench1_temp/tests/test_tmp07.py::test_tc_tmp07_prf_01[late fault onset after a message=999]",
          "point": "late fault onset after a message=999",
          "message": "SpecTimeout: `TEMP 25`: not within 2000 ms (Q8 assumed: readings resume within 2000 ms), waited from 2000 to 4000 ms, last seen: 'ERR SENSOR' at 4000 ms",
          "artifact": "bench1_temp/B4/p_tests_test_tmp07.py_test_tc_tmp07_prf_01_late_fault_onset_after_a_message_999-0c922be6.txt",
          "waits": [
            {
              "device": "dut",
              "what": "a message",
              "reason": "TMP-02: period 1000 ± 50 ms",
              "within_ms": 1050,
              "start_ms": 0,
              "end_ms": 1000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "ERR SENSOR",
              "reason": "TMP-07: `ERR SENSOR` within 2000 ms",
              "within_ms": 2000,
              "start_ms": 1999,
              "end_ms": 2000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "`TEMP 25`",
              "reason": "Q8 assumed: readings resume within 2000 ms",
              "within_ms": 2000,
              "start_ms": 2000,
              "end_ms": 4000,
              "checks": 3,
              "met": false,
              "last": "'ERR SENSOR' at 4000 ms"
            }
          ]
        }
      ]
    },
    {
      "id": "DEF-004",
      "status": "draft",
      "severity": null,
      "priority": null,
      "tc": "TC-TMP07-UPG-01",
      "title": "Sensor returns: readings resume within 2 s",
      "requirement": "TMP-07",
      "requirement_version": "1.1",
      "failures": [
        {
          "nodeid": "benches/bench1_temp/tests/test_tmp07.py::test_tc_tmp07_upg_01",
          "point": null,
          "message": "SpecTimeout: `TEMP 25`: not within 2000 ms (Q8 assumed: readings resume within 2000 ms), waited from 2000 to 4000 ms, last seen: 'ERR SENSOR' at 4000 ms",
          "artifact": "bench1_temp/B4/benches_bench1_temp_tests_test_tmp07.py_test_tc_tmp07_upg_01-3dcb7b0a.txt",
          "waits": [
            {
              "device": "dut",
              "what": "a message",
              "reason": "TMP-02: period 1000 ± 50 ms",
              "within_ms": 1050,
              "start_ms": 0,
              "end_ms": 1000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "ERR SENSOR",
              "reason": "TMP-07: `ERR SENSOR` within 2000 ms",
              "within_ms": 2000,
              "start_ms": 1000,
              "end_ms": 2000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "`TEMP 25`",
              "reason": "Q8 assumed: readings resume within 2000 ms",
              "within_ms": 2000,
              "start_ms": 2000,
              "end_ms": 4000,
              "checks": 3,
              "met": false,
              "last": "'ERR SENSOR' at 4000 ms"
            }
          ]
        }
      ]
    }
  ]
}
