code: def parse_ann_collection_name(collection_name):
      """
      Analyze the collection name of the accuracy test and obtain the corresponding configuration
      e.g.:
      sift_128_euclidean
      """
      data_type = collection_name.split("_")[0]
      dimension = int(collection_name.split("_")[1])
      metric = collection_name.split("_")[2]
      # metric = collection_name.attrs['distance']
      # dimension = len(collection_name["train"][0])
      metric_type = ""
      if metric == "euclidean":
          metric_type = "l2"
      elif metric == "angular":
          metric_type = "ip"
      elif metric == "jaccard":
          metric_type = "jaccard"
      elif metric == "hamming":
          metric_type = "hamming"
      return data_type, dimension, metric_type
  
imports: import logging
label_desc: Use image node_id 3 for calling a global function with example usage: parse_ann_collection_name(collection_name) and returns: data_type,  dimension,  metric_type