class_docstr: ASDiv: A Diverse Corpus for Evaluating and Developing English Math Word Problem Solvers
code: def _generate_examples(self, filepath, split):
      tree = ET.parse(filepath)
      root = tree.getroot()
      for key, problem in enumerate(root.iter("Problem")):
          yield key, {
              "body": problem.find("Body").text,
              "question": problem.find("Question").text,
              "solution_type": problem.find("Solution-Type").text,
              "answer": problem.find("Answer").text,
              "formula": problem.find("Formula").text,
          }
  
file_path: lm-evaluation-harness/lm_eval/datasets/asdiv/asdiv.py
imports: import os
  import xml.etree.ElementTree
  import datasets
label_desc: Use image node_id 3 for calling the ASDiv obj's underlying member method code with example usage: obj._generate_examples(filepath, split) without return types