code: def record_stats(outdir, values):
      with open(os.path.join(outdir, "scores.txt"), "a+") as f:
          print("\t".join(str(x) for x in values), file=f)
  
imports: import logging
  import multiprocessing
  import os
  import statistics
  import time
  import numpy
  import chainerrl
label_desc: Use image node_id 4 for calling a global function with example usage: record_stats(outdir, values) without return types