code: def test_context_overlap_extractor(self):
      # from SQuAD 2.0 dev set article: Steam_engine
      test_context = """
              Steam engines are external combustion engines,
              where the working fluid is separate from the
              combustion products.
              Non-combustion heat sources such as solar power,
              nuclear power or geothermal energy may be used.
              The ideal thermodynamic cycle used to analyze this
              process is called the Rankine cycle.
              In the cycle, water is heated and transforms into steam
              within a boiler operating at a high pressure.
              When expanded through pistons or turbines, mechanical
              work is done.
              The reduced-pressure steam is then condensed and pumped
              back into the boiler.
          """
  
      test_data = [
          {
              "question": "At what pressure is water heated in the Rankine cycle?",
              "context_overlap": 1.0,
          },
          {
              "question": "What types of engines are steam engines?",
              "context_overlap": 0.667,
          },
          {
              "question": "Which part of the immune system protects the brain?",
              "context_overlap": 0.0,
          },
      ]
  
      for data in test_data:
          context_overlap = get_context_overlap(
              test_context, data["question"]
          )
          assert data["context_overlap"] == context_overlap
  
imports: import spacy
  from negspacy.termsets import termset
  from responsibleai_text.utils.feature_extractors import get_context_overlap, get_question_type
label_desc: Use image node_id 2 for calling the TestFeatureExtractors obj's underlying member method code with example usage: obj.test_context_overlap_extractor() without return types