logic to give all predictions a score