code: def test_get_one_f1():
      generated_field = "That is so good"
      ground_truth_field = "That is so awesome"
  
      f1 = QAMetrics.get_one_f1(generated_field, ground_truth_field)
      assert f1 == 0.75
  
      generated_field = ""
      ground_truth_field = "That"
  
      f1 = QAMetrics.get_one_f1(generated_field, ground_truth_field)
      assert f1 == 0
  
file_path: NeMo/tests/collections/nlp/test_qna.py
imports: import collections
  import pytest
  import torch
  from nemo.collections.nlp.data.question_answering.dataset.qa_dataset import QADataset
  from nemo.collections.nlp.data.question_answering.dataset.qa_gpt_dataset import GPTQADataset
  from nemo.collections.nlp.metrics.qa_metrics import QAMetrics
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_one_f1() without return types