def test_debater_score(self):
        debaters = Debater.objects.all()
        scores = [(debater.name, tab_logic.debater_score(debater))
                  for debater in debaters]
        expected_scores = load_debater_rankings()
        dict_scores, dict_expected_scores = map(dict,
                                                (scores, expected_scores))
        assert len(dict_scores) == len(dict_expected_scores)
        for k in dict_scores:
            left, right = dict_scores[k], dict_expected_scores[k]
            msg = "{} - {}, {}".format(k, left, right)
            [assert_nearly_equal(*pair, message=msg) for pair
             in zip(set(left), set(right))]
Comprehensive test of ranking calculations, done on real world
dataset/ETHPy150Open jolynch/mit-tab/mittab/libs/tests/test_tab_logic.py/TestRankingLogic.test_debater_score