def is_significant(sample1, sample2):
deg_freedom = len(sample1) + len(sample2) - <NUM_LIT:2><EOL>critical_value = tdist95conf_level(deg_freedom)<EOL>t_score = tscore(sample1, sample2)<EOL>return (abs(t_score) >= critical_value, t_score)<EOL>
Determine whether two samples differ significantly.

    This uses a Student's two-sample, two-tailed t-test with alpha=0.95.

    Args:
        sample1: one sample.
        sample2: the other sample.

    Returns:
        (significant, t_score) where significant is a bool indicating whether
        the two samples differ significantly; t_score is the score from the
        two-sample T test.