From 79cce7776204d21436bb199d23d77d2c11959430 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 16 Oct 2026 18:08:39 +0200 Subject: [PATCH] =?UTF-8?q?Answer=20stability=20round=202:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=201=20=F0=9F=9F=A1;=20test=20the=20two-valued=20o?= =?UTF-8?q?utcomes=20side=20of=20the=20rank=20correlation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/score_outcomes/test_score_outcomes.py | 1 + 1 file changed, 1 insertion(+) 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]