cambios a scoreAllCandidates