Skip to content

Commit

Permalink
Update feedback_evaluator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HadronCollider authored May 24, 2024
1 parent c357720 commit 3dda686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/feedback_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def get_result_as_sum_str(self, criteria_results):
for necessary_criterion_name in necessary_criteria:
if necessary_criterion_name in criterion_name:
# if necessary_criterion_name exists and 0 -> training result 0, else -> continue
if criteria_results[criterion_name].result == 0:
if criteria_results[criterion_name].get('result', 0) == 0:
return None
necessary_criteria[necessary_criterion_name] = True

Expand Down

0 comments on commit 3dda686

Please sign in to comment.