{
  "nonadjacent_key_example": {
    "records": [
      [
        "A",
        1
      ],
      [
        "B",
        2
      ],
      [
        "A",
        3
      ]
    ],
    "adjacent_runs": [
      {
        "key": "A",
        "ids": [
          1
        ]
      },
      {
        "key": "B",
        "ids": [
          2
        ]
      },
      {
        "key": "A",
        "ids": [
          3
        ]
      }
    ],
    "naive_dict_overwrites_nonadjacent_key": {
      "A": [
        3
      ],
      "B": [
        2
      ]
    },
    "sorted_samekey_materialized_global": {
      "A": [
        1,
        3
      ],
      "B": [
        2
      ]
    },
    "independent_append_dict": {
      "A": [
        1,
        3
      ],
      "B": [
        2
      ]
    }
  },
  "shared_iterator_after_advancing_outer": {
    "first_key": "A",
    "second_key": "B",
    "uncached_old_group": [],
    "current_group": [
      "B",
      "B"
    ]
  },
  "materialize_before_advance_preserves_A": [
    "A",
    "A"
  ],
  "wrong_sort_by_ID_still_three_runs": true,
  "all127_binary_key_sequences_global_and_run_oracles": 127,
  "invalid_inputs_rejected": [
    "[('A', True)]",
    "[('A', 1), ('B', 1)]",
    "[(None, 1)]",
    "[('A', 0), ('A', 1), ('A', 2), ('A', 3), ('A', 4), ('A', 5), ('A', 6), ('A', 7), ('A', 8), ('A', 9), ('A', 10), ('A', 11), ('A', 12), ('A', 13), ('A', 14), ('A', 15), ('A', 16)]"
  ],
  "scope": "actual Python3.12stdlib groupby with adjacent key contract; global sort/list materializesO(n), no Pandas/SQL engine/semantic merge/dedup/file deletion or stable group iterator after outer advance"
}
