Predicting winners in court