def METHOD_NAME():
    activations = np.array(
        [
            [1, 1],
            [1, 1],
            [1.1, 1.1],
            [-1, -1],
            [-1, -1],
            [-0.9, -0.9],
            [1, 1],
            [1, 2],
            [2, 1],
            [-1, 1],
            [-1, 2],
            [-2, 1],
        ]
    )
    labels = np.array(
        [
            0,
            0,
            0,
            0,
            0,
            0,
            1,
            1,
            1,
            1,
            1,
            1,
        ]
    )
    true_ceilings = {0: 0.9666434966331335, 1: 0.5798612907787333}
    true_mask = [
        False,
        False,
        True,
        False,
        False,
        True,
        False,
        True,
        False,
        False,
        True,
        False,
    ]
    mask, ceilings = statistical.class_majority_mask(activations, labels)
    assert (mask == true_mask).all()
    assert ceilings == pytest.approx(true_ceilings)