[
  {
    "id": "catalogue-tilt-mask",
    "configuration": "64 × 48 opaque plane, dz/dx = +0.001, dz/dy = −0.0005. Center dropout block 9 × 7. 5×, ±15 µm, z0=0, noise off.",
    "expected": {
      "sx": 0.001,
      "sy": -0.0005,
      "invalidCount": 63,
      "SaUm": 0,
      "SqUm": 0
    },
    "tolerances": {
      "sx": 1e-8,
      "sy": 1e-8,
      "invalidCount": 0,
      "SaUm": 0.000001,
      "SqUm": 0.000001
    },
    "actual": {
      "sx": 0.0009999999999999987,
      "sy": -0.000499999999999999,
      "invalidCount": 63,
      "SaUm": 1.0984392891788328e-15,
      "SqUm": 1.353321165816392e-15
    },
    "pass": true
  },
  {
    "id": "inert-step",
    "configuration": "Height difference 5 µm, same tilt on both terraces. 9 × 7 prescribed dropout. ±15 µm, noise off. Exclude two seam columns from shared-plane and step estimates only.",
    "expected": {
      "stepUm": 5,
      "sx": 0.001,
      "sy": -0.0005,
      "SaUm": 0
    },
    "tolerances": {
      "stepUm": 0.000001,
      "sx": 1e-8,
      "sy": 1e-8,
      "SaUm": 0.000001
    },
    "actual": {
      "stepUm": 4.999999999999998,
      "sx": 0.0010000000000000018,
      "sy": -0.0004999999999999985,
      "SaUm": 1.192189468214037e-15
    },
    "pass": true
  },
  {
    "id": "periodic-roughness",
    "configuration": "64 horizontal samples, centered cosine with 8 periods of amplitude 0.2 µm, no tilt, no dropout, noise off. Equal phase samples centered on pixel centers.",
    "expected": {
      "SaUm": 0.1306562964876377,
      "SqUm": 0.1414213562373095
    },
    "tolerances": {
      "SaUm": 0.000001,
      "SqUm": 0.000001
    },
    "actual": {
      "SaUm": 0.13065629648763108,
      "SqUm": 0.1414213562373092
    },
    "pass": true
  },
  {
    "id": "scan-window",
    "configuration": "Centered inert 6 µm step, plane untilted, scan center 0, ±2 µm half-span, no dropout, noise off.",
    "expected": {
      "invalidCount": 1536,
      "rangeCount": 1536,
      "stepUm": null
    },
    "tolerances": {
      "invalidCount": 0,
      "rangeCount": 0,
      "stepUm": 0
    },
    "actual": {
      "invalidCount": 1536,
      "rangeCount": 1536,
      "stepUm": null
    },
    "pass": true
  },
  {
    "id": "no-coupon",
    "configuration": "Remove coupon while stage is at load position; request measurement.",
    "expected": "No scan: load a coupon.",
    "actual": "No scan: load a coupon.",
    "pass": true
  }
]
