Commit ·
1f7a59c
1
Parent(s): 1259d00
fix: enforce strict (0,1) scores and simplify openenv yaml
Browse files- openenv.yaml +1 -3
- src/models.py +1 -1
openenv.yaml
CHANGED
|
@@ -98,7 +98,6 @@ tasks:
|
|
| 98 |
Study for 8 hours (480 minutes) without energy hitting zero.
|
| 99 |
The agent must manage energy carefully across the full session.
|
| 100 |
max_steps: 120
|
| 101 |
-
score_range: [0.001, 0.999]
|
| 102 |
scoring: energy_remaining / 100
|
| 103 |
success_threshold: 0.5
|
| 104 |
|
|
@@ -108,7 +107,6 @@ tasks:
|
|
| 108 |
Get as many productive minutes (focus > 60) as possible in a 4-hour session.
|
| 109 |
Score = productive_minutes / 240, capped at 1.0
|
| 110 |
max_steps: 60
|
| 111 |
-
score_range: [0.001, 0.999]
|
| 112 |
scoring: min(productive_minutes / 240, 1.0)
|
| 113 |
success_threshold: 0.5
|
| 114 |
|
|
@@ -118,6 +116,6 @@ tasks:
|
|
| 118 |
Only take breaks when energy is actually low (below 40%).
|
| 119 |
Score = good_breaks / total_breaks. Perfect score = all breaks were necessary.
|
| 120 |
max_steps: 80
|
| 121 |
-
score_range: [0.001, 0.999]
|
| 122 |
scoring: good_breaks / max(total_breaks, 1)
|
| 123 |
success_threshold: 0.6
|
|
|
|
|
|
| 98 |
Study for 8 hours (480 minutes) without energy hitting zero.
|
| 99 |
The agent must manage energy carefully across the full session.
|
| 100 |
max_steps: 120
|
|
|
|
| 101 |
scoring: energy_remaining / 100
|
| 102 |
success_threshold: 0.5
|
| 103 |
|
|
|
|
| 107 |
Get as many productive minutes (focus > 60) as possible in a 4-hour session.
|
| 108 |
Score = productive_minutes / 240, capped at 1.0
|
| 109 |
max_steps: 60
|
|
|
|
| 110 |
scoring: min(productive_minutes / 240, 1.0)
|
| 111 |
success_threshold: 0.5
|
| 112 |
|
|
|
|
| 116 |
Only take breaks when energy is actually low (below 40%).
|
| 117 |
Score = good_breaks / total_breaks. Perfect score = all breaks were necessary.
|
| 118 |
max_steps: 80
|
|
|
|
| 119 |
scoring: good_breaks / max(total_breaks, 1)
|
| 120 |
success_threshold: 0.6
|
| 121 |
+
|
src/models.py
CHANGED
|
@@ -47,6 +47,6 @@ class TaskInfo(BaseModel):
|
|
| 47 |
"""Info about the current task being evaluated."""
|
| 48 |
|
| 49 |
task_id: str
|
| 50 |
-
score: float = Field(...,
|
| 51 |
done: bool
|
| 52 |
extra: Optional[dict] = None
|
|
|
|
| 47 |
"""Info about the current task being evaluated."""
|
| 48 |
|
| 49 |
task_id: str
|
| 50 |
+
score: float = Field(..., gt=0.0, lt=1.0)
|
| 51 |
done: bool
|
| 52 |
extra: Optional[dict] = None
|