code: def test_configuration_set_via_cmd_and_default_config(
      hydra_sweep_runner: TSweepRunner,
  ) -> None:
      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=2",
              "hydra.sweeper.ax_config.early_stop.max_epochs_without_improvement=2",
              "quadratic=basic",
              "quadratic.x=interval(-5, -2)",
              "quadratic.y=interval(-1, 1)",
          ],
      )
      with sweep:
          assert sweep.returns is None
          returns = OmegaConf.load(
              f"{sweep.temp_dir}/optimization_results.yaml"
          )
          assert isinstance(returns, DictConfig)
          best_parameters = returns.ax
          assert "quadratic.x" in best_parameters
          assert "quadratic.y" in best_parameters
  
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 9 for calling a global function with example usage: test_configuration_set_via_cmd_and_default_config(hydra_sweep_runner) without return types