parallel compute_error, compute_w_phi_e, worst_violator