Skip to content

Commit a49c037

Browse files
chore!: change static obligatory parameters
1 parent d91b73a commit a49c037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/evaluation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def evaluation_function(response, answer, params) -> Result:
4444
api_data = str(api_data)
4545

4646
print(api_data)
47-
if api_data in [params.get('correct_answer', None), 0.0, []]:
47+
if api_data in [params.get('correct_answer', None), -1.0, [{"resistance": -1}]]:
4848
is_correct = True
4949
else:
5050
is_correct = False

0 commit comments

Comments
 (0)