def bonferroni(alpha_orig, p_values):
    """
    Bonferrnoi correction.

    en.wikipedia.org/wiki/Bonferroni_correction

    Parameters
    ----------
    alpha_orig : float
        alpha value before correction
    p_values: list[float]
        p values resulting from all the tests

    Returns
    -------
    alpha_corrected: float
        new critical value (i.e. the corrected alpha)
    """
    return alpha_orig / len(p_values)