Calculate auc on the whole set, reconstruct the code