File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed
Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change 11"""Version information for openevolve package."""
22
3- __version__ = "0.2.22 "
3+ __version__ = "0.2.23 "
Original file line number Diff line number Diff line change @@ -357,28 +357,6 @@ def force_exit_handler(signum, frame):
357357 best_program = self .database .get_best_program ()
358358 logger .info ("Using calculated best program (tracked program not found)" )
359359
360- # Check if there's a better program by combined_score that wasn't tracked
361- if best_program and "combined_score" in best_program .metrics :
362- best_by_combined = self .database .get_best_program (metric = "combined_score" )
363- if (
364- best_by_combined
365- and best_by_combined .id != best_program .id
366- and "combined_score" in best_by_combined .metrics
367- ):
368- # If the combined_score of this program is significantly better, use it instead
369- if (
370- best_by_combined .metrics ["combined_score" ]
371- > best_program .metrics ["combined_score" ] + 0.02
372- ):
373- logger .warning (
374- f"Found program with better combined_score: { best_by_combined .id } "
375- )
376- logger .warning (
377- f"Score difference: { best_program .metrics ['combined_score' ]:.4f} vs "
378- f"{ best_by_combined .metrics ['combined_score' ]:.4f} "
379- )
380- best_program = best_by_combined
381-
382360 if best_program :
383361 if (
384362 hasattr (self , "parallel_controller" )
You can’t perform that action at this time.
0 commit comments