docs: def system_repertoire_distance(r1, r2):
      """Compute the distance between two repertoires of a system.
  
      Args:
          r1 (np.ndarray): The first repertoire.
          r2 (np.ndarray): The second repertoire.
  
      Returns:
          float: The distance between ``r1`` and ``r2``.
      """
      if config.MEASURE in measures.asymmetric():
          raise ValueError(
              '{} is asymmetric and cannot be used as a system-level '
              'irreducibility measure.'.format(config.MEASURE))
  
      return measures[config.MEASURE](r1, r2)