def METHOD_NAME():
    model, data = _make_model_and_data_overconfidence()
    t = test_overconfidence_rate(model, data, threshold=0.6, p_threshold=0.1)
    res = t.execute()
    assert not res.passed
    assert res.metric == approx(1.0)
    t = test_overconfidence_rate(model, data, threshold=0.6, p_threshold=0.99)
    res = t.execute()
    assert res.passed
    assert res.metric == approx(0.0)