add return values for compute_standard_metrics