code: def test_metrics_structure(self):
      instance = self.model_class.objects.get(
          experiment_id=self.experiment1.experiment_id
      )
      self.assertTrue(isinstance(instance.metrics, dict))
  
      ekey = next(iter(instance.metrics["evaluation"]))
      self.assertTrue(instance.metrics["evaluation"])
      self.assertTrue(isinstance(instance.metrics["evaluation"], dict))
      self.assertTrue(
          isinstance(instance.metrics["evaluation"][ekey], list)
      )
  
      self.assertTrue(instance.metrics["metric_list"])
      self.assertTrue(isinstance(instance.metrics["metric_list"], list))
  
      self.assertEqual(
          len(instance.metrics["metric_list"]),
          len(instance.metrics["evaluation"].keys()),
      )
  
file_path: modelchimp/modelchimp/tests/models/test_experiment_model.py
imports: from modelchimp.tests import BaseTest
  from modelchimp.factories.factory_experiment import ExperimentFactory
  from modelchimp.models.experiment import Experiment
label_desc: Use image node_id 7 for calling the ExperimentModelTest obj's underlying member method code with example usage: obj.test_metrics_structure() without return types