Update environment.py
Browse files- 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 |
-
|
| 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:
|