code: def test_nested_conditional_scopes_and_name_scopes():
      hp = hp_module.HyperParameters()
      a = hp.Choice("a", [1, 2, 3], default=3)
      with hp.conditional_scope("a", [1, 3]):
          b = hp.Choice("b", [4, 5, 6], default=6)
          with hp.conditional_scope("b", 6):
              c = hp.Choice("c", [7, 8, 9])
              with hp.name_scope("d"):
                  e = hp.Choice("e", [10, 11, 12])
      with hp.conditional_scope("a", 2):
          f = hp.Choice("f", [13, 14, 15])
          with hp.name_scope("g"):
              h = hp.Int("h", 0, 10)
  
      assert hp.values == {
          "a": 3,
          "b": 6,
          "c": 7,
          "d/e": 10,
      }
      # Assignment to an active conditional hyperparameter returns the value.
      assert a == 3
      assert b == 6
      assert c == 7
      assert e == 10
      # Assignment to a non-active conditional hyperparameter returns `None`.
      assert f is None
      assert h is None
  
imports: import pytest
  from keras_tuner import protos
  from keras_tuner.backend import keras
  from keras_tuner.engine import hyperparameters
label_desc: Use image node_id 11 for calling a global function with example usage: test_nested_conditional_scopes_and_name_scopes() without return types