Closed cmacdonald closed 3 years ago
In this case, the problem is a missing docno column (which probably becomes doc_id)
There is a debate as to whether PyTerrier should have detected this.
Good call- @cmacdonald can you review #15 when you have a chance?
The error message I went with was:
unknown run format: DataFrame missing columns: ['doc_id'] (found ['query_id', 'docno', 'score'])
(similar message when qrels format is wrong)
Can we improve the error message? What does the run contain/type, what are the expected formats?