Skip to content

Commit 213a8d9

Browse files
committed
fix for unittest framework
1 parent 12c35fa commit 213a8d9

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

codeflash/api/aiservice.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,6 @@ def log_results( # noqa: D417
306306
"optimized_runtime": optimized_runtime,
307307
"is_correct": is_correct,
308308
"codeflash_version": codeflash_version,
309-
<<<<<<< Updated upstream
310-
=======
311-
"best_optimization_id": best_optimization_id,
312-
>>>>>>> Stashed changes
313309
"optimized_line_profiler_results": optimized_line_profiler_results,
314310
}
315311
try:

codeflash/optimization/function_optimizer.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -361,11 +361,6 @@ def determine_best_candidate(
361361
file_path_to_helper_classes: dict[Path, set[str]],
362362
exp_type: str,
363363
) -> BestOptimization | None:
364-
<<<<<<< Updated upstream
365-
=======
366-
# TODO remove
367-
368-
>>>>>>> Stashed changes
369364
best_optimization: BestOptimization | None = None
370365
_best_runtime_until_now = original_code_baseline.runtime
371366

@@ -603,11 +598,6 @@ def determine_best_candidate(
603598
original_runtime=original_code_baseline.runtime,
604599
optimized_runtime=optimized_runtimes,
605600
is_correct=is_correct,
606-
<<<<<<< Updated upstream
607-
=======
608-
best_optimization_id=best_optimization.candidate.optimization_id,
609-
>>>>>>> Stashed changes
610-
optimized_line_profiler_results=optimized_line_profiler_results,
611601
)
612602
return best_optimization
613603

0 commit comments

Comments
 (0)