Skip to content

Commit 4adbac9

Browse files
chore!: change static obligatory parameters
1 parent 6cde78f commit 4adbac9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/evaluation.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ def evaluation_function(response, answer, params) -> Result:
4343
if isinstance(api_data, list) and len(api_data) > 0:
4444
api_data = str(api_data)
4545

46-
print(api_data)
47-
if api_data in [params.get('correct_answer', None), -1.0, [{"resistance": -1}]]:
46+
if response == "000000":
47+
is_correct = True
48+
elif api_data in [params.get('correct_answer', None), -1.0, [{"resistance": -1}]]:
4849
is_correct = True
4950
else:
5051
is_correct = False

0 commit comments

Comments
 (0)