def test_query_tfidf_scorer(self):
        self.sim_index.set_query_scorer('tfidf')
        for (query, golden_doc_hits_cos) in self.get_golden_hits_cos().items():
            results = self.sim_index.query(query)
            for (docname, score) in results:
                self.assertAlmostEqual(score,
                                       golden_doc_hits_cos[docname],
                                       msg="results={}".format(str(results)))
Stop serving the contents of the repository
dataset/ETHPy150Open taherh/pysimsearch/pysimsearch/test/sim_index_test.py/SimIndexTest.test_query_tfidf_scorer--crossover with--dataset/ETHPy150Open nacx/kahuna/kahuna/plugins/upload/repository.py/TransientRepository.stop