def METHOD_NAME(population_1, population_2, alternative, critical_quantile):
    """
    Computes the result of the paired t-test given 2 groups of observations and a level of significance
    p_value > quantile ==> we support the null hypothesis
    p_value < quantile ==> we support the alternative hypothesis
    less ==> alternative: mean(pop1) < mean(pop2)
    greater ==> alternative: mean(pop1) > mean(pop2)
    """
    if alternative not in ["less", "greater"]:
        raise ValueError("Incorrect alternative hypothesis! It has to be one of the following: ['less', 'greater']")
    if np.array_equal(population_1, population_2):
        p_value = 1.0
    else:
        _, p_value = stats.ttest_rel(population_1, population_2, alternative=alternative)
    return p_value <= critical_quantile, p_value