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 5d95967 commit a79ce1dCopy full SHA for a79ce1d
codeflash/optimization/function_optimizer.py
@@ -960,7 +960,7 @@ def run_optimized_candidate(
960
get_run_tmp_file(Path(f"test_return_values_{optimization_candidate_index}.sqlite")).unlink(missing_ok=True)
961
962
# Instrument codeflash capture
963
- candidate_fto_code = Path(function_to_optimize.file_path).read_text("utf-8")
+ candidate_fto_code = Path(self.function_to_optimize.file_path).read_text("utf-8")
964
candidate_helper_code = {}
965
for module_abspath in original_helper_code:
966
candidate_helper_code[module_abspath] = Path(module_abspath).read_text("utf-8")
0 commit comments