code: def generate_octave_py_ascii(py_dict, fname):
      global g_log_base_dir
  
      run_time = py_dict["total time (ms)"]
      iter_number = py_dict["iteration number"]
      time_per_iter = py_dict["time (ms) per iteration"]
  
      with open(os.path.join(g_log_base_dir, fname), "wb") as test_file:
          for ind in range(0, len(run_time)):
              temp_str = (
                  str(run_time[ind])
                  + " "
                  + str(iter_number[ind])
                  + " "
                  + str(time_per_iter[ind])
                  + "\n"
              )
              test_file.write(temp_str)
  
file_path: h2o-3/scripts/grabGLRMJenkinRunResults.py
imports: import sys
  import os
  import json
label_desc: Use image node_id 2 for calling a global function with example usage: generate_octave_py_ascii(py_dict, fname) without return types