100XZX001 commited on
Commit
0eddef8
·
verified ·
1 Parent(s): 4b1fdf1

Update environment.py

Browse files
Files changed (1) hide show
  1. environment.py +1 -1
environment.py CHANGED
@@ -382,7 +382,7 @@ class CodeReviewEnv:
382
  # ============================================================
383
  return max(-1.0, min(1.0, reward))
384
 
385
- return reward
386
 
387
  # ===================================================================
388
  def _get_action_type(self, action: AnyAction) -> str:
 
382
  # ============================================================
383
  return max(-1.0, min(1.0, reward))
384
 
385
+ return reward
386
 
387
  # ===================================================================
388
  def _get_action_type(self, action: AnyAction) -> str: