code: def compute_mean_correct_matches(dist, list_tau, is_leq=True):
      """
      for each pair, save the name of the source,
      """
      res = []
      for tau in list_tau:
          if is_leq:
              res.append(np.mean(dist < tau))
          else:
              res.append(np.mean(dist > tau))
      return res
  
file_path: torch-points3d/scripts/test_registration_scripts/descriptor_matcher.py
imports: import pandas
  import hydra
  import numpy
  from sklearn.neighbors import KDTree
  import os
  import os.path
  from omegaconf import OmegaConf
  import sys
  import matplotlib.pyplot
label_desc: Use image node_id 4 for calling a global function with example usage: compute_mean_correct_matches(dist, list_tau, is_leq) and returns: res