Skip to content

Commit

Permalink
Correct typo (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonstyle authored Aug 7, 2024
1 parent bd50e82 commit 6502b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inspect_ai/scorer/_reducer/reducer.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def pass_at(
def reduce(scores: list[Score]) -> Score:
def pass_at_k(values: list[float]) -> float:
total = len(scores)
correct = sum(1 for v in values if value == value)
correct = sum(1 for v in values if v == value)
if total - correct < k:
return 1.0
else:
Expand Down

0 comments on commit 6502b8e

Please sign in to comment.