Score Updation
Browse files- environment.py +3 -3
environment.py
CHANGED
|
@@ -15,11 +15,11 @@ class SupportEnv:
|
|
| 15 |
|
| 16 |
# reward logic
|
| 17 |
if action == correct:
|
| 18 |
-
reward =
|
| 19 |
elif action == "ask_proof" and correct == "ask_proof":
|
| 20 |
-
reward = 0.
|
| 21 |
else:
|
| 22 |
-
reward = 0.
|
| 23 |
|
| 24 |
# move to next case
|
| 25 |
self.index += 1
|
|
|
|
| 15 |
|
| 16 |
# reward logic
|
| 17 |
if action == correct:
|
| 18 |
+
reward = 0.9
|
| 19 |
elif action == "ask_proof" and correct == "ask_proof":
|
| 20 |
+
reward = 0.5
|
| 21 |
else:
|
| 22 |
+
reward = 0.1
|
| 23 |
|
| 24 |
# move to next case
|
| 25 |
self.index += 1
|