WIP: refactor metrics.auc