code: def test_exhausted_values_during_init_bracket(tmp_path):
      oracle = hyperband_module.HyperbandOracle(
          objective=keras_tuner.Objective("score", "max"),
          hyperband_iterations=1,
          max_epochs=8,
          factor=3,
      )
      oracle._set_project_dir(tmp_path, "untitled")
      hp = oracle.get_space()
      hp.Boolean("bool")
      oracle.update_space(hp)
  
      trial_1 = oracle.create_trial("a")
      trial_2 = oracle.create_trial("b")
      trial_3 = oracle.create_trial("c")
      assert trial_3.status == "IDLE"
      print(oracle.trials)
  
      oracle.update_trial(
          trial_id=trial_1.trial_id,
          metrics={oracle.objective.name: np.random.rand()},
      )
      oracle.end_trial(trial_1)
  
      oracle.update_trial(
          trial_id=trial_2.trial_id,
          metrics={oracle.objective.name: np.random.rand()},
      )
      oracle.end_trial(trial_2)
  
      trial_1 = oracle.create_trial("a")
      assert trial_1.status == "STOPPED"
  
file_path: keras-tuner/keras_tuner/tuners/hyperband_test.py
imports: import numpy
  import pytest
  import keras_tuner
  from keras_tuner import backend
  from keras_tuner import utils
  from keras_tuner.backend import keras
  from keras_tuner.engine import tuner_utils
  from keras_tuner.tuners import hyperband
label_desc: Use image node_id 9 for calling a global function with example usage: test_exhausted_values_during_init_bracket(tmp_path) without return types