Skip to content

Commit

Permalink
fix: extra yield of missing answers in scoring
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Apr 16, 2024
1 parent a8ca172 commit 1d153a7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fanoutqa/eval/scorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ def get_qa_pairs(self) -> Iterable[tuple[DevQuestion, Optional[Answer]]]:
else:
for q in self.questions:
a = self.answers_by_id.get(q.id)
if a is None:
yield q, None
yield q, a

# scorers
Expand Down

0 comments on commit 1d153a7

Please sign in to comment.