{
  "schemaVersion": 1,
  "kind": "synthetic educational examples",
  "units": "page-number differences; no time, bandwidth or byte measurements",
  "ordering": "history is oldest to newest; windows inspect its suffix",
  "scope": "Strict-majority selection only. No kernel warm-up, cache, adaptive prefetch sizing, concurrency, I/O or fallback model.",
  "seed": null,
  "randomness": "none",
  "cases": [
    {
      "id": "balanced-streams",
      "history": [
        1,
        2,
        1,
        2,
        1,
        2,
        1,
        2
      ],
      "initialWindow": 2,
      "result": {
        "trend": null,
        "attempts": [
          {
            "candidate": 1,
            "count": 1,
            "size": 2,
            "majority": null
          },
          {
            "candidate": 1,
            "count": 2,
            "size": 4,
            "majority": null
          },
          {
            "candidate": 1,
            "count": 4,
            "size": 8,
            "majority": null
          }
        ]
      },
      "fullHistory": {
        "candidate": 1,
        "count": 4,
        "size": 8,
        "majority": null
      }
    },
    {
      "id": "recent-phase-wins",
      "history": [
        -3,
        -3,
        -3,
        -3,
        -3,
        -3,
        2,
        2
      ],
      "initialWindow": 2,
      "result": {
        "trend": 2,
        "attempts": [
          {
            "candidate": 2,
            "count": 2,
            "size": 2,
            "majority": 2
          }
        ]
      },
      "fullHistory": {
        "candidate": -3,
        "count": 6,
        "size": 8,
        "majority": -3
      }
    },
    {
      "id": "expand-after-ties",
      "history": [
        2,
        2,
        2,
        2,
        2,
        -3,
        2,
        -3
      ],
      "initialWindow": 2,
      "result": {
        "trend": 2,
        "attempts": [
          {
            "candidate": 2,
            "count": 1,
            "size": 2,
            "majority": null
          },
          {
            "candidate": 2,
            "count": 2,
            "size": 4,
            "majority": null
          },
          {
            "candidate": 2,
            "count": 6,
            "size": 8,
            "majority": 2
          }
        ]
      },
      "fullHistory": {
        "candidate": 2,
        "count": 6,
        "size": 8,
        "majority": 2
      }
    }
  ],
  "futureCounterexample": {
    "history": [
      1,
      1,
      1,
      1,
      1,
      1,
      1,
      1
    ],
    "lastPage": 100,
    "trend": 1,
    "predictedPages": [
      101,
      102,
      103,
      104
    ],
    "futurePages": [
      110,
      120,
      130,
      140
    ],
    "matchingPredictions": 0,
    "predictionCount": 4,
    "interpretation": "A verified past trend supplies no guarantee about an unseen next phase."
  }
}
