code: def output_author2reference_list(author2reference_list, filename):
      print("outputing author reference list")
      with open(filename, "w") as wt:
          for author, ref_list in author2reference_list.items():
              paper_list = [a[0] for a in ref_list]
              paper_publich_date_list = [str(a[1]) for a in ref_list]
              paper_cited_date_list = [str(a[2]) for a in ref_list]
              wt.write(
                  "{0}\t{1}\t{2}\t{3}\n".format(
                      author,
                      ",".join(paper_list),
                      ",".join(paper_publich_date_list),
                      ",".join(paper_cited_date_list),
                  )
              )
  
imports: import codecs
  import pickle
  import time
  import os
  from datetime import datetime
  import random
  import numpy
  import math
  from multiprocessing import Process
  from utils.general import *
  from utils.data_helper import *
label_desc: Use image node_id 8 for calling a global function with example usage: output_author2reference_list(author2reference_list, filename) without return types