code: def generate_octave_java_ascii(java_dict, fname):
      global g_log_base_dir
  
      updateX = java_dict["update X (ms)"]
      updateY = java_dict["update Y (ms)"]
      obj = java_dict["objective (ms)"]
  
      with open(os.path.join(g_log_base_dir, fname), "w") as test_file:
          for ind in range(0, len(updateX)):
              temp_str = (
                  str(updateX[ind])
                  + " "
                  + str(updateY[ind])
                  + " "
                  + str(obj[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 1 for calling a global function with example usage: generate_octave_java_ascii(java_dict, fname) without return types