Commit a8da008d authored by Vít Novotný's avatar Vít Novotný
Browse files

Make TestGetRandomNDCG more benevolent

parent d2702cf9
Pipeline #61758 canceled with stage
......@@ -45,7 +45,7 @@ class TestGetRandomNDCG(unittest.TestCase):
ndcg = get_ndcg(results, task, subset)
expected_ndcg = get_random_ndcg(task, subset)
self.assertAlmostEqual(expected_ndcg, ndcg, places=3)
self.assertAlmostEqual(expected_ndcg, ndcg, places=2)
def test_with_topn(self):
ndcg = get_random_ndcg('task1', 'test', 4)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment