{
  "schemaVersion": 1,
  "evidenceType": "synthetic-software-examples",
  "description": "Handwritten test inputs, not captured device telemetry. No failure probability is estimated.",
  "sourceCommit": "f276b249fdc84019403491303479485030ac7c80",
  "cases": [
    {
      "name": "No health field",
      "report": {
        "device": {
          "protocol": "ATA"
        },
        "smartctl": {
          "exit_status": 0
        }
      },
      "options": {
        "processStatus": 0,
        "standardExitStatus": true
      },
      "expectedHealth": "unknown",
      "explanation": "Zero bits, but no health observation."
    },
    {
      "name": "Reported pass",
      "report": {
        "device": {
          "protocol": "ATA"
        },
        "smartctl": {
          "exit_status": 0
        },
        "smart_status": {
          "passed": true
        }
      },
      "options": {
        "processStatus": 0,
        "standardExitStatus": true
      },
      "expectedHealth": "passed",
      "explanation": "A reported pass, not predicted survival."
    },
    {
      "name": "Pass plus error log",
      "report": {
        "device": {
          "protocol": "ATA"
        },
        "smartctl": {
          "exit_status": 64
        },
        "smart_status": {
          "passed": true
        }
      },
      "options": {
        "processStatus": 64,
        "standardExitStatus": true
      },
      "expectedHealth": "passed",
      "explanation": "Bit 6 coexists with a passed health result."
    },
    {
      "name": "Command problem plus failure",
      "report": {
        "device": {
          "protocol": "ATA"
        },
        "smartctl": {
          "exit_status": 12
        },
        "smart_status": {
          "passed": false
        }
      },
      "options": {
        "processStatus": 12,
        "standardExitStatus": true
      },
      "expectedHealth": "failed",
      "explanation": "Bits 2 and 3 are both preserved."
    },
    {
      "name": "Pass with command problem",
      "report": {
        "device": {
          "protocol": "ATA"
        },
        "smartctl": {
          "exit_status": 4
        },
        "smart_status": {
          "passed": true
        }
      },
      "options": {
        "processStatus": 4,
        "standardExitStatus": true
      },
      "expectedHealth": "passed",
      "explanation": "Do not discard command failure or fallback warnings."
    },
    {
      "name": "Custom low-power zero",
      "report": {
        "device": {
          "protocol": "ATA"
        },
        "smartctl": {
          "exit_status": 0
        }
      },
      "options": {
        "processStatus": 0,
        "standardExitStatus": false
      },
      "expectedHealth": "not decoded",
      "explanation": "Custom -n standby,0 policy: bitmask interpretation refused."
    }
  ]
}
