{
  "python": "3.12.14",
  "method": "32 independent Python calculations; key dates, block index lists, daily balances and paired changes checked against explicit prior expectations. Original teaching data.",
  "cases": [
    {
      "id": "dates-dmy",
      "kind": "dates",
      "x": {
        "raw": "03/04/2026",
        "order": "DMY",
        "guess": "normalize"
      },
      "expected": {
        "raw": "03/04/2026",
        "order": "DMY",
        "candidates": [
          {
            "order": "DMY",
            "date": "2026-04-03"
          },
          {
            "order": "MDY",
            "date": "2026-03-04"
          }
        ],
        "normalized": "2026-04-03",
        "status": "normalize"
      }
    },
    {
      "id": "dates-mdy",
      "kind": "dates",
      "x": {
        "raw": "03/04/2026",
        "order": "MDY",
        "guess": "normalize"
      },
      "expected": {
        "raw": "03/04/2026",
        "order": "MDY",
        "candidates": [
          {
            "order": "DMY",
            "date": "2026-04-03"
          },
          {
            "order": "MDY",
            "date": "2026-03-04"
          }
        ],
        "normalized": "2026-03-04",
        "status": "normalize"
      }
    },
    {
      "id": "dates-wrong-order",
      "kind": "dates",
      "x": {
        "raw": "13/04/2026",
        "order": "MDY",
        "guess": "correct"
      },
      "expected": {
        "raw": "13/04/2026",
        "order": "MDY",
        "candidates": [
          {
            "order": "DMY",
            "date": "2026-04-13"
          },
          {
            "order": "MDY",
            "date": null
          }
        ],
        "normalized": null,
        "status": "correct"
      }
    },
    {
      "id": "dates-ambiguous",
      "kind": "dates",
      "x": {
        "raw": "03/04/2026",
        "order": "unknown",
        "guess": "clarify"
      },
      "expected": {
        "raw": "03/04/2026",
        "order": "unknown",
        "candidates": [
          {
            "order": "DMY",
            "date": "2026-04-03"
          },
          {
            "order": "MDY",
            "date": "2026-03-04"
          }
        ],
        "normalized": null,
        "status": "clarify"
      }
    },
    {
      "id": "dates-one-candidate",
      "kind": "dates",
      "x": {
        "raw": "13/04/2026",
        "order": "unknown",
        "guess": "clarify"
      },
      "expected": {
        "raw": "13/04/2026",
        "order": "unknown",
        "candidates": [
          {
            "order": "DMY",
            "date": "2026-04-13"
          },
          {
            "order": "MDY",
            "date": null
          }
        ],
        "normalized": null,
        "status": "clarify"
      }
    },
    {
      "id": "dates-leap",
      "kind": "dates",
      "x": {
        "raw": "29/02/2028",
        "order": "DMY",
        "guess": "normalize"
      },
      "expected": {
        "raw": "29/02/2028",
        "order": "DMY",
        "candidates": [
          {
            "order": "DMY",
            "date": "2028-02-29"
          },
          {
            "order": "MDY",
            "date": null
          }
        ],
        "normalized": "2028-02-29",
        "status": "normalize"
      }
    },
    {
      "id": "dates-non-leap",
      "kind": "dates",
      "x": {
        "raw": "29/02/2026",
        "order": "DMY",
        "guess": "correct"
      },
      "expected": {
        "raw": "29/02/2026",
        "order": "DMY",
        "candidates": [
          {
            "order": "DMY",
            "date": null
          },
          {
            "order": "MDY",
            "date": null
          }
        ],
        "normalized": null,
        "status": "correct"
      }
    },
    {
      "id": "dates-impossible",
      "kind": "dates",
      "x": {
        "raw": "32/13/2026",
        "order": "unknown",
        "guess": "correct"
      },
      "expected": {
        "raw": "32/13/2026",
        "order": "unknown",
        "candidates": [
          {
            "order": "DMY",
            "date": null
          },
          {
            "order": "MDY",
            "date": null
          }
        ],
        "normalized": null,
        "status": "correct"
      }
    },
    {
      "id": "chunks-split",
      "kind": "chunks",
      "x": {
        "width": "3",
        "overlap": "0",
        "guess": "0"
      },
      "expected": {
        "blocks": [
          {
            "ids": [
              1,
              2,
              3
            ],
            "complete": false
          },
          {
            "ids": [
              4,
              5,
              6
            ],
            "complete": false
          },
          {
            "ids": [
              7,
              8
            ],
            "complete": false
          }
        ],
        "complete": 0,
        "appearances": 8,
        "distinct": 8,
        "repeated": 0
      }
    },
    {
      "id": "chunks-one-overlap",
      "kind": "chunks",
      "x": {
        "width": "3",
        "overlap": "1",
        "guess": "1"
      },
      "expected": {
        "blocks": [
          {
            "ids": [
              1,
              2,
              3
            ],
            "complete": false
          },
          {
            "ids": [
              3,
              4,
              5
            ],
            "complete": true
          },
          {
            "ids": [
              5,
              6,
              7
            ],
            "complete": false
          },
          {
            "ids": [
              7,
              8
            ],
            "complete": false
          }
        ],
        "complete": 1,
        "appearances": 11,
        "distinct": 8,
        "repeated": 3
      }
    },
    {
      "id": "chunks-two-overlap",
      "kind": "chunks",
      "x": {
        "width": "3",
        "overlap": "2",
        "guess": "1"
      },
      "expected": {
        "blocks": [
          {
            "ids": [
              1,
              2,
              3
            ],
            "complete": false
          },
          {
            "ids": [
              2,
              3,
              4
            ],
            "complete": false
          },
          {
            "ids": [
              3,
              4,
              5
            ],
            "complete": true
          },
          {
            "ids": [
              4,
              5,
              6
            ],
            "complete": false
          },
          {
            "ids": [
              5,
              6,
              7
            ],
            "complete": false
          },
          {
            "ids": [
              6,
              7,
              8
            ],
            "complete": false
          }
        ],
        "complete": 1,
        "appearances": 18,
        "distinct": 8,
        "repeated": 10
      }
    },
    {
      "id": "chunks-four-zero",
      "kind": "chunks",
      "x": {
        "width": "4",
        "overlap": "0",
        "guess": "0"
      },
      "expected": {
        "blocks": [
          {
            "ids": [
              1,
              2,
              3,
              4
            ],
            "complete": false
          },
          {
            "ids": [
              5,
              6,
              7,
              8
            ],
            "complete": false
          }
        ],
        "complete": 0,
        "appearances": 8,
        "distinct": 8,
        "repeated": 0
      }
    },
    {
      "id": "chunks-four-one",
      "kind": "chunks",
      "x": {
        "width": "4",
        "overlap": "1",
        "guess": "0"
      },
      "expected": {
        "blocks": [
          {
            "ids": [
              1,
              2,
              3,
              4
            ],
            "complete": false
          },
          {
            "ids": [
              4,
              5,
              6,
              7
            ],
            "complete": false
          },
          {
            "ids": [
              7,
              8
            ],
            "complete": false
          }
        ],
        "complete": 0,
        "appearances": 10,
        "distinct": 8,
        "repeated": 2
      }
    },
    {
      "id": "chunks-four-two",
      "kind": "chunks",
      "x": {
        "width": "4",
        "overlap": "2",
        "guess": "1"
      },
      "expected": {
        "blocks": [
          {
            "ids": [
              1,
              2,
              3,
              4
            ],
            "complete": false
          },
          {
            "ids": [
              3,
              4,
              5,
              6
            ],
            "complete": true
          },
          {
            "ids": [
              5,
              6,
              7,
              8
            ],
            "complete": false
          }
        ],
        "complete": 1,
        "appearances": 12,
        "distinct": 8,
        "repeated": 4
      }
    },
    {
      "id": "chunks-whole",
      "kind": "chunks",
      "x": {
        "width": "8",
        "overlap": "0",
        "guess": "1"
      },
      "expected": {
        "blocks": [
          {
            "ids": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8
            ],
            "complete": true
          }
        ],
        "complete": 1,
        "appearances": 8,
        "distinct": 8,
        "repeated": 0
      }
    },
    {
      "id": "chunks-single",
      "kind": "chunks",
      "x": {
        "width": "1",
        "overlap": "0",
        "guess": "0"
      },
      "expected": {
        "blocks": [
          {
            "ids": [
              1
            ],
            "complete": false
          },
          {
            "ids": [
              2
            ],
            "complete": false
          },
          {
            "ids": [
              3
            ],
            "complete": false
          },
          {
            "ids": [
              4
            ],
            "complete": false
          },
          {
            "ids": [
              5
            ],
            "complete": false
          },
          {
            "ids": [
              6
            ],
            "complete": false
          },
          {
            "ids": [
              7
            ],
            "complete": false
          },
          {
            "ids": [
              8
            ],
            "complete": false
          }
        ],
        "complete": 0,
        "appearances": 8,
        "distinct": 8,
        "repeated": 0
      }
    },
    {
      "id": "queue-late",
      "kind": "queue",
      "x": {
        "arrivals": "0 0 0 0 10",
        "capacity": "2 2 2 2 2",
        "initial": "0",
        "guess": "8"
      },
      "expected": {
        "days": [
          {
            "day": 1,
            "before": 0,
            "arrivals": 0,
            "capacity": 2,
            "available": 0,
            "reviewed": 0,
            "pending": 0,
            "unused": 2
          },
          {
            "day": 2,
            "before": 0,
            "arrivals": 0,
            "capacity": 2,
            "available": 0,
            "reviewed": 0,
            "pending": 0,
            "unused": 2
          },
          {
            "day": 3,
            "before": 0,
            "arrivals": 0,
            "capacity": 2,
            "available": 0,
            "reviewed": 0,
            "pending": 0,
            "unused": 2
          },
          {
            "day": 4,
            "before": 0,
            "arrivals": 0,
            "capacity": 2,
            "available": 0,
            "reviewed": 0,
            "pending": 0,
            "unused": 2
          },
          {
            "day": 5,
            "before": 0,
            "arrivals": 10,
            "capacity": 2,
            "available": 10,
            "reviewed": 2,
            "pending": 8,
            "unused": 0
          }
        ],
        "arrivals_total": 10,
        "capacity_total": 10,
        "reviewed_total": 2,
        "unused_total": 8,
        "final": 8,
        "max_closing": 8
      }
    },
    {
      "id": "queue-early",
      "kind": "queue",
      "x": {
        "arrivals": "10 0 0 0 0",
        "capacity": "2 2 2 2 2",
        "initial": "0",
        "guess": "0"
      },
      "expected": {
        "days": [
          {
            "day": 1,
            "before": 0,
            "arrivals": 10,
            "capacity": 2,
            "available": 10,
            "reviewed": 2,
            "pending": 8,
            "unused": 0
          },
          {
            "day": 2,
            "before": 8,
            "arrivals": 0,
            "capacity": 2,
            "available": 8,
            "reviewed": 2,
            "pending": 6,
            "unused": 0
          },
          {
            "day": 3,
            "before": 6,
            "arrivals": 0,
            "capacity": 2,
            "available": 6,
            "reviewed": 2,
            "pending": 4,
            "unused": 0
          },
          {
            "day": 4,
            "before": 4,
            "arrivals": 0,
            "capacity": 2,
            "available": 4,
            "reviewed": 2,
            "pending": 2,
            "unused": 0
          },
          {
            "day": 5,
            "before": 2,
            "arrivals": 0,
            "capacity": 2,
            "available": 2,
            "reviewed": 2,
            "pending": 0,
            "unused": 0
          }
        ],
        "arrivals_total": 10,
        "capacity_total": 10,
        "reviewed_total": 10,
        "unused_total": 0,
        "final": 0,
        "max_closing": 8
      }
    },
    {
      "id": "queue-steady",
      "kind": "queue",
      "x": {
        "arrivals": "2 2 2 2 2",
        "capacity": "2 2 2 2 2",
        "initial": "0",
        "guess": "0"
      },
      "expected": {
        "days": [
          {
            "day": 1,
            "before": 0,
            "arrivals": 2,
            "capacity": 2,
            "available": 2,
            "reviewed": 2,
            "pending": 0,
            "unused": 0
          },
          {
            "day": 2,
            "before": 0,
            "arrivals": 2,
            "capacity": 2,
            "available": 2,
            "reviewed": 2,
            "pending": 0,
            "unused": 0
          },
          {
            "day": 3,
            "before": 0,
            "arrivals": 2,
            "capacity": 2,
            "available": 2,
            "reviewed": 2,
            "pending": 0,
            "unused": 0
          },
          {
            "day": 4,
            "before": 0,
            "arrivals": 2,
            "capacity": 2,
            "available": 2,
            "reviewed": 2,
            "pending": 0,
            "unused": 0
          },
          {
            "day": 5,
            "before": 0,
            "arrivals": 2,
            "capacity": 2,
            "available": 2,
            "reviewed": 2,
            "pending": 0,
            "unused": 0
          }
        ],
        "arrivals_total": 10,
        "capacity_total": 10,
        "reviewed_total": 10,
        "unused_total": 0,
        "final": 0,
        "max_closing": 0
      }
    },
    {
      "id": "queue-initial",
      "kind": "queue",
      "x": {
        "arrivals": "0 0 0 0 0",
        "capacity": "1 1 1 1 1",
        "initial": "5",
        "guess": "0"
      },
      "expected": {
        "days": [
          {
            "day": 1,
            "before": 5,
            "arrivals": 0,
            "capacity": 1,
            "available": 5,
            "reviewed": 1,
            "pending": 4,
            "unused": 0
          },
          {
            "day": 2,
            "before": 4,
            "arrivals": 0,
            "capacity": 1,
            "available": 4,
            "reviewed": 1,
            "pending": 3,
            "unused": 0
          },
          {
            "day": 3,
            "before": 3,
            "arrivals": 0,
            "capacity": 1,
            "available": 3,
            "reviewed": 1,
            "pending": 2,
            "unused": 0
          },
          {
            "day": 4,
            "before": 2,
            "arrivals": 0,
            "capacity": 1,
            "available": 2,
            "reviewed": 1,
            "pending": 1,
            "unused": 0
          },
          {
            "day": 5,
            "before": 1,
            "arrivals": 0,
            "capacity": 1,
            "available": 1,
            "reviewed": 1,
            "pending": 0,
            "unused": 0
          }
        ],
        "arrivals_total": 0,
        "capacity_total": 5,
        "reviewed_total": 5,
        "unused_total": 0,
        "final": 0,
        "max_closing": 4
      }
    },
    {
      "id": "queue-outage",
      "kind": "queue",
      "x": {
        "arrivals": "2 2 2 2 2",
        "capacity": "2 0 0 4 4",
        "initial": "0",
        "guess": "0"
      },
      "expected": {
        "days": [
          {
            "day": 1,
            "before": 0,
            "arrivals": 2,
            "capacity": 2,
            "available": 2,
            "reviewed": 2,
            "pending": 0,
            "unused": 0
          },
          {
            "day": 2,
            "before": 0,
            "arrivals": 2,
            "capacity": 0,
            "available": 2,
            "reviewed": 0,
            "pending": 2,
            "unused": 0
          },
          {
            "day": 3,
            "before": 2,
            "arrivals": 2,
            "capacity": 0,
            "available": 4,
            "reviewed": 0,
            "pending": 4,
            "unused": 0
          },
          {
            "day": 4,
            "before": 4,
            "arrivals": 2,
            "capacity": 4,
            "available": 6,
            "reviewed": 4,
            "pending": 2,
            "unused": 0
          },
          {
            "day": 5,
            "before": 2,
            "arrivals": 2,
            "capacity": 4,
            "available": 4,
            "reviewed": 4,
            "pending": 0,
            "unused": 0
          }
        ],
        "arrivals_total": 10,
        "capacity_total": 10,
        "reviewed_total": 10,
        "unused_total": 0,
        "final": 0,
        "max_closing": 4
      }
    },
    {
      "id": "queue-empty",
      "kind": "queue",
      "x": {
        "arrivals": "0 0 0 0 0",
        "capacity": "2 2 2 2 2",
        "initial": "0",
        "guess": "0"
      },
      "expected": {
        "days": [
          {
            "day": 1,
            "before": 0,
            "arrivals": 0,
            "capacity": 2,
            "available": 0,
            "reviewed": 0,
            "pending": 0,
            "unused": 2
          },
          {
            "day": 2,
            "before": 0,
            "arrivals": 0,
            "capacity": 2,
            "available": 0,
            "reviewed": 0,
            "pending": 0,
            "unused": 2
          },
          {
            "day": 3,
            "before": 0,
            "arrivals": 0,
            "capacity": 2,
            "available": 0,
            "reviewed": 0,
            "pending": 0,
            "unused": 2
          },
          {
            "day": 4,
            "before": 0,
            "arrivals": 0,
            "capacity": 2,
            "available": 0,
            "reviewed": 0,
            "pending": 0,
            "unused": 2
          },
          {
            "day": 5,
            "before": 0,
            "arrivals": 0,
            "capacity": 2,
            "available": 0,
            "reviewed": 0,
            "pending": 0,
            "unused": 2
          }
        ],
        "arrivals_total": 0,
        "capacity_total": 10,
        "reviewed_total": 0,
        "unused_total": 10,
        "final": 0,
        "max_closing": 0
      }
    },
    {
      "id": "queue-maximum",
      "kind": "queue",
      "x": {
        "arrivals": "100 100 100 100 100",
        "capacity": "0 0 0 0 0",
        "initial": "100",
        "guess": "600"
      },
      "expected": {
        "days": [
          {
            "day": 1,
            "before": 100,
            "arrivals": 100,
            "capacity": 0,
            "available": 200,
            "reviewed": 0,
            "pending": 200,
            "unused": 0
          },
          {
            "day": 2,
            "before": 200,
            "arrivals": 100,
            "capacity": 0,
            "available": 300,
            "reviewed": 0,
            "pending": 300,
            "unused": 0
          },
          {
            "day": 3,
            "before": 300,
            "arrivals": 100,
            "capacity": 0,
            "available": 400,
            "reviewed": 0,
            "pending": 400,
            "unused": 0
          },
          {
            "day": 4,
            "before": 400,
            "arrivals": 100,
            "capacity": 0,
            "available": 500,
            "reviewed": 0,
            "pending": 500,
            "unused": 0
          },
          {
            "day": 5,
            "before": 500,
            "arrivals": 100,
            "capacity": 0,
            "available": 600,
            "reviewed": 0,
            "pending": 600,
            "unused": 0
          }
        ],
        "arrivals_total": 500,
        "capacity_total": 0,
        "reviewed_total": 0,
        "unused_total": 0,
        "final": 600,
        "max_closing": 600
      }
    },
    {
      "id": "queue-mixed",
      "kind": "queue",
      "x": {
        "arrivals": "3 0 5 0 1",
        "capacity": "1 4 1 4 1",
        "initial": "0",
        "guess": "0"
      },
      "expected": {
        "days": [
          {
            "day": 1,
            "before": 0,
            "arrivals": 3,
            "capacity": 1,
            "available": 3,
            "reviewed": 1,
            "pending": 2,
            "unused": 0
          },
          {
            "day": 2,
            "before": 2,
            "arrivals": 0,
            "capacity": 4,
            "available": 2,
            "reviewed": 2,
            "pending": 0,
            "unused": 2
          },
          {
            "day": 3,
            "before": 0,
            "arrivals": 5,
            "capacity": 1,
            "available": 5,
            "reviewed": 1,
            "pending": 4,
            "unused": 0
          },
          {
            "day": 4,
            "before": 4,
            "arrivals": 0,
            "capacity": 4,
            "available": 4,
            "reviewed": 4,
            "pending": 0,
            "unused": 0
          },
          {
            "day": 5,
            "before": 0,
            "arrivals": 1,
            "capacity": 1,
            "available": 1,
            "reviewed": 1,
            "pending": 0,
            "unused": 0
          }
        ],
        "arrivals_total": 9,
        "capacity_total": 11,
        "reviewed_total": 9,
        "unused_total": 2,
        "final": 0,
        "max_closing": 4
      }
    },
    {
      "id": "paired-all",
      "kind": "paired",
      "source_rows": [
        [
          "A",
          2,
          4
        ],
        [
          "B",
          4,
          6
        ],
        [
          "C",
          6,
          8
        ]
      ],
      "x": {
        "case": "all",
        "count": "3",
        "guess": "up"
      },
      "expected": {
        "pairs": [
          [
            "A",
            2,
            4
          ],
          [
            "B",
            4,
            6
          ],
          [
            "C",
            6,
            8
          ]
        ],
        "count": 3,
        "pre_count": 3,
        "post_count": 3,
        "pre_all_exact": "4/1",
        "post_all_exact": "6/1",
        "pre_pair_exact": "4/1",
        "post_pair_exact": "6/1",
        "gain_exact": "2/1",
        "direction": "up",
        "missing_pre": 0,
        "missing_post": 0
      }
    },
    {
      "id": "paired-low-missing",
      "kind": "paired",
      "source_rows": [
        [
          "A",
          2,
          null
        ],
        [
          "B",
          4,
          null
        ],
        [
          "C",
          8,
          7
        ],
        [
          "D",
          10,
          9
        ]
      ],
      "x": {
        "case": "low-missing",
        "count": "2",
        "guess": "down"
      },
      "expected": {
        "pairs": [
          [
            "C",
            8,
            7
          ],
          [
            "D",
            10,
            9
          ]
        ],
        "count": 2,
        "pre_count": 4,
        "post_count": 2,
        "pre_all_exact": "6/1",
        "post_all_exact": "8/1",
        "pre_pair_exact": "9/1",
        "post_pair_exact": "8/1",
        "gain_exact": "-1/1",
        "direction": "down",
        "missing_pre": 0,
        "missing_post": 2
      }
    },
    {
      "id": "paired-high-missing",
      "kind": "paired",
      "source_rows": [
        [
          "A",
          0,
          1
        ],
        [
          "B",
          2,
          3
        ],
        [
          "C",
          8,
          null
        ],
        [
          "D",
          10,
          null
        ]
      ],
      "x": {
        "case": "high-missing",
        "count": "2",
        "guess": "up"
      },
      "expected": {
        "pairs": [
          [
            "A",
            0,
            1
          ],
          [
            "B",
            2,
            3
          ]
        ],
        "count": 2,
        "pre_count": 4,
        "post_count": 2,
        "pre_all_exact": "5/1",
        "post_all_exact": "2/1",
        "pre_pair_exact": "1/1",
        "post_pair_exact": "2/1",
        "gain_exact": "1/1",
        "direction": "up",
        "missing_pre": 0,
        "missing_post": 2
      }
    },
    {
      "id": "paired-newcomers",
      "kind": "paired",
      "source_rows": [
        [
          "A",
          2,
          1
        ],
        [
          "B",
          4,
          3
        ],
        [
          "C",
          null,
          10
        ],
        [
          "D",
          null,
          10
        ]
      ],
      "x": {
        "case": "newcomers",
        "count": "2",
        "guess": "down"
      },
      "expected": {
        "pairs": [
          [
            "A",
            2,
            1
          ],
          [
            "B",
            4,
            3
          ]
        ],
        "count": 2,
        "pre_count": 2,
        "post_count": 4,
        "pre_all_exact": "3/1",
        "post_all_exact": "6/1",
        "pre_pair_exact": "3/1",
        "post_pair_exact": "2/1",
        "gain_exact": "-1/1",
        "direction": "down",
        "missing_pre": 2,
        "missing_post": 0
      }
    },
    {
      "id": "paired-no-pairs",
      "kind": "paired",
      "source_rows": [
        [
          "A",
          2,
          null
        ],
        [
          "B",
          4,
          null
        ],
        [
          "C",
          null,
          8
        ],
        [
          "D",
          null,
          10
        ]
      ],
      "x": {
        "case": "no-pairs",
        "count": "0",
        "guess": "none"
      },
      "expected": {
        "pairs": [],
        "count": 0,
        "pre_count": 2,
        "post_count": 2,
        "pre_all_exact": "3/1",
        "post_all_exact": "9/1",
        "pre_pair_exact": null,
        "post_pair_exact": null,
        "gain_exact": null,
        "direction": "none",
        "missing_pre": 2,
        "missing_post": 2
      }
    },
    {
      "id": "paired-unchanged",
      "kind": "paired",
      "source_rows": [
        [
          "A",
          5,
          5
        ],
        [
          "B",
          5,
          5
        ],
        [
          "C",
          null,
          null
        ]
      ],
      "x": {
        "case": "unchanged",
        "count": "2",
        "guess": "same"
      },
      "expected": {
        "pairs": [
          [
            "A",
            5,
            5
          ],
          [
            "B",
            5,
            5
          ]
        ],
        "count": 2,
        "pre_count": 2,
        "post_count": 2,
        "pre_all_exact": "5/1",
        "post_all_exact": "5/1",
        "pre_pair_exact": "5/1",
        "post_pair_exact": "5/1",
        "gain_exact": "0/1",
        "direction": "same",
        "missing_pre": 1,
        "missing_post": 1
      }
    },
    {
      "id": "paired-zero",
      "kind": "paired",
      "source_rows": [
        [
          "A",
          0,
          0
        ],
        [
          "B",
          10,
          10
        ]
      ],
      "x": {
        "case": "zero",
        "count": "2",
        "guess": "same"
      },
      "expected": {
        "pairs": [
          [
            "A",
            0,
            0
          ],
          [
            "B",
            10,
            10
          ]
        ],
        "count": 2,
        "pre_count": 2,
        "post_count": 2,
        "pre_all_exact": "5/1",
        "post_all_exact": "5/1",
        "pre_pair_exact": "5/1",
        "post_pair_exact": "5/1",
        "gain_exact": "0/1",
        "direction": "same",
        "missing_pre": 0,
        "missing_post": 0
      }
    },
    {
      "id": "paired-fraction",
      "kind": "paired",
      "source_rows": [
        [
          "A",
          2,
          4
        ],
        [
          "B",
          4,
          3
        ],
        [
          "C",
          6,
          6
        ],
        [
          "D",
          null,
          8
        ]
      ],
      "x": {
        "case": "fraction",
        "count": "3",
        "guess": "up"
      },
      "expected": {
        "pairs": [
          [
            "A",
            2,
            4
          ],
          [
            "B",
            4,
            3
          ],
          [
            "C",
            6,
            6
          ]
        ],
        "count": 3,
        "pre_count": 3,
        "post_count": 4,
        "pre_all_exact": "4/1",
        "post_all_exact": "21/4",
        "pre_pair_exact": "4/1",
        "post_pair_exact": "13/3",
        "gain_exact": "1/3",
        "direction": "up",
        "missing_pre": 1,
        "missing_post": 0
      }
    }
  ]
}
