trectools icon indicating copy to clipboard operation
trectools copied to clipboard

Malformed lines

Open lironT74 opened this issue 3 years ago • 1 comments

Hi @joaopalotti, It seems that for malformed lines, such as: image trec_eval throws: trec_eval.get_results: Malformed line 790 While trec_tools does not.

I am not sure that this is a bad thing but perhaps a warning will suite here? Unfortunately I am a bit swamped lately so I am not available to offer a fix myself. Thank you!

lironT74 avatar Sep 30 '21 06:09 lironT74

Hi @lironT74, thank you very much for identifying this mismatch between trec_eval and trectools. While ago, I created a set of validation scripts for CLEF eHealth. Their goal was to verify this type of error and other similar problems such as non-sequential document rank or non-decreasing score for a given topic.

Having this kind of check integrated into trectools would be amazing!

I will leave this issue with a help-wanted flag and hope to get help from the amazing IR community!

joaopalotti avatar Apr 13 '22 11:04 joaopalotti