Spaces:
Sleeping
Sleeping
Update environment.py
Browse files- environment.py +1 -1
environment.py
CHANGED
|
@@ -507,7 +507,7 @@ class FocusFlowEnvironment:
|
|
| 507 |
|
| 508 |
return reward, " | ".join(feedback_parts)
|
| 509 |
|
| 510 |
-
|
| 511 |
# For each uncompleted deadline, it calculates how close you are to missing it.
|
| 512 |
# At 50+ steps away → pressure = 0.0. At 0 steps away → pressure=1.0.
|
| 513 |
# Returns the highest pressure across all deadlines.
|
|
|
|
| 507 |
|
| 508 |
return reward, " | ".join(feedback_parts)
|
| 509 |
|
| 510 |
+
def _compute_deadline_pressure(self) -> float:
|
| 511 |
# For each uncompleted deadline, it calculates how close you are to missing it.
|
| 512 |
# At 50+ steps away → pressure = 0.0. At 0 steps away → pressure=1.0.
|
| 513 |
# Returns the highest pressure across all deadlines.
|