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 __init__(
      self,
      name: str,
      repetitions: int = 1,
      seed: tp.Optional[int] = None,
      cap_index: tp.Optional[int] = None,
  ) -> None:
      self.name = name
      self.seed = seed
      self.cap_index = (
          None if cap_index is None else max(1, int(cap_index))
      )
      self._moduler: tp.Optional[Moduler] = None
      self.repetitions = repetitions
      self.summaries: tp.List[tp.Dict[str, tp.Any]] = []
      self._current_experiment: tp.Optional[
          Experiment
      ] = None  # for stopping and resuming
      self._id = (
          datetime.datetime.now().strftime("%y-%m-%d_%H%M")
          + "_"
          + "".join(
              np.random.choice(list("abcdefghijklmnopqrstuvwxyz"), 4)
          )
      )
  
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 1 to create a new BenchmarkChunk object  with example: obj = BenchmarkChunk(name, repetitions, seed, cap_index)