code: def test_get_rolling_token_windows_v6():
      gold = [
          ([-100, 0], [0, 1]),
          ([1, 2], [2, 3]),
          ([3, 4], [4, 5]),
          ([5, 6], [6, 7]),
          ([6, 7], [8]),
      ]
      x = list(range(9))
      generator = get_rolling_token_windows(
          token_list=x,
          prefix_token=-100,
          max_seq_len=2,
          context_len=1,
      )
      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 6 for calling a global function with example usage: test_get_rolling_token_windows_v6() without return types