We developed a function (calculate_performance) that takes as input a rescored library and the labeled docking library (with actives and decoys) and determines the EF, BEDROC, and AUC-ROC metrics. This was used to determine DockM8's performance on the various benchmark datasets. It is also used to select the docking, pose selection, rescoring, and consensus conditions when using the --gen_decoys option.