code: def make_config_selector() -> Callable:
      def _make(
          scenario: Scenario,
          runhistory: RunHistory,
          n_initial_configs: int = 3,
          retrain_after: int = 8,
          retries: int = 8,
      ) -> CustomConfigSelector:
          return CustomConfigSelector(
              scenario=scenario,
              runhistory=runhistory,
              n_initial_configs=n_initial_configs,
              retrain_after=retrain_after,
              retries=retries,
          )
  
      return _make
  
file_path: SMAC3/tests/fixtures/config_selector.py
imports: from typing import Callable
  import pytest
  from smac.initial_design.random_design import RandomInitialDesign
  from smac.main.config_selector import ConfigSelector
  from smac.runhistory.runhistory import RunHistory
  from smac.scenario import Scenario
label_desc: Use image node_id 1 for calling a global function with example usage: make_config_selector() and returns: _make, CustomConfigSelector