code: def test_run_packed_artificial_function() -> None:
      func = MultiExperiment(
          [
              ArtificialFunction(name="sphere", block_dimension=2)
              for _ in range(2)
          ],
          [100, 100],
      )
      xp = xpbase.Experiment(
          func,
          optimizer="OnePlusOne",
          budget=24,
          num_workers=2,
          batch_mode=True,
          seed=14,
      )
      summary = xp.run()
      np.testing.assert_almost_equal(
          summary["loss"], -9784.8, decimal=1
      )
  
imports: import sys
  import contextlib
  from unittest.mock import patch
  import numpy
  import nevergrad.common.typing
  from nevergrad.common import testing
  from nevergrad.optimization import test_base
  from nevergrad.functions import ArtificialFunction
  from nevergrad.functions.base import MultiExperiment
  from nevergrad.functions.test_base import ExampleFunction
  from nevergrad.functions.test_functionlib import DESCRIPTION_KEYS
  from .None import xpbase
label_desc: Use image node_id 2 for calling a global function with example usage: test_run_packed_artificial_function() without return types