Skip to content

Commit

Permalink
Evaluate on all topics instead of those with documents retrieved (#108)
Browse files Browse the repository at this point in the history
* Added TREC7 and TREC8 qrels (primarily to avoid confusion with the WT qrels in `qrels/qrels.401-450.txt`

* Missing TREC7 topics files

* Change default to setting also used in the "official" evaluation

* Add -c flag for trec_eval

* Revert "Change default to setting also used in the "official" evaluation"

This reverts commit 85b13df.
  • Loading branch information
arjenpdevries authored and Ryan Clancy committed Jun 18, 2019
1 parent ee62fa8 commit f6c6ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def search(self, client, output_path_guest, topic_path_guest, test_split_path_gu
print()

# The measure string passed to trec_eval
measures = " ".join(map(lambda x: "-m {}".format(x), self.config.measures))
measures = " ".join(map(lambda x: "-c -m {}".format(x), self.config.measures))

print("Evaluating results using trec_eval...")
for file in os.listdir(self.config.output):
Expand Down

0 comments on commit f6c6ef4

Please # to comment.