code: def test_add_model_missing_metrics(self):
      model_selection = ModelSelection()
      # val_loss is missing
      measured_values = {
          "val_acc": 0.78,
          "train_loss": 0.023,
          "train_acc": 0.85,
      }
  
      with self.assertRaisesRegex(
          ValueError,
          'Required measured values missing for metric "val_loss"',
      ):
          model_selection.add_model(
              str(1), "/any/path/to/model.bin", measured_values
          )
  
imports: import unittest
  from small_text.training.metrics import Metric
  from small_text.training.model_selection import ModelSelectionResult, ModelSelection, NoopModelSelection
label_desc: Use image node_id 11 for calling the ModelSelectionTest obj's underlying member method code with example usage: obj.test_add_model_missing_metrics() without return types