{
  "fixtureId": "threshold-and-not-contract",
  "contractName": "evaluateQuizAndGate",
  "lessonIds": [
    "choose-inclusive-or-strict-threshold",
    "invert-rule-with-not"
  ],
  "invalidInputPolicy": "Reject score outside 0..100, non-numeric score, or non-boolean isFull with INVALID_INPUT.",
  "cases": [
    {
      "caseId": "dec-typical-pass-open",
      "kind": "typical",
      "input": {
        "score": 75,
        "isFull": false
      },
      "expected": {
        "passed": true,
        "honors": false,
        "canEnter": true
      },
      "reason": "Typical passing score (75) with open room (NOT isFull -> true).",
      "catchesBug": "Catches inverted >= or inverted NOT evaluation."
    },
    {
      "caseId": "dec-boundary-exact-70-full",
      "kind": "boundary",
      "input": {
        "score": 70,
        "isFull": true
      },
      "expected": {
        "passed": true,
        "honors": false,
        "canEnter": false
      },
      "reason": "Exact pass cutoff (70) under inclusive >= 70 with room full (NOT true -> false).",
      "catchesBug": "Catches using strict > 70 instead of >= 70, or forgetting NOT on isFull."
    },
    {
      "caseId": "dec-boundary-exact-90-open",
      "kind": "boundary",
      "input": {
        "score": 90,
        "isFull": false
      },
      "expected": {
        "passed": true,
        "honors": false,
        "canEnter": true
      },
      "reason": "Exact honors cutoff (90) under strict > 90 ('more than 90') with open room.",
      "catchesBug": "Catches using inclusive >= 90 when the plain-language rule says 'more than 90'."
    },
    {
      "caseId": "dec-invalid-nonboolean-flag",
      "kind": "invalid",
      "input": {
        "score": 85,
        "isFull": "yes"
      },
      "expectedError": "INVALID_INPUT",
      "reason": "Non-boolean isFull string 'yes' must be rejected under strict input validation.",
      "catchesBug": "Catches truthy-string bugs where NOT 'yes' silently evaluates instead of rejecting invalid type."
    }
  ]
}
