code: def test_ConstructArm(self) -> None:
      # Test constructing an arm of default values
      arm = self.ss1.construct_arm(name="test")
      self.assertEqual(arm.name, "test")
      for p_name in self.ss1.parameters.keys():
          self.assertTrue(p_name in arm.parameters)
          self.assertEqual(arm.parameters[p_name], None)
  
      # Test constructing an arm with a custom value
      arm = self.ss1.construct_arm({"a": 1.0})
      for p_name in self.ss1.parameters.keys():
          self.assertTrue(p_name in arm.parameters)
          if p_name == "a":
              self.assertEqual(arm.parameters[p_name], 1.0)
          else:
              self.assertEqual(arm.parameters[p_name], None)
  
      # Test constructing an arm with a bad param name
      with self.assertRaises(ValueError):
          self.ss1.construct_arm({"IDONTEXIST_a": 1.0})
  
      # Test constructing an arm with a bad param name
      with self.assertRaises(ValueError):
          self.ss1.construct_arm({"a": "notafloat"})
  
imports: import dataclasses
  from random import choice
  from typing import cast, List
  from unittest import mock
  import pandas
  from ax.core.arm import Arm
  from ax.core.observation import ObservationFeatures
  from ax.core.parameter import ChoiceParameter, FixedParameter, Parameter, ParameterType, RangeParameter
  from ax.core.parameter_constraint import OrderConstraint, ParameterConstraint, SumConstraint
  from ax.core.parameter_distribution import ParameterDistribution
  from ax.core.search_space import HierarchicalSearchSpace, RobustSearchSpace, RobustSearchSpaceDigest, SearchSpace, SearchSpaceDigest
  from ax.exceptions.core import UnsupportedError, UserInputError
  from ax.utils.common.constants import Keys
  from ax.utils.common.testutils import TestCase
  from ax.utils.testing.core_stubs import get_hierarchical_search_space, get_l2_reg_weight_parameter, get_lr_parameter, get_model_parameter, get_num_boost_rounds_parameter, get_parameter_constraint
label_desc: Use image node_id 13 for calling the SearchSpaceTest obj's underlying member method code with example usage: obj.test_ConstructArm() without return types