code: def test_parallel_workers(algorithm, storage):
      """Test parallel execution with joblib"""
      MAX_TRIALS = 30
      ASHA_UGLY_FIX = 10
  
      name = f"{list(algorithm.keys())[0]}_exp"
  
      exp = create_experiment(
          name=name,
          space=space_with_fidelity,
          algorithm=algorithm,
          storage=storage,
      )
  
      exp.workon(rosenbrock, max_trials=MAX_TRIALS, n_workers=2)
  
      assert exp.configuration["algorithm"] == algorithm
  
      trials = exp.fetch_trials()
      assert len(trials) >= MAX_TRIALS or exp.algorithm.is_done
  
      completed_trials = [
          trial for trial in trials if trial.status == "completed"
      ]
      assert MAX_TRIALS <= len(completed_trials) <= MAX_TRIALS + 2
  
      results = [trial.objective.value for trial in completed_trials]
      assert all(
          trial.objective is not None for trial in completed_trials
      )
      best_trial = min(
          completed_trials, key=lambda trial: trial.objective.value
      )
  
      assert best_trial.objective.name == "objective"
      assert (
          abs(best_trial.objective.value - 23.4) < 1e-5 + ASHA_UGLY_FIX
      )
      assert len(best_trial.params) == 2
      fidelity = best_trial._params[0]
      assert fidelity.name == "noise"
      assert fidelity.type == "fidelity"
      assert fidelity.value + ASHA_UGLY_FIX >= 1
      param = best_trial._params[1]
      assert param.name == "x"
      assert param.type == "real"
  
imports: from __future__ import annotations
  import copy
  import os
  from pathlib import Path
  import numpy
  import pytest
  from orion.algo.pbt.pb2_utils import import_optional
  from orion.client import build_experiment, create_experiment, workon
  from orion.core.io.space_builder import SpaceBuilder
  from orion.core.utils.module_import import ImportOptional
  from orion.core.worker.algo_wrappers import AlgoWrapper
  from orion.core.worker.primary_algo import SpaceTransform
  from orion.core.worker.trial import Trial
  from orion.storage.base import BaseStorageProtocol
  from orion.benchmark.task.base import BenchmarkTask
label_desc: Use image node_id 13 for calling a global function with example usage: test_parallel_workers(algorithm, storage) without return types