code: def test_formatting():
      internal_space = format_search_space(user_space)
      assert all(
          key == value.key for key, value in internal_space.items()
      )
      specs = list(internal_space.values())
      assert spec_names == [spec.name for spec in specs]
      assert spec_types == [spec.type for spec in specs]
      assert spec_values == [spec.values for spec in specs]
      assert spec_keys == [spec.key for spec in specs]
      assert spec_categoricals == [spec.categorical for spec in specs]
      assert spec_sizes == [spec.size for spec in specs]
      assert spec_lows == [spec.low for spec in specs]
      assert spec_highs == [spec.high for spec in specs]
      assert spec_normals == [spec.normal_distributed for spec in specs]
      assert spec_mus == [spec.mu for spec in specs]
      assert spec_sigmas == [spec.sigma for spec in specs]
      assert spec_qs == [spec.q for spec in specs]
      assert spec_clips == [spec.clip for spec in specs]
      assert spec_logs == [spec.log_distributed for spec in specs]
  
imports: from math import exp, log
  from nni.common.hpo_utils import deformat_parameters, format_parameters, format_search_space
label_desc: Use image node_id 1 for calling a global function with example usage: test_formatting() without return types