code: def test_annotated_params_space():
      def objective(
          x: hp.uniform("x", -10, 10), y: hp.uniform("y", -10, 10)
      ):
          return (x * y) ** 2
  
      trials = Trials()
      fmin(
          objective,
          space="annotated",
          algo=tpe.suggest,
          max_evals=10,
          trials=trials,
      )
  
      assert len(trials) == 10
  
imports: import unittest
  import numpy
  from timeit import default_timer
  import time
  from hyperopt.early_stop import no_progress_loss
  from hyperopt.fmin import generate_trials_to_calculate
  import pytest
  from hyperopt import fmin, rand, tpe, hp, Trials, exceptions, space_eval, STATUS_FAIL, STATUS_OK
  from hyperopt.base import JOB_STATE_ERROR
label_desc: Use image node_id 15 for calling a global function with example usage: test_annotated_params_space() and returns: unknown