code: def test_moduler_split() -> None:
      total_length = np.random.randint(100, 200)
      split = np.random.randint(1, 12)
      modulers = core.Moduler(1, 0, total_length).split(split)
      data = list(range(total_length))
      err_msg = f"Moduler failed for total_length={total_length} and split={split}."
      all_indices = set()
      for moduler in modulers:
          indices = {k for k in data if moduler(k)}
          np.testing.assert_equal(
              len(indices), len(moduler), err_msg=err_msg
          )
          all_indices.update(indices)
      np.testing.assert_equal(
          len(all_indices), len(data), err_msg=err_msg
      )
  
imports: from .__main__ import repeated_launch
  import sys
  import warnings
  import tempfile
  import itertools
  from unittest.mock import patch
  from pathlib import Path
  import numpy
  import pandas
  import matplotlib
  from nevergrad.optimization import optimizerlib
  from nevergrad.parametrization.utils import CommandFunction, FailedJobError
  from nevergrad.common import testing
  from nevergrad.common import errors
  from .None import utils
  from .None import core
  from .test_xpbase import DESCRIPTION_KEYS
label_desc: Use image node_id 7 for calling a global function with example usage: test_moduler_split() without return types