{
  "format": 1,
  "str_id": "STR-TMP-002-B3",
  "bench": "bench1_temp",
  "run": "B3",
  "drafts": [
    {
      "id": "DEF-001",
      "status": "draft",
      "severity": null,
      "priority": null,
      "tc": "TC-TMP01-BND-02",
      "title": "Accuracy at the 85 °C edge",
      "requirement": "TMP-01",
      "requirement_version": "1.0",
      "failures": [
        {
          "nodeid": "benches/bench1_temp/tests/test_tmp01.py::test_tc_tmp01_bnd_02[upper edge=85.1]",
          "point": "upper edge=85.1",
          "message": "AssertionError: After setting 85.1 °C the device sent 'TEMP 85' at 2000 ms, 'TEMP 85' at 3000 ms. Expected `ERR RANGE` and no `TEMP` message (TMP-06, Q10 assumed: the range check compares the raw value).",
          "artifact": "bench1_temp/B3/benches_bench1_temp_tests_test_tmp01.py_test_tc_tmp01_bnd_02_upper_edge_85.1-db40c9fc.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": "silence allowed here",
              "within_ms": 1050,
              "start_ms": 1000,
              "end_ms": 2000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "a message",
              "reason": "silence allowed here",
              "within_ms": 1050,
              "start_ms": 2000,
              "end_ms": 3000,
              "checks": 2,
              "met": true,
              "last": null
            }
          ]
        }
      ]
    },
    {
      "id": "DEF-002",
      "status": "draft",
      "severity": null,
      "priority": null,
      "tc": "TC-TMP06-BND-01",
      "title": "85.1 °C → `ERR RANGE`",
      "requirement": "TMP-06",
      "requirement_version": "1.1",
      "failures": [
        {
          "nodeid": "benches/bench1_temp/tests/test_tmp06.py::test_tc_tmp06_bnd_01[upper edge=85.1]",
          "point": "upper edge=85.1",
          "message": "AssertionError: After setting 85.1 °C the device sent 'TEMP 85' at 2000 ms, 'TEMP 85' at 3000 ms. Expected `ERR RANGE` and no `TEMP` message (TMP-06, Q10 assumed: the range check compares the raw value).",
          "artifact": "bench1_temp/B3/benches_bench1_temp_tests_test_tmp06.py_test_tc_tmp06_bnd_01_upper_edge_85.1-d1a31d1c.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": "silence allowed here",
              "within_ms": 1050,
              "start_ms": 1000,
              "end_ms": 2000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "a message",
              "reason": "silence allowed here",
              "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-TMP06-NEG-01",
      "title": "120 °C → `ERR RANGE`",
      "requirement": "TMP-06",
      "requirement_version": "1.1",
      "failures": [
        {
          "nodeid": "benches/bench1_temp/tests/test_tmp06.py::test_tc_tmp06_neg_01",
          "point": null,
          "message": "AssertionError: After setting 120 °C the device sent 'TEMP 120' at 2000 ms, 'TEMP 120' at 3000 ms. Expected `ERR RANGE` within 2 messages (TMP-06).",
          "artifact": "bench1_temp/B3/benches_bench1_temp_tests_test_tmp06.py_test_tc_tmp06_neg_01-a854e7bb.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": "silence allowed here",
              "within_ms": 1050,
              "start_ms": 1000,
              "end_ms": 2000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "a message",
              "reason": "silence allowed here",
              "within_ms": 1050,
              "start_ms": 2000,
              "end_ms": 3000,
              "checks": 2,
              "met": true,
              "last": null
            }
          ]
        }
      ]
    },
    {
      "id": "DEF-004",
      "status": "draft",
      "severity": null,
      "priority": null,
      "tc": "TC-TMP06-OBS-01",
      "title": "Range error names its cause on the UART",
      "requirement": "TMP-06",
      "requirement_version": "1.1",
      "failures": [
        {
          "nodeid": "benches/bench1_temp/tests/test_tmp06.py::test_tc_tmp06_obs_01",
          "point": null,
          "message": "AssertionError: After setting 120 °C the device sent 'TEMP 120' at 2000 ms, 'TEMP 120' at 3000 ms. Expected `ERR RANGE` within 2 messages and no `ERR SENSOR`.",
          "artifact": "bench1_temp/B3/benches_bench1_temp_tests_test_tmp06.py_test_tc_tmp06_obs_01-471b27b7.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": "silence allowed here",
              "within_ms": 1050,
              "start_ms": 1000,
              "end_ms": 2000,
              "checks": 2,
              "met": true,
              "last": null
            },
            {
              "device": "dut",
              "what": "a message",
              "reason": "silence allowed here",
              "within_ms": 1050,
              "start_ms": 2000,
              "end_ms": 3000,
              "checks": 2,
              "met": true,
              "last": null
            }
          ]
        }
      ]
    },
    {
      "id": "DEF-005",
      "status": "draft",
      "severity": null,
      "priority": null,
      "tc": "TC-TMP06-UPG-01",
      "title": "Back in range: the first message is a reading within 1000 ± 50 ms",
      "requirement": "TMP-06",
      "requirement_version": "1.1",
      "failures": [
        {
          "nodeid": "benches/bench1_temp/tests/test_tmp06.py::test_tc_tmp06_upg_01",
          "point": null,
          "message": "SpecTimeout: ERR RANGE: not within 2100 ms (TMP-06: `ERR RANGE` within the settle window, 2 messages of at most 1050 ms each (TMP-02)), waited from 1000 to 3100 ms, last seen: 'TEMP 120' at 3000 ms",
          "artifact": "bench1_temp/B3/benches_bench1_temp_tests_test_tmp06.py_test_tc_tmp06_upg_01-cf9b4638.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 RANGE",
              "reason": "TMP-06: `ERR RANGE` within the settle window, 2 messages of at most 1050 ms each (TMP-02)",
              "within_ms": 2100,
              "start_ms": 1000,
              "end_ms": 3100,
              "checks": 4,
              "met": false,
              "last": "'TEMP 120' at 3000 ms"
            }
          ]
        }
      ]
    }
  ]
}
