@@ -315,7 +315,7 @@ def _handle_empty_queue(self) -> CandidateNode | None:
315315 self .future_all_code_repair ,
316316 "Repairing {0} candidates" ,
317317 "Added {0} candidates from repair, total candidates now: {1}" ,
318- lambda : self .future_all_code_repair .clear () ,
318+ self .future_all_code_repair .clear ,
319319 )
320320 if self .line_profiler_done and not self .refinement_done :
321321 return self ._process_candidates (
@@ -330,7 +330,7 @@ def _handle_empty_queue(self) -> CandidateNode | None:
330330 self .future_adaptive_optimizations ,
331331 "Applying adaptive optimizations to {0} candidates" ,
332332 "Added {0} candidates from adaptive optimization, total candidates now: {1}" ,
333- lambda : self .future_adaptive_optimizations .clear () ,
333+ self .future_adaptive_optimizations .clear ,
334334 )
335335 return None # All done
336336
@@ -1908,11 +1908,9 @@ def setup_and_establish_baseline(
19081908 original_code_baseline , test_functions_to_remove = baseline_result .unwrap ()
19091909 # Check test quantity for all languages
19101910 quantity_ok = quantity_of_tests_critic (original_code_baseline )
1911- # ToDO : {Self} Only check coverage for Python - coverage infrastructure not yet reliable for JS/TS
1911+ # TODO : {Self} Only check coverage for Python - coverage infrastructure not yet reliable for JS/TS
19121912 coverage_ok = coverage_critic (original_code_baseline .coverage_results ) if is_python () else True
1913- if isinstance (original_code_baseline , OriginalCodeBaseline ) and (
1914- not coverage_ok or not quantity_ok
1915- ):
1913+ if isinstance (original_code_baseline , OriginalCodeBaseline ) and (not coverage_ok or not quantity_ok ):
19161914 if self .args .override_fixtures :
19171915 restore_conftest (original_conftest_content )
19181916 cleanup_paths (paths_to_cleanup )
@@ -2096,7 +2094,7 @@ def process_review(
20962094 formatted_generated_test = format_generated_code (concolic_test_str , self .args .formatter_cmds )
20972095 generated_tests_str += f"```{ code_lang } \n { formatted_generated_test } \n ```\n \n "
20982096
2099- existing_tests , replay_tests , concolic_tests = existing_tests_source_for (
2097+ existing_tests , replay_tests , _ = existing_tests_source_for (
21002098 self .function_to_optimize .qualified_name_with_modules_from_root (self .project_root ),
21012099 function_to_all_tests ,
21022100 test_cfg = self .test_cfg ,
0 commit comments