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 15b72b1 commit e63d39fCopy full SHA for e63d39f
codeflash/optimization/function_optimizer.py
@@ -817,6 +817,7 @@ def determine_best_candidate(
817
source_code=self.ast_code_to_id[valid_opt_normalized_code]["shorter_source_code"],
818
optimization_id=valid_opt.candidate.optimization_id,
819
explanation=valid_opt.candidate.explanation,
820
+ source=valid_opt.candidate.source,
821
)
822
new_best_opt = BestOptimization(
823
candidate=new_candidate_with_shorter_code,
0 commit comments