{
  "fixtureId": "fixture-list-filter-count",
  "contractName": "countPassingScores(scores)",
  "lessonIds": [
    "handle-empty-list-safely",
    "filter-matching-items-from-list",
    "count-and-accumulate-across-list"
  ],
  "invalidInputPolicy": "scores must be an array of integers in [0, 100]; non-array or out-of-range item returns INVALID_SCORES_LIST.",
  "cases": [
    {
      "caseId": "lfc-empty",
      "kind": "boundary",
      "input": {
        "scores": []
      },
      "expected": 0,
      "reason": "Empty list safely returns 0 with zero iterations."
    },
    {
      "caseId": "lfc-single-pass",
      "kind": "boundary",
      "input": {
        "scores": [
          60
        ]
      },
      "expected": 1,
      "reason": "Single-item list at exact 60 threshold counts 1."
    },
    {
      "caseId": "lfc-mixed",
      "kind": "typical",
      "input": {
        "scores": [
          45,
          72,
          60,
          58
        ]
      },
      "expected": 2,
      "reason": "Counts 72 and 60 while skipping 45 and 58.",
      "catchesBug": "Catches resetting counter inside the loop or using > 60."
    },
    {
      "caseId": "lfc-invalid-item",
      "kind": "invalid",
      "input": {
        "scores": [
          70,
          -5
        ]
      },
      "expectedError": "INVALID_SCORES_LIST",
      "reason": "Negative score inside list violates valid range."
    }
  ]
}
