metrics (dict[str, dict[str, float]]) – A dictionary where the keys indicate the name of the pertubations and the values are
dictionaries containing computed metrics.
prefix (str) – A string definining the prefix of all metrics in the output dictionary.