Update graders/grader2.py
Browse files- graders/grader2.py +1 -1
graders/grader2.py
CHANGED
|
@@ -53,4 +53,4 @@ def grade(episode_log: Dict[str, Any]) -> float:
|
|
| 53 |
separation_score = max(0.0, 1.0 - separation_violations / max_violations)
|
| 54 |
|
| 55 |
final_score = 0.4 * delay_score + 0.4 * fuel_score + 0.2 * separation_score
|
| 56 |
-
return max(0.
|
|
|
|
| 53 |
separation_score = max(0.0, 1.0 - separation_violations / max_violations)
|
| 54 |
|
| 55 |
final_score = 0.4 * delay_score + 0.4 * fuel_score + 0.2 * separation_score
|
| 56 |
+
return max(0.001, min(0.999, final_score))
|