Skip to content

Commit

Permalink
Umshini: fix bug where explanation is not initialized (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtanJS committed Nov 29, 2023
1 parent 293ff22 commit b5bba7b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def get_rewards(self) -> tuple[dict[str, float], str, str]:
return scores, "", ""

violation = False
explanation = None
if self.disable_judging:
violation = True if random.randint(0, 1) else False
else:
Expand Down

0 comments on commit b5bba7b

Please sign in to comment.