Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- server/grader.py +1 -1
server/grader.py
CHANGED
|
@@ -98,7 +98,7 @@ def grade(task_name, agent_profit):
|
|
| 98 |
return 1.0 if agent_profit >= ceiling else 0.0
|
| 99 |
|
| 100 |
score = (agent_profit - floor) / (ceiling - floor)
|
| 101 |
-
return max(0.
|
| 102 |
|
| 103 |
|
| 104 |
def grade_all(results):
|
|
|
|
| 98 |
return 1.0 if agent_profit >= ceiling else 0.0
|
| 99 |
|
| 100 |
score = (agent_profit - floor) / (ceiling - floor)
|
| 101 |
+
return max(0.002, min(0.998, score))
|
| 102 |
|
| 103 |
|
| 104 |
def grade_all(results):
|