def convert_metric(metric):
    """
    Convert a metric name to a fixed name that can be used in 
    various scripts.
    Args:
        metric (str): input metric
    Returns:
        metric (str): output metric
    """
    if metric in ["prc_auc", "prc-auc"]:
        metric = "pr_auc"
    elif metric in ["auc", "roc-auc"]:
        metric = "roc_auc"
    return metric