code: def test_coqa_f1(self):
      self.assertDictClose(
          metrics.coqa_f1([["jump box"], ["maru"]], ["jump", "cat"]),
          {"f1": 1 / 3 * 100},
      )
      self.assertDictClose(
          metrics.coqa_f1(
              [["jump the box"], ["maru"]], ["jump", "cat"]
          ),
          {"f1": 1 / 3 * 100},
      )
  
      self.assertDictClose(
          metrics.coqa_f1(
              [["jump the box", "climb box"]], ["jump box"]
          ),
          {"f1": 100},
      )
  
imports: from unittest import mock
  from absl.testing import absltest
  import numpy
  import seqio
  import sklearn.metrics
  from t5.evaluation import metrics
  from t5.evaluation import test_utils
label_desc: Use image node_id 37 for calling the MetricsTest obj's underlying member method code with example usage: obj.test_coqa_f1() without return types