{
  "oracle_origin": "Literal response and ordered SQLite-row expectations authored from the fictional contract before execution; not calculated by the worker.",
  "cases": [
    {
      "id": "minimal-empty",
      "batch": [],
      "expected_response": {
        "status": "noop",
        "first": null,
        "stored": 0,
        "skipped": 0
      },
      "expected_before_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "selections": [
        "full-seven"
      ]
    },
    {
      "id": "original-all-blank",
      "batch": [
        "",
        " ",
        "\t"
      ],
      "expected_response": {
        "status": "rejected",
        "reason": "no_usable_records",
        "stored": 0,
        "skipped": 3
      },
      "expected_before_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "selections": [
        "full-seven"
      ]
    },
    {
      "id": "blank-singleton",
      "batch": [
        ""
      ],
      "expected_response": {
        "status": "rejected",
        "reason": "no_usable_records",
        "stored": 0,
        "skipped": 1
      },
      "expected_before_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "selections": [
        "full-seven"
      ]
    },
    {
      "id": "single-valid",
      "batch": [
        "alpha"
      ],
      "expected_response": {
        "status": "applied",
        "first": "alpha",
        "stored": 1,
        "skipped": 0
      },
      "expected_before_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ],
        [
          2,
          "alpha"
        ]
      ],
      "selections": [
        "existing-populated",
        "full-seven"
      ]
    },
    {
      "id": "multiple-valid",
      "batch": [
        "alpha",
        "beta"
      ],
      "expected_response": {
        "status": "applied",
        "first": "alpha",
        "stored": 2,
        "skipped": 0
      },
      "expected_before_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ],
        [
          2,
          "alpha"
        ],
        [
          3,
          "beta"
        ]
      ],
      "selections": [
        "existing-populated",
        "full-seven"
      ]
    },
    {
      "id": "mixed",
      "batch": [
        "",
        "alpha",
        " \t",
        "beta"
      ],
      "expected_response": {
        "status": "applied",
        "first": "alpha",
        "stored": 2,
        "skipped": 2
      },
      "expected_before_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ],
        [
          2,
          "alpha"
        ],
        [
          3,
          "beta"
        ]
      ],
      "selections": [
        "full-seven"
      ]
    },
    {
      "id": "padded-valid",
      "batch": [
        " padded "
      ],
      "expected_response": {
        "status": "applied",
        "first": " padded ",
        "stored": 1,
        "skipped": 0
      },
      "expected_before_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ],
        [
          2,
          " padded "
        ]
      ],
      "selections": [
        "full-seven"
      ]
    }
  ]
}
