Skip to content

Commit fa07342

Browse files
committed
regression fix
1 parent 95fb1f0 commit fa07342

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

codeflash/optimization/function_optimizer.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -993,12 +993,6 @@ def find_and_process_best_optimization(
993993
optimized_function=best_optimization.candidate.source_code,
994994
)
995995

996-
existing_tests = existing_tests_source_for(
997-
self.function_to_optimize.qualified_name_with_modules_from_root(self.project_root),
998-
function_to_all_tests,
999-
tests_root=self.test_cfg.tests_root,
1000-
)
1001-
1002996
original_code_combined = original_helper_code.copy()
1003997
original_code_combined[explanation.file_path] = self.function_to_optimize_source_code
1004998
new_code_combined = new_helper_code.copy()
@@ -1059,7 +1053,6 @@ def find_and_process_best_optimization(
10591053
trace_id=self.function_trace_id, is_optimization_found=best_optimization is not None
10601054
)
10611055
self.log_successful_optimization(explanation, generated_tests, exp_type)
1062-
10631056
return best_optimization
10641057

10651058
def establish_original_code_baseline(

0 commit comments

Comments
 (0)