We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4009cc1 commit c082b15Copy full SHA for c082b15
openevolve/evaluator.py
@@ -260,7 +260,7 @@ async def evaluate_program(
260
"error_type": "timeout",
261
}
262
263
- return {"error": 0.0, "timeout": True}
+ return {"combined_score": float('-inf'), "error": 0.0, "timeout": True}
264
265
except Exception as e:
266
last_exception = e
@@ -291,7 +291,7 @@ async def evaluate_program(
291
logger.error(
292
f"All evaluation attempts failed for program{program_id_str}. Last error: {str(last_exception)}"
293
)
294
- return {"error": 0.0}
+ return {"combined_score": float('-inf'), "error": 0.0}
295
296
def _process_evaluation_result(self, result: Any) -> EvaluationResult:
297
"""
0 commit comments