Spaces:
Sleeping
Sleeping
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
|
@@ -89,7 +89,7 @@ CRITICAL EXAMPLES FOR ALIGNMENT:
|
|
| 89 |
# Calculate End metrics for the autograder
|
| 90 |
total_possible = step_count * 1.0
|
| 91 |
score = sum(rewards_list) / total_possible if total_possible > 0 else 0.0
|
| 92 |
-
success = score >= 0.
|
| 93 |
rewards_str = ",".join(f"{r:.2f}" for r in rewards_list)
|
| 94 |
|
| 95 |
# Strictly formatted [END] log
|
|
|
|
| 89 |
# Calculate End metrics for the autograder
|
| 90 |
total_possible = step_count * 1.0
|
| 91 |
score = sum(rewards_list) / total_possible if total_possible > 0 else 0.0
|
| 92 |
+
success = score >= 0.75 # Arbitrary success threshold
|
| 93 |
rewards_str = ",".join(f"{r:.2f}" for r in rewards_list)
|
| 94 |
|
| 95 |
# Strictly formatted [END] log
|