code: def __get_max_trial_version(self, path):
      files = os.listdir(path)
      version_files = [f for f in files if "trial_" in f]
      if len(version_files) > 0:
          # regex out everything except file version for ve
          versions = [
              int(f_name.split("_")[1]) for f_name in version_files
          ]
          max_version = max(versions)
          return max_version + 1
      else:
          return 0
  
imports: import datetime
  import os
  import signal
  import sys
  import time
  import traceback
  from subprocess import call
  from .argparse_hopt import HyperOptArgumentParser
label_desc: Use image node_id 12 for calling the SlurmCluster obj's underlying member method code with example usage: obj.__get_max_trial_version(path) and returns: unknown, int