Skip to content

Commit

Permalink
Fix wrong length cap direction
Browse files Browse the repository at this point in the history
  • Loading branch information
bartowski1182 committed Nov 26, 2024
1 parent f61a1c1 commit eaf11fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async def score_and_update(self, item: Result) -> None:
with_context_answer = item.with_context_answer
without_context_answer = item.without_context_answer

if len(with_context_answer) < 5000 or len(without_context_answer) < 5000:
if len(with_context_answer) > 7000 or len(without_context_answer) > 7000:
return

# Compare responses
Expand Down

0 comments on commit eaf11fb

Please sign in to comment.