code: def test_repeat_1():
      trials = _repeat_trials(num_samples=2, repeat=1)
      assert len(trials) == 2
      parameter_set = {
          t.evaluated_params["test_variable"] for t in trials
      }
      assert len(parameter_set) == 2
  
file_path: ray/python/ray/tune/tests/test_searcher_utils.py
imports: import pytest
  from ray.tune.search import BasicVariantGenerator
  from ray.tune.search.repeater import Repeater
  from ray.tune.search import Searcher, ConcurrencyLimiter
  from ray.tune.search.search_generator import SearchGenerator
label_desc: Use image node_id 3 for calling a global function with example usage: test_repeat_1() without return types