code: def test_grid_strategy(key):
      hyperopt_test_params = HYPEROPT_PARAMS[key]
      expected_search_space = EXPECTED_SEARCH_SPACE[key]
  
      tune_sampler_params = hyperopt_test_params["parameters"]
  
      hyperopt_executor = get_build_hyperopt_executor(RAY)(
          tune_sampler_params,
          "output_feature",
          "mse",
          "minimize",
          "validation",
          search_alg={TYPE: "variant_generator"},
          **{
              "type": "ray",
              "num_samples": 2,
              "scheduler": {"type": "fifo"},
          },
      )
  
      search_space = hyperopt_executor.search_space
  
      actual_params_keys = search_space.keys()
      expected_params_keys = expected_search_space.keys()
  
      for param in search_space:
          assert isinstance(
              search_space[param], type(expected_search_space[param])
          )
  
      assert actual_params_keys == expected_params_keys
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_grid_strategy(key) without return types