code: def summarize_experiment():
      screen.separator()
      screen.log_title("Results stored at: {}".format(experiment_path))
      screen.log_title(
          "Total runtime: {}".format(
              datetime.datetime.now() - time_started
          )
      )
      # TODO: reimplement the following code to print out the max reward during the training
      # if 'Training Reward' in self.data.keys() and 'Evaluation Reward' in self.data.keys():
      #     screen.log_title("Max training reward: {}, max evaluation reward: {}".format(
      # self.data['Training Reward'].max(), self.data['Evaluation Reward'].max()))
      screen.separator()
      if screen.ask_yes_no(
          "Do you want to discard the experiment results (Warning: this cannot be undone)?",
          False,
      ):
          remove_experiment_dir()
      elif screen.ask_yes_no(
          "Do you want to specify a different experiment name to save to?",
          False,
      ):
          new_name = get_experiment_name()
          old_path = experiment_path
          new_path = get_experiment_path(new_name, create_path=False)
          shutil.move(old_path, new_path)
          screen.log_title("Results moved to: {}".format(new_path))
  
imports: import atexit
  import datetime
  import os
  import re
  import shutil
  import signal
  import time
  import uuid
  from subprocess import Popen, PIPE
  from typing import Union
  from PIL import Image
  from pandas import DataFrame
  from six.moves import input
label_desc: Use image node_id 5 for calling a global function with example usage: summarize_experiment() without return types