code: def test_ax_client_completed_record_from_ax_client(self) -> None:
      ax_client = AxClient()
      ax_client.create_experiment(
          name="test_experiment",
          parameters=[
              {"name": "x", "type": "range", "bounds": [-5.0, 10.0]},
              {"name": "y", "type": "range", "bounds": [0.0, 15.0]},
          ],
          objectives={"branin": ObjectiveProperties(minimize=True)},
          is_test=True,
      )
  
      record = AxClientCompletedRecord.from_ax_client(
          ax_client=ax_client
      )
  
      expected = AxClientCompletedRecord(
          experiment_completed_record=ExperimentCompletedRecord.from_experiment(
              experiment=ax_client.experiment
          ),
          best_point_quality=float("-inf"),
          model_fit_quality=float("-inf"),
          model_std_quality=float("-inf"),
          model_fit_generalization=float("-inf"),
          model_std_generalization=float("-inf"),
      )
      self.assertEqual(record, expected)
  
file_path: Ax/ax/telemetry/tests/test_ax_client.py
imports: from typing import Dict, List, Sequence, Union
  from ax.core.types import TParamValue
  from ax.service.ax_client import AxClient, ObjectiveProperties
  from ax.telemetry.ax_client import AxClientCompletedRecord, AxClientCreatedRecord
  from ax.telemetry.experiment import ExperimentCompletedRecord, ExperimentCreatedRecord
  from ax.telemetry.generation_strategy import GenerationStrategyCreatedRecord
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 2 for calling the TestAxClient obj's underlying member method code with example usage: obj.test_ax_client_completed_record_from_ax_client() without return types