diff --git a/bin/score_outcomes/test_score_outcomes.py b/bin/score_outcomes/test_score_outcomes.py index bdbee077..c0dd6cc1 100644 --- a/bin/score_outcomes/test_score_outcomes.py +++ b/bin/score_outcomes/test_score_outcomes.py @@ -95,6 +95,7 @@ class Report(unittest.TestCase): def test_ranks_ties_by_their_mean_rank(self): self.assertAlmostEqual(rank_correlation([1, 1, 2, 2, 2], [1, 2, 3, 4, 5]), 0.866, places=3) self.assertAlmostEqual(rank_correlation([1, 1, 2, 3], [1, 2, 3, 4]), 0.949, places=3) + self.assertAlmostEqual(rank_correlation([1, 2, 3, 4, 5], [1, 1, 2, 2, 2]), 0.866, places=3) def test_gives_how_well_l_e_and_i_each_order_chunks_by_review_rounds_and_red_findings(self): levels = [1, 1, 2, 2, 2, 3, 3, 3, 4, 4]