code: def doc_to_text(self, doc):
      # 問題：has to be removed and re-added because
      # the training set has it but the test set doesn't
      return (
          f"問題：{doc['question'].replace('問題：','')}{self.SEP}ステップごとの答え："
      )
  
imports: import os
  from lm_eval.base import rf
  from lm_eval.tasks.gsm8k import GradeSchoolMath8K, INVALID_ANS
  import re
  import inspect
label_desc: Use image node_id 1 for calling the MGSM obj's underlying member method code with example usage: obj.doc_to_text(doc) and returns: str, doc, self, str