class_docstr: Splittable chunk of a benchmark
  
  Parameters
  ----------
  name: str
      Name of the benchmark
  repetitions: int
      Number of repetitions to perform on the benchmark
  seed: int
      A seed for the experiment plan (if seedable)
  cap_index: int
      index at which the experiment plan must be stopped (convenient for testing if the experiment
      plan holds 10k experiment, we can select the first cap_index=100 for instance)
class_docstr_tok: ["Splittable","chunk","of","a","benchmark","Parameters","--","--","--","--","--","name",":","str","Name","of","the","benchmark","repetitions",":","int","Number","of","repetitions","to","perform","on","the","benchmark","seed",":","int","A","seed","for","the","experiment","plan","(","if","seedable",")","cap_index",":","int","index","at","which","the","experiment","plan","must","be","stopped","(","convenient","for","testing","if","the","experiment","plan","holds","10k","experiment",",","we","can","select","the","first","cap_index=100","for","instance",")"]
code: def moduler(self) -> Moduler:
      if self._moduler is None:
          total_length = (
              sum(
                  1
                  for _ in itertools.islice(
                      registry[self.name](), 0, self.cap_index
                  )
              )
              * self.repetitions
          )
          self._moduler = Moduler(1, 0, total_length=total_length)
      return self._moduler
  
imports: import datetime
  import warnings
  import itertools
  import importlib.util
  from pathlib import Path
  import numpy
  import pandas
  import nevergrad.common.typing
  from nevergrad.optimization.utils import SequentialExecutor
  from .experiments import registry
  from .experiments import Experiment
  from .None import utils
label_desc: Use image node_id 2 for calling the BenchmarkChunk obj's underlying member method code with example usage: obj.moduler() and returns: self