code: def test_full_tuple_shape():
      """[Base] FoldIndex: test the tuple shape on generation."""
      tups = [(tri, tei) for tri, tei in FoldIndex(5, X=X).generate()]
  
      assert tups == [
          (((1, 5),), (0, 1)),
          (((0, 1), (2, 5)), (1, 2)),
          (((0, 2), (3, 5)), (2, 3)),
          (((0, 3), (4, 5)), (3, 4)),
          (((0, 4),), (4, 5)),
      ]
  
imports: import os
  import subprocess
  import numpy
  from mlens import config
  from mlens.utils import IdTrain
  from mlens.index import FoldIndex, BlendIndex, SubsetIndex, TemporalIndex, ClusteredSubsetIndex, FullIndex
  from mlens.index.base import partition, prune_train
label_desc: Use image node_id 7 for calling a global function with example usage: test_full_tuple_shape() without return types