code: def test_get_rolling_token_windows_v2():
      gold = [
          (
              [-100, 0, 1, 2, 3, 4, 5, 6, 7, 8],
              [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
          ),
          ([2, 3, 4, 5, 6, 7, 8, 9, 10, 11], [10, 11, 12]),
          ([5, 6, 7, 8, 9, 10, 11, 12, 13, 14], [13, 14, 15]),
          ([8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [16, 17, 18]),
          ([11, 12, 13, 14, 15, 16, 17, 18, 19, 20], [19, 20, 21]),
          ([14, 15, 16, 17, 18, 19, 20, 21, 22, 23], [22, 23, 24]),
          ([17, 18, 19, 20, 21, 22, 23, 24, 25, 26], [25, 26, 27]),
          ([20, 21, 22, 23, 24, 25, 26, 27, 28, 29], [28, 29, 30]),
          ([23, 24, 25, 26, 27, 28, 29, 30, 31, 32], [31, 32, 33]),
      ]
      x = list(range(34))
      generator = get_rolling_token_windows(
          token_list=x,
          prefix_token=-100,
          max_seq_len=10,
          context_len=8,
      )
      pred_length = 0
      output = []
      for input_tokens, pred_tokens in generator:
          output.append((input_tokens, pred_tokens))
          pred_length += len(pred_tokens)
      assert pred_length == len(x)
      assert gold == output
  
file_path: lm-evaluation-harness/tests/test_utils.py
imports: from lm_eval.utils import get_rolling_token_windows, make_disjoint_window
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_rolling_token_windows_v2() without return types