code: def collection_parser(collection_name):
      """
      Resolve the collection name to obtain the corresponding configuration
      e.g.:
      sift_1m_128_l2
      sift: type of data set
      1m: size of the data inserted in the collection
      128: vector dimension
      l2: metric type
      """
      tmp = collection_name.split("_")
      # if len(tmp) != 5:
      #     return None
      data_type = tmp[0]
      collection_size_unit = tmp[1][-1]
      collection_size = tmp[1][0:-1]
      if collection_size_unit == "w":
          collection_size = int(collection_size) * 10000
      elif collection_size_unit == "m":
          collection_size = int(collection_size) * 1000000
      elif collection_size_unit == "b":
          collection_size = int(collection_size) * 1000000000
      dimension = int(tmp[2])
      metric_type = str(tmp[3])
      return data_type, collection_size, dimension, metric_type
  
imports: import logging
label_desc: Use image node_id 2 for calling a global function with example usage: collection_parser(collection_name) and returns: data_type,  collection_size,  dimension,  metric_type