rename_metrics#
- pepbench.utils.rename_metrics(metrics: str_t) str_t[source]#
Map metric identifier(s) to human-readable label(s).
- Parameters:
- metricsstr_t
A single metric identifier string or an iterable of such strings.
- Returns:
- str_t
The corresponding human-readable label(s). If the input was a single string, a single string is returned; if the input was an iterable, a list of strings is returned.