def metric_failure_default(metric, failure_value="AUTO"):
    """Returns the default failure value for the specified metric."""

    if failure_value != "AUTO":
        return failure_value

    switcher = {
        "chainsActive": "-1",
        "type": "",
        "typeFull": "",
    }
    return switcher.get(metric, "0")