code: def testUpdateConfigWithDefaultsAutomaticallyAddsBaselineModel(self):
      eval_config_pbtxt = """
        model_specs { label_key: "my_label" }
        metrics_specs {
          metrics { class_name: "ExampleCount" }
        }
      """
      eval_config = text_format.Parse(
          eval_config_pbtxt, config_pb2.EvalConfig()
      )
  
      expected_eval_config_pbtxt = """
        model_specs { name: "candidate" label_key: "my_label" }
        model_specs { name: "baseline" label_key: "my_label" is_baseline: true }
        metrics_specs {
          metrics { class_name: "ExampleCount" }
          model_names: ["candidate", "baseline"]
        }
      """
      expected_eval_config = text_format.Parse(
          expected_eval_config_pbtxt, config_pb2.EvalConfig()
      )
  
      got_eval_config = config_util.update_eval_config_with_defaults(
          eval_config, has_baseline=True
      )
      self.assertProtoEquals(got_eval_config, expected_eval_config)
  
file_path: model-analysis/tensorflow_model_analysis/utils/config_util_test.py
imports: import tensorflow
  from tensorflow_model_analysis.proto import config_pb2
  from tensorflow_model_analysis.utils import config_util
  from google.protobuf import text_format
label_desc: Use image node_id 8 for calling the ConfigTest obj's underlying member method code with example usage: obj.testUpdateConfigWithDefaultsAutomaticallyAddsBaselineModel() without return types