code: def test_overlapping_1_class(self):
      x = "a and b"
      y_true = [{"start": 0, "end": 7, "text": x, "label": "class1"}]
      y_pred = [
          {"start": 0, "end": 1, "text": "a", "label": "class1"},
          {"start": 6, "end": 7, "text": "b", "label": "class1"},
      ]
      expected = {
          "class1": {
              "false_positives": 0,
              "false_negatives": 0,
              "true_positives": 1,
              "precision": 1.0,
              "recall": 1.0,
              "f1-score": 1.0,
          },
          "micro-f1": 1.0,
          "macro-f1": 1.0,
          "weighted-f1": 1.0,
      }
      self.check_metrics(
          [y_true],
          [y_pred],
          expected=expected,
          span_type="overlap",
      )
  
imports: import unittest
  import pytest
  from finetune.util.metrics import seq_recall, seq_precision, get_seq_count_fn, micro_f1, sequence_f1, sequences_overlap
label_desc: Use image node_id 14 for calling the TestMetrics obj's underlying member method code with example usage: obj.test_overlapping_1_class() without return types