Consider adding some options from trec_eval. The one that drove me to post this issue was -M, so we could specify the maximum depth of a run. (Without this, runs can return >1000 docs and get better recall.)
A case might be made for -c and -J, but I think those are better implemented in specific measures.
No patch yet. The plan is to have read_trec_run take the full args object, and then we can count docs in the generator and know when to stop. With this implementation we are agnostic to providers.
Consider adding some options from trec_eval. The one that drove me to post this issue was -M, so we could specify the maximum depth of a run. (Without this, runs can return >1000 docs and get better recall.)
A case might be made for -c and -J, but I think those are better implemented in specific measures.
No patch yet. The plan is to have read_trec_run take the full args object, and then we can count docs in the generator and know when to stop. With this implementation we are agnostic to providers.