{
  "schemaVersion": 1,
  "kind": "controlled-software-experiment",
  "generatedAt": "2026-10-18T15:09:19.527861+00:00",
  "harnessSha256": "ff1a72bebd11b34cddefab046838a6729f2fa64f6ab6312e22909104858db886",
  "environment": {
    "python": "3.12.3",
    "sqlite": "3.45.1",
    "sqliteSourceId": "2024-01-30 16:01:20 e876e51a0ed5c5b3126f52e532044363a014bc594cfefa87ffb5b82257ccalt1",
    "compileOptions": [
      "ATOMIC_INTRINSICS=1",
      "COMPILER=gcc-13.3.0",
      "DEFAULT_AUTOVACUUM",
      "DEFAULT_CACHE_SIZE=-2000",
      "DEFAULT_FILE_FORMAT=4",
      "DEFAULT_JOURNAL_SIZE_LIMIT=-1",
      "DEFAULT_MMAP_SIZE=0",
      "DEFAULT_PAGE_SIZE=4096",
      "DEFAULT_PCACHE_INITSZ=20",
      "DEFAULT_RECURSIVE_TRIGGERS",
      "DEFAULT_SECTOR_SIZE=4096",
      "DEFAULT_SYNCHRONOUS=2",
      "DEFAULT_WAL_AUTOCHECKPOINT=1000",
      "DEFAULT_WAL_SYNCHRONOUS=2",
      "DEFAULT_WORKER_THREADS=0",
      "DIRECT_OVERFLOW_READ",
      "ENABLE_COLUMN_METADATA",
      "ENABLE_DBSTAT_VTAB",
      "ENABLE_FTS3",
      "ENABLE_FTS3_PARENTHESIS",
      "ENABLE_FTS3_TOKENIZER",
      "ENABLE_FTS4",
      "ENABLE_FTS5",
      "ENABLE_LOAD_EXTENSION",
      "ENABLE_MATH_FUNCTIONS",
      "ENABLE_PREUPDATE_HOOK",
      "ENABLE_RTREE",
      "ENABLE_SESSION",
      "ENABLE_STMTVTAB",
      "ENABLE_UNLOCK_NOTIFY",
      "ENABLE_UPDATE_DELETE_LIMIT",
      "HAVE_ISNAN",
      "LIKE_DOESNT_MATCH_BLOBS",
      "MALLOC_SOFT_LIMIT=1024",
      "MAX_ATTACHED=10",
      "MAX_COLUMN=2000",
      "MAX_COMPOUND_SELECT=500",
      "MAX_DEFAULT_PAGE_SIZE=32768",
      "MAX_EXPR_DEPTH=1000",
      "MAX_FUNCTION_ARG=127",
      "MAX_LENGTH=1000000000",
      "MAX_LIKE_PATTERN_LENGTH=50000",
      "MAX_MMAP_SIZE=0x7fff0000",
      "MAX_PAGE_COUNT=0xfffffffe",
      "MAX_PAGE_SIZE=65536",
      "MAX_SCHEMA_RETRY=25",
      "MAX_SQL_LENGTH=1000000000",
      "MAX_TRIGGER_DEPTH=1000",
      "MAX_VARIABLE_NUMBER=250000",
      "MAX_VDBE_OP=250000000",
      "MAX_WORKER_THREADS=8",
      "MUTEX_PTHREADS",
      "SECURE_DELETE",
      "SOUNDEX",
      "SYSTEM_MALLOC",
      "TEMP_STORE=1",
      "THREADSAFE=1",
      "USE_URI"
    ],
    "platform": "Linux",
    "machine": "x86_64"
  },
  "fixtureSchema": "CREATE TABLE sample(\n id INTEGER PRIMARY KEY, x INTEGER NOT NULL,\n stored INTEGER GENERATED ALWAYS AS(score(x)) STORED UNIQUE);",
  "sourceRows": [
    [
      1,
      1,
      1
    ],
    [
      2,
      2,
      2
    ],
    [
      3,
      3,
      3
    ]
  ],
  "query": "SELECT id,x,stored FROM sample ORDER BY id",
  "dumpSql": "BEGIN TRANSACTION;\nCREATE TABLE sample(\n id INTEGER PRIMARY KEY, x INTEGER NOT NULL,\n stored INTEGER GENERATED ALWAYS AS(score(x)) STORED UNIQUE);\nINSERT INTO \"sample\" VALUES(1,1);\nINSERT INTO \"sample\" VALUES(2,2);\nINSERT INTO \"sample\" VALUES(3,3);\nCOMMIT;\n",
  "dumpSha256": "f974f304cbf38886f50b1ee97460ae19fbcb484a55ea0ab573233f493b2365ee",
  "sourceSha256Before": "d79610b38905151641aab7b5358726e10d2ec1388204081fb50ab487886fc69c",
  "sourceSha256After": "d79610b38905151641aab7b5358726e10d2ec1388204081fb50ab487886fc69c",
  "cases": [
    {
      "stage": "original",
      "callback": "x",
      "finalizer": "commit",
      "error": null,
      "beforeFinalizer": {
        "tablePresent": true,
        "rows": [
          [
            1,
            1,
            1
          ],
          [
            2,
            2,
            2
          ],
          [
            3,
            3,
            3
          ]
        ],
        "sentinel": [
          [
            "keep"
          ]
        ],
        "inTransaction": false,
        "integrityCheck": [
          "ok"
        ]
      },
      "afterFinalizer": {
        "tablePresent": true,
        "rows": [
          [
            1,
            1,
            1
          ],
          [
            2,
            2,
            2
          ],
          [
            3,
            3,
            3
          ]
        ],
        "sentinel": [
          [
            "keep"
          ]
        ],
        "inTransaction": false,
        "integrityCheck": [
          "ok"
        ]
      },
      "reopened": {
        "tablePresent": true,
        "rows": [
          [
            1,
            1,
            1
          ],
          [
            2,
            2,
            2
          ],
          [
            3,
            3,
            3
          ]
        ],
        "sentinel": [
          [
            "keep"
          ]
        ],
        "inTransaction": false,
        "integrityCheck": [
          "ok"
        ]
      },
      "reopenSha256Before": "b80ff99b99885bb9ef399e8f0d467fadbb08511245b590a2f343f552c9e6e9eb",
      "reopenSha256After": "b80ff99b99885bb9ef399e8f0d467fadbb08511245b590a2f343f552c9e6e9eb"
    },
    {
      "stage": "changed-rollback",
      "callback": "(x - 1) // 2",
      "finalizer": "rollback",
      "error": {
        "name": "SQLITE_CONSTRAINT_UNIQUE",
        "code": 2067,
        "message": "UNIQUE constraint failed: sample.stored"
      },
      "beforeFinalizer": {
        "tablePresent": true,
        "rows": [
          [
            1,
            1,
            0
          ]
        ],
        "sentinel": [
          [
            "keep"
          ]
        ],
        "inTransaction": true,
        "integrityCheck": [
          "ok"
        ]
      },
      "afterFinalizer": {
        "tablePresent": false,
        "rows": [],
        "sentinel": [
          [
            "keep"
          ]
        ],
        "inTransaction": false,
        "integrityCheck": [
          "ok"
        ]
      },
      "reopened": {
        "tablePresent": false,
        "rows": [],
        "sentinel": [
          [
            "keep"
          ]
        ],
        "inTransaction": false,
        "integrityCheck": [
          "ok"
        ]
      },
      "reopenSha256Before": "d337045df38add1f1046de4fd1c99d32a60ba0b7430f67e85c82bd7b6df9906c",
      "reopenSha256After": "d337045df38add1f1046de4fd1c99d32a60ba0b7430f67e85c82bd7b6df9906c"
    },
    {
      "stage": "changed-commit",
      "callback": "(x - 1) // 2",
      "finalizer": "commit",
      "error": {
        "name": "SQLITE_CONSTRAINT_UNIQUE",
        "code": 2067,
        "message": "UNIQUE constraint failed: sample.stored"
      },
      "beforeFinalizer": {
        "tablePresent": true,
        "rows": [
          [
            1,
            1,
            0
          ]
        ],
        "sentinel": [
          [
            "keep"
          ]
        ],
        "inTransaction": true,
        "integrityCheck": [
          "ok"
        ]
      },
      "afterFinalizer": {
        "tablePresent": true,
        "rows": [
          [
            1,
            1,
            0
          ]
        ],
        "sentinel": [
          [
            "keep"
          ]
        ],
        "inTransaction": false,
        "integrityCheck": [
          "ok"
        ]
      },
      "reopened": {
        "tablePresent": true,
        "rows": [
          [
            1,
            1,
            0
          ]
        ],
        "sentinel": [
          [
            "keep"
          ]
        ],
        "inTransaction": false,
        "integrityCheck": [
          "ok"
        ]
      },
      "reopenSha256Before": "75ca9ce855ce964868bd7a578a1c59201ae6f10316bdb6bb551280f7bb429400",
      "reopenSha256After": "75ca9ce855ce964868bd7a578a1c59201ae6f10316bdb6bb551280f7bb429400"
    }
  ],
  "limitations": [
    "Three constructed replay outcomes; deliberate callback incompatibility, not an engine defect.",
    "Python iterdump/executescript with default legacy transaction control and explicit dump BEGIN.",
    "Default UNIQUE ABORT semantics, separate INSERT statements, no custom conflict algorithms.",
    "Closed disposable DELETE-journal files, no concurrent writers, WAL, crash or power loss.",
    "Committing after a replay exception is a negative control, not recovery advice.",
    "No frequency, performance or cross-version generalization."
  ]
}
