code: def test_from_map_evaluations(self) -> None:
      for sem in (0.5, None):
          eval1 = (3.7, sem) if sem is not None else 3.7
          eval2 = (3.8, sem) if sem is not None else 3.8
          map_data = MapData.from_map_evaluations(
              evaluations={
                  "0_1": [
                      ({"f1": 1.0, "f2": 0.5}, {"b": eval1}),
                      ({"f1": 1.0, "f2": 0.75}, {"b": eval2}),
                  ]
              },
              trial_index=0,
          )
          self.assertEqual(
              map_data.map_df["sem"].isnull().all(), sem is None
          )
          self.assertEqual(len(map_data.map_df), 2)
          self.assertEqual(set(map_data.map_keys), {"f1", "f2"})
  
      with self.assertRaisesRegex(
          ValueError, "Inconsistent map_key sets in evaluations"
      ):
          MapData.from_map_evaluations(
              evaluations={
                  "0_1": [
                      ({"f1": 1.0, "f2": 0.5}, {"b": (3.7, 0.5)}),
                  ]
              },
              map_key_infos=[MapKeyInfo(key="f1", default_value=0.0)],
              trial_index=0,
          )
  
file_path: Ax/ax/core/tests/test_map_data.py
imports: import pandas
  from ax.core.data import Data
  from ax.core.map_data import MapData, MapKeyInfo
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 6 for calling the MapDataTest obj's underlying member method code with example usage: obj.test_from_map_evaluations() without return types