code: def test_TransformObservations(self) -> None:
      new_obs = self.t.transform_observations(
          deepcopy(self.observations)
      )
      self.assertEqual(new_obs, self.expected_new_observations)
  
      new_obs = self.t.untransform_observations(new_obs)
      self.assertEqual(new_obs, self.observations)
  
file_path: Ax/ax/modelbridge/transforms/tests/test_metrics_as_task_transform.py
imports: from copy import deepcopy
  import numpy
  from ax.core.observation import Observation, ObservationData, ObservationFeatures
  from ax.core.parameter import ChoiceParameter
  from ax.modelbridge.transforms.metrics_as_task import MetricsAsTask
  from ax.utils.common.testutils import TestCase
  from ax.utils.testing.core_stubs import get_search_space_for_range_values
label_desc: Use image node_id 3 for calling the MetricsAsTaskTransformTest obj's underlying member method code with example usage: obj.test_TransformObservations() without return types