code: def map_code_to_text_metric(metric_code):
      for text, value_codes in constants.METRIC_MAPPING.items():
          if metric_code in value_codes:
              return text
  
file_path: contextual-ai/xai/graphs/utils.py
imports: from sklearn.decomposition import PCA
  from sklearn.manifold import TSNE
  from xai import constants
label_desc: Use image node_id 5 for calling a global function with example usage: map_code_to_text_metric(metric_code) and returns: text