def METHOD_NAME():
    predictor = torch.randn(5)
    for cp in (
        torch.tensor([1, 2, 3, 4, 0]),
        torch.tensor([1, 2, 4, 3, 5]),
        torch.tensor([1, 2, 3, 4, 4]),
    ):
        with pytest.raises(ValueError):
            OrderedLogistic(predictor, cp)