cvangysel / pytrec_eval

pytrec_eval is an Information Retrieval evaluation tool for Python, based on the popular trec_eval.
http://ilps.science.uva.nl/
MIT License
282 stars 32 forks source link

iprec_at_recall trec_eval: duplicate cutoffs detected #41

Open StamTheo28 opened 1 year ago

StamTheo28 commented 1 year ago

I am running an experinment in PyTerrier and i am trying to measure the iprec_at_recall at all recall values. However, i get the following error when i run the experinment ( works fine with other measures such as ndcg etc ).

trec_eval: duplicate cutoffs detected
python3: src/pytrec_eval.cpp:634: PyObject RelevanceEvaluator_evaluate(RelevanceEvaluator, PyObject*): Assertion 'te_trec_measures[measure_idx]->eval_index >=0' failed.