{
  "accepted_by_selected_gate": false,
  "counts": {
    "failed": 6,
    "function_invocations": 7,
    "passed": 1
  },
  "gate": "response-state",
  "implementation": "always-noop",
  "results": [
    {
      "case_id": "minimal-empty",
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "expected_response": {
        "first": null,
        "skipped": 0,
        "status": "noop",
        "stored": 0
      },
      "failures": [],
      "observed": {
        "batch": [],
        "before_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "caught_exception": null,
        "connection_settings": {
          "autocommit_attribute": -1,
          "in_transaction_before": false,
          "isolation_level": null,
          "journal_mode": "delete",
          "synchronous": 2
        },
        "immediate_after_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "implementation": "always-noop",
        "in_transaction_after": false,
        "observation_kind": "Harness catches an exception from the real callable, if raised; this is not an uncaught child-process termination.",
        "response": {
          "first": null,
          "skipped": 0,
          "status": "noop",
          "stored": 0
        },
        "rows_after_reconnect": [
          [
            1,
            "preexisting"
          ]
        ]
      },
      "passed": true
    },
    {
      "case_id": "original-all-blank",
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "expected_response": {
        "reason": "no_usable_records",
        "skipped": 3,
        "status": "rejected",
        "stored": 0
      },
      "failures": [
        "response_mismatch"
      ],
      "observed": {
        "batch": [
          "",
          " ",
          "\t"
        ],
        "before_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "caught_exception": null,
        "connection_settings": {
          "autocommit_attribute": -1,
          "in_transaction_before": false,
          "isolation_level": null,
          "journal_mode": "delete",
          "synchronous": 2
        },
        "immediate_after_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "implementation": "always-noop",
        "in_transaction_after": false,
        "observation_kind": "Harness catches an exception from the real callable, if raised; this is not an uncaught child-process termination.",
        "response": {
          "first": null,
          "skipped": 0,
          "status": "noop",
          "stored": 0
        },
        "rows_after_reconnect": [
          [
            1,
            "preexisting"
          ]
        ]
      },
      "passed": false
    },
    {
      "case_id": "blank-singleton",
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ]
      ],
      "expected_response": {
        "reason": "no_usable_records",
        "skipped": 1,
        "status": "rejected",
        "stored": 0
      },
      "failures": [
        "response_mismatch"
      ],
      "observed": {
        "batch": [
          ""
        ],
        "before_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "caught_exception": null,
        "connection_settings": {
          "autocommit_attribute": -1,
          "in_transaction_before": false,
          "isolation_level": null,
          "journal_mode": "delete",
          "synchronous": 2
        },
        "immediate_after_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "implementation": "always-noop",
        "in_transaction_after": false,
        "observation_kind": "Harness catches an exception from the real callable, if raised; this is not an uncaught child-process termination.",
        "response": {
          "first": null,
          "skipped": 0,
          "status": "noop",
          "stored": 0
        },
        "rows_after_reconnect": [
          [
            1,
            "preexisting"
          ]
        ]
      },
      "passed": false
    },
    {
      "case_id": "single-valid",
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ],
        [
          2,
          "alpha"
        ]
      ],
      "expected_response": {
        "first": "alpha",
        "skipped": 0,
        "status": "applied",
        "stored": 1
      },
      "failures": [
        "response_mismatch",
        "stored_rows_mismatch"
      ],
      "observed": {
        "batch": [
          "alpha"
        ],
        "before_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "caught_exception": null,
        "connection_settings": {
          "autocommit_attribute": -1,
          "in_transaction_before": false,
          "isolation_level": null,
          "journal_mode": "delete",
          "synchronous": 2
        },
        "immediate_after_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "implementation": "always-noop",
        "in_transaction_after": false,
        "observation_kind": "Harness catches an exception from the real callable, if raised; this is not an uncaught child-process termination.",
        "response": {
          "first": null,
          "skipped": 0,
          "status": "noop",
          "stored": 0
        },
        "rows_after_reconnect": [
          [
            1,
            "preexisting"
          ]
        ]
      },
      "passed": false
    },
    {
      "case_id": "multiple-valid",
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ],
        [
          2,
          "alpha"
        ],
        [
          3,
          "beta"
        ]
      ],
      "expected_response": {
        "first": "alpha",
        "skipped": 0,
        "status": "applied",
        "stored": 2
      },
      "failures": [
        "response_mismatch",
        "stored_rows_mismatch"
      ],
      "observed": {
        "batch": [
          "alpha",
          "beta"
        ],
        "before_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "caught_exception": null,
        "connection_settings": {
          "autocommit_attribute": -1,
          "in_transaction_before": false,
          "isolation_level": null,
          "journal_mode": "delete",
          "synchronous": 2
        },
        "immediate_after_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "implementation": "always-noop",
        "in_transaction_after": false,
        "observation_kind": "Harness catches an exception from the real callable, if raised; this is not an uncaught child-process termination.",
        "response": {
          "first": null,
          "skipped": 0,
          "status": "noop",
          "stored": 0
        },
        "rows_after_reconnect": [
          [
            1,
            "preexisting"
          ]
        ]
      },
      "passed": false
    },
    {
      "case_id": "mixed",
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ],
        [
          2,
          "alpha"
        ],
        [
          3,
          "beta"
        ]
      ],
      "expected_response": {
        "first": "alpha",
        "skipped": 2,
        "status": "applied",
        "stored": 2
      },
      "failures": [
        "response_mismatch",
        "stored_rows_mismatch"
      ],
      "observed": {
        "batch": [
          "",
          "alpha",
          " \t",
          "beta"
        ],
        "before_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "caught_exception": null,
        "connection_settings": {
          "autocommit_attribute": -1,
          "in_transaction_before": false,
          "isolation_level": null,
          "journal_mode": "delete",
          "synchronous": 2
        },
        "immediate_after_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "implementation": "always-noop",
        "in_transaction_after": false,
        "observation_kind": "Harness catches an exception from the real callable, if raised; this is not an uncaught child-process termination.",
        "response": {
          "first": null,
          "skipped": 0,
          "status": "noop",
          "stored": 0
        },
        "rows_after_reconnect": [
          [
            1,
            "preexisting"
          ]
        ]
      },
      "passed": false
    },
    {
      "case_id": "padded-valid",
      "expected_after_rows": [
        [
          1,
          "preexisting"
        ],
        [
          2,
          " padded "
        ]
      ],
      "expected_response": {
        "first": " padded ",
        "skipped": 0,
        "status": "applied",
        "stored": 1
      },
      "failures": [
        "response_mismatch",
        "stored_rows_mismatch"
      ],
      "observed": {
        "batch": [
          " padded "
        ],
        "before_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "caught_exception": null,
        "connection_settings": {
          "autocommit_attribute": -1,
          "in_transaction_before": false,
          "isolation_level": null,
          "journal_mode": "delete",
          "synchronous": 2
        },
        "immediate_after_rows": [
          [
            1,
            "preexisting"
          ]
        ],
        "implementation": "always-noop",
        "in_transaction_after": false,
        "observation_kind": "Harness catches an exception from the real callable, if raised; this is not an uncaught child-process termination.",
        "response": {
          "first": null,
          "skipped": 0,
          "status": "noop",
          "stored": 0
        },
        "rows_after_reconnect": [
          [
            1,
            "preexisting"
          ]
        ]
      },
      "passed": false
    }
  ],
  "runtime": {
    "optimize_flag": 0,
    "python": "3.14.7",
    "python_build": "3.14.7 (main, Aug  5 2026, 10:29:49) [Clang 21.0.0 (clang-2100.1.1.101)]",
    "sqlite_library": "3.53.4"
  },
  "selection": "full-seven",
  "source_sha256": {
    "batch.py": "56400c302dcdb8df7121b1651216b8edd239d50b1a79aff3c172f9d90603711d",
    "cases.json": "e3e15d59c6bb8f0c554e2ad1043ba75dd2e84ce73f9c9af5712ecf28d8c6af60",
    "contract.json": "073b507b6cd5ac51ea41bcb5d3bc4e6d67e3f616db08e1114d871880164ba0dd",
    "harness.py": "67f35658af6e0113f886c77831fd53bccce97fd57106b139185490159d5af88f",
    "run_cases.py": "e3e3db1f018c9dda35966dcbca218b771e7c15d21db1a299d698fa20359f23cd"
  }
}
