{
  "authority": "Newly authored fictional teaching contract, not approved product/customer intent. Literal outcomes written before execution; not computed using PrefixOK or either scan.",
  "cases": [
    {
      "id": "nil",
      "input": null,
      "expectedIndex": 0
    },
    {
      "id": "empty",
      "input": [],
      "expectedIndex": 0
    },
    {
      "id": "negative-first",
      "input": [
        -1,
        2
      ],
      "expectedIndex": 0
    },
    {
      "id": "negative-middle",
      "input": [
        2,
        -1,
        3
      ],
      "expectedIndex": 1
    },
    {
      "id": "negative-last",
      "input": [
        2,
        0,
        -1
      ],
      "expectedIndex": 2
    },
    {
      "id": "zero-only",
      "input": [
        0
      ],
      "expectedIndex": 1
    },
    {
      "id": "all-nonnegative",
      "input": [
        1,
        0,
        3
      ],
      "expectedIndex": 3
    }
  ]
}
