@@ -59,19 +59,19 @@ def existing_tests_source_for(
5959 # Include both behavior and benchmarking paths since test results might come from either
6060 instrumented_to_original : dict [Path , Path ] = {}
6161 if test_files_registry :
62- for tf in test_files_registry .test_files :
63- if tf .original_file_path :
64- if tf .instrumented_behavior_file_path :
65- instrumented_to_original [tf .instrumented_behavior_file_path .resolve ()] = (
66- tf .original_file_path .resolve ()
62+ for registry_tf in test_files_registry .test_files :
63+ if registry_tf .original_file_path :
64+ if registry_tf .instrumented_behavior_file_path :
65+ instrumented_to_original [registry_tf .instrumented_behavior_file_path .resolve ()] = (
66+ registry_tf .original_file_path .resolve ()
6767 )
6868 logger .debug (
69- f"[PR-DEBUG] Mapping (behavior): { tf .instrumented_behavior_file_path .name } -> { tf .original_file_path .name } "
69+ f"[PR-DEBUG] Mapping (behavior): { registry_tf .instrumented_behavior_file_path .name } -> { registry_tf .original_file_path .name } "
7070 )
71- if tf .benchmarking_file_path :
72- instrumented_to_original [tf .benchmarking_file_path .resolve ()] = tf .original_file_path .resolve ()
71+ if registry_tf .benchmarking_file_path :
72+ instrumented_to_original [registry_tf .benchmarking_file_path .resolve ()] = registry_tf .original_file_path .resolve ()
7373 logger .debug (
74- f"[PR-DEBUG] Mapping (perf): { tf .benchmarking_file_path .name } -> { tf .original_file_path .name } "
74+ f"[PR-DEBUG] Mapping (perf): { registry_tf .benchmarking_file_path .name } -> { registry_tf .original_file_path .name } "
7575 )
7676
7777 # Resolve all paths to absolute for consistent comparison
@@ -249,19 +249,19 @@ def existing_tests_source_for(
249249 f"{ perf_gain } %✅" ,
250250 ]
251251 )
252- output_existing += tabulate ( # type: ignore[no-untyped-call]
252+ output_existing += tabulate (
253253 headers = headers , tabular_data = rows_existing , tablefmt = "pipe" , colglobalalign = None , preserve_whitespace = True
254254 )
255255 output_existing += "\n "
256256 if len (rows_existing ) == 0 :
257257 output_existing = ""
258- output_concolic += tabulate ( # type: ignore[no-untyped-call]
258+ output_concolic += tabulate (
259259 headers = headers , tabular_data = rows_concolic , tablefmt = "pipe" , colglobalalign = None , preserve_whitespace = True
260260 )
261261 output_concolic += "\n "
262262 if len (rows_concolic ) == 0 :
263263 output_concolic = ""
264- output_replay += tabulate ( # type: ignore[no-untyped-call]
264+ output_replay += tabulate (
265265 headers = headers , tabular_data = rows_replay , tablefmt = "pipe" , colglobalalign = None , preserve_whitespace = True
266266 )
267267 output_replay += "\n "
0 commit comments