code: def method2order(name):
      if name.startswith("FlexGen (c)"):
          return 0
      elif name.startswith("FlexGen"):
          return 1
      elif name.startswith("DeepSpeed"):
          return 2
      elif name.startswith("HuggingFace"):
          return 3
      elif name.startswith("Petals"):
          return 4
      else:
          return 5
  
file_path: H2O/h2o_flexgen/utils/plot_utils.py
imports: import matplotlib
  import matplotlib.pyplot
  import os
label_desc: Use image node_id 3 for calling a global function with example usage: method2order(name) and returns: int, int, int, int, int, int