{
  "evidenceType": "synthetic-test-cases",
  "description": "Invented statx records for testing interpretation; not measured files or benchmark data.",
  "cases": [
    {
      "label": "No alignment result",
      "record": {
        "stx_mask": 0,
        "stx_dio_mem_align": 0,
        "stx_dio_offset_align": 0
      },
      "expected": {
        "state": "unknown"
      }
    },
    {
      "label": "Reported unsupported",
      "record": {
        "stx_mask": 8192,
        "stx_dio_mem_align": 0,
        "stx_dio_offset_align": 0
      },
      "expected": {
        "state": "unsupported"
      }
    },
    {
      "label": "General rule only",
      "record": {
        "stx_mask": 8192,
        "stx_dio_mem_align": 4096,
        "stx_dio_offset_align": 512
      },
      "expected": {
        "state": "reported",
        "memoryBytes": 4096,
        "writeBytes": 512,
        "readBytes": 512,
        "readRule": "general"
      }
    },
    {
      "label": "Read field reported as zero",
      "record": {
        "stx_mask": 139264,
        "stx_dio_mem_align": 4096,
        "stx_dio_offset_align": 4096,
        "stx_dio_read_offset_align": 0
      },
      "expected": {
        "state": "reported",
        "memoryBytes": 4096,
        "writeBytes": 4096,
        "readBytes": 4096,
        "readRule": "general"
      }
    },
    {
      "label": "Less restrictive read offset",
      "record": {
        "stx_mask": 139264,
        "stx_dio_mem_align": 4096,
        "stx_dio_offset_align": 4096,
        "stx_dio_read_offset_align": 512
      },
      "expected": {
        "state": "reported",
        "memoryBytes": 4096,
        "writeBytes": 4096,
        "readBytes": 512,
        "readRule": "read-specific"
      }
    },
    {
      "label": "Contradictory reported fields",
      "record": {
        "stx_mask": 8192,
        "stx_dio_mem_align": 4096,
        "stx_dio_offset_align": 0
      },
      "expected": {
        "state": "inconsistent"
      }
    }
  ]
}
