From 12cbb11efbf1d82c2be84bc376e1aceffcaced31 Mon Sep 17 00:00:00 2001 From: Jimmy Lin Date: Mon, 6 Nov 2023 19:57:26 -0500 Subject: [PATCH] Recalibrate scores for Apple's M1 Processor with new package upgrades (#1707) Fix is with integration tests this time. --- integrations/dense/test_tct_colbert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/dense/test_tct_colbert.py b/integrations/dense/test_tct_colbert.py index 67b94d2c2..379b270bc 100644 --- a/integrations/dense/test_tct_colbert.py +++ b/integrations/dense/test_tct_colbert.py @@ -105,7 +105,7 @@ def test_msmarco_passage_tct_colbert_bf_d2q_hybrid_otf(self): stdout, stderr = run_command(cmd2) score = parse_score(stdout, "MRR @10") self.assertEqual(status, 0) - self.assertAlmostEqual(score, 0.3647, places=4) + self.assertAlmostEqual(score, 0.3647, delta=0.0002) def test_msmarco_passage_tct_colbert_encoded_queries(self): encoded = QueryEncoder.load_encoded_queries('tct_colbert-msmarco-passage-dev-subset')