code: def test_jobs_dirs(hydra_sweep_runner: TSweepRunner) -> None:
      # Verify that the spawned jobs are not overstepping the directories of one another.
      sweep = hydra_sweep_runner(
          calling_file="tests/test_ax_sweeper_plugin.py",
          calling_module=None,
          task_function=quadratic,
          config_path="config",
          config_name="config.yaml",
          overrides=[
              "hydra/launcher=basic",
              "hydra.sweeper.ax_config.max_trials=6",
              "hydra.sweeper.max_batch_size=2",
              "params=basic",
          ],
      )
      with sweep:
          assert isinstance(sweep.temp_dir, str)
          dirs = [
              x
              for x in os.listdir(sweep.temp_dir)
              if os.path.isdir(os.path.join(sweep.temp_dir, x))
          ]
          assert len(dirs) == 6
  
imports: import math
  import os
  from pathlib import Path
  from typing import Any, List
  from hydra.core.plugins import Plugins
  from hydra.plugins.sweeper import Sweeper
  from hydra.test_utils.test_utils import TSweepRunner, chdir_plugin_root, run_python_script
  from omegaconf import DictConfig, OmegaConf
  from pytest import mark, raises
  from hydra_plugins.hydra_ax_sweeper.ax_sweeper import AxSweeper
label_desc: Use image node_id 5 for calling a global function with example usage: test_jobs_dirs(hydra_sweep_runner) without return types