Skip to content

Commit b893923

Browse files
committed
minor bugfix
1 parent 213a8d9 commit b893923

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

codeflash/api/aiservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def log_results( # noqa: D417
296296
- original_runtime (Optional[Dict[str, float]]): The original runtime.
297297
- optimized_runtime (Optional[Dict[str, float]]): The optimized runtime.
298298
- is_correct (Optional[Dict[str, bool]]): Whether the optimized code is correct.
299-
-optimized_line_profiler_results: line_profiler results for every candidate mapped to their optimization_id
299+
- optimized_line_profiler_results: line_profiler results for every candidate mapped to their optimization_id
300300
301301
"""
302302
payload = {

codeflash/optimization/function_optimizer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ def determine_best_candidate(
598598
original_runtime=original_code_baseline.runtime,
599599
optimized_runtime=optimized_runtimes,
600600
is_correct=is_correct,
601+
optimized_line_profiler_results=optimized_line_profiler_results
601602
)
602603
return best_optimization
603604

0 commit comments

Comments
 (0)