{
  "schemaVersion": 1,
  "kind": "educational-model",
  "generatedFor": "2026-10-23",
  "assumptions": [
    "Three ordered keys a < b < c; positive integer sequence labels, not time.",
    "Only point Put/Delete and one half-open range [a,c); all point history retained unless explicitly removed.",
    "A visible range hides covered point values at an equal or earlier sequence.",
    "No transactions, merge operands, timestamps, files, compaction, concurrency implementation or I/O."
  ],
  "limits": "Not RocksDB execution, a production algorithm, a performance measurement or a proof for the full engine.",
  "cases": [
    {
      "id": "partial-view",
      "question": "An unseen live key inside the range",
      "history": [
        {
          "key": "b",
          "seq": 1,
          "op": "put"
        },
        {
          "key": "a",
          "seq": 2,
          "op": "delete"
        },
        {
          "key": "c",
          "seq": 3,
          "op": "put"
        }
      ],
      "afterHistory": [
        {
          "key": "b",
          "seq": 1,
          "op": "put"
        },
        {
          "key": "a",
          "seq": 2,
          "op": "delete"
        },
        {
          "key": "c",
          "seq": 3,
          "op": "put"
        }
      ],
      "key": "b",
      "view": 3,
      "range": {
        "start": "a",
        "end": "c",
        "seq": 3
      },
      "action": "Infer [a,c) from only the a deletion and c boundary; miss b.",
      "lesson": "A partial view can hide a live interior key.",
      "before": "value@1",
      "after": "absent"
    },
    {
      "id": "newer-sequence",
      "question": "A new write after the scan",
      "history": [
        {
          "key": "a",
          "seq": 1,
          "op": "put"
        },
        {
          "key": "a",
          "seq": 2,
          "op": "delete"
        },
        {
          "key": "a",
          "seq": 4,
          "op": "put"
        }
      ],
      "afterHistory": [
        {
          "key": "a",
          "seq": 1,
          "op": "put"
        },
        {
          "key": "a",
          "seq": 2,
          "op": "delete"
        },
        {
          "key": "a",
          "seq": 4,
          "op": "put"
        }
      ],
      "key": "a",
      "view": 5,
      "range": {
        "start": "a",
        "end": "c",
        "seq": 5
      },
      "action": "Observe absence at 3, but stamp the summary with 5.",
      "lesson": "A later sequence can suppress a post-scan write.",
      "before": "value@4",
      "after": "absent"
    },
    {
      "id": "removed-point",
      "question": "An earlier snapshot still needs the marker",
      "history": [
        {
          "key": "a",
          "seq": 1,
          "op": "put"
        },
        {
          "key": "a",
          "seq": 2,
          "op": "delete"
        },
        {
          "key": "c",
          "seq": 3,
          "op": "put"
        }
      ],
      "afterHistory": [
        {
          "key": "a",
          "seq": 1,
          "op": "put"
        },
        {
          "key": "c",
          "seq": 3,
          "op": "put"
        }
      ],
      "key": "a",
      "view": 2,
      "range": {
        "start": "a",
        "end": "c",
        "seq": 3
      },
      "action": "Add summary at 3 and remove the point deletion at 2.",
      "lesson": "The old value reappears before the summary becomes visible.",
      "before": "absent",
      "after": "value@1"
    },
    {
      "id": "retained-sequence",
      "question": "Same snapshot, original markers retained",
      "history": [
        {
          "key": "a",
          "seq": 1,
          "op": "put"
        },
        {
          "key": "a",
          "seq": 2,
          "op": "delete"
        },
        {
          "key": "a",
          "seq": 4,
          "op": "put"
        }
      ],
      "afterHistory": [
        {
          "key": "a",
          "seq": 1,
          "op": "put"
        },
        {
          "key": "a",
          "seq": 2,
          "op": "delete"
        },
        {
          "key": "a",
          "seq": 4,
          "op": "put"
        }
      ],
      "key": "a",
      "view": 5,
      "range": {
        "start": "a",
        "end": "c",
        "seq": 3
      },
      "action": "Summarize absence at 3 with sequence 3; retain the point events.",
      "lesson": "The post-scan write remains visible.",
      "before": "value@4",
      "after": "value@4"
    },
    {
      "id": "excluded-end",
      "question": "The ending key is outside the interval",
      "history": [
        {
          "key": "a",
          "seq": 1,
          "op": "put"
        },
        {
          "key": "a",
          "seq": 2,
          "op": "delete"
        },
        {
          "key": "c",
          "seq": 3,
          "op": "put"
        }
      ],
      "afterHistory": [
        {
          "key": "a",
          "seq": 1,
          "op": "put"
        },
        {
          "key": "a",
          "seq": 2,
          "op": "delete"
        },
        {
          "key": "c",
          "seq": 3,
          "op": "put"
        }
      ],
      "key": "c",
      "view": 3,
      "range": {
        "start": "a",
        "end": "c",
        "seq": 3
      },
      "action": "Add [a,c) at 3; retain the point events.",
      "lesson": "Half-open coverage does not suppress c.",
      "before": "value@3",
      "after": "value@3"
    }
  ],
  "boundedCheck": {
    "historyCount": 1296,
    "candidates": 5184,
    "accepted": 2496,
    "comparisons": 44928,
    "mismatches": 0
  }
}
