(completion_list)
| 180 | |
| 181 | |
| 182 | def postprocess_completions(completion_list): |
| 183 | executor = PythonREPL() |
| 184 | |
| 185 | solution_list = [] |
| 186 | # for completion in tqdm(completion_list, total=len(completion_list), desc="Executing"): |
| 187 | for completion in completion_list: |
| 188 | # executor.reset() |
| 189 | solution_list.append(postprocess_completion(executor, completion)) |
| 190 | # executor.reset() |
| 191 | del executor |
| 192 | # ipython = get_ipython() |
| 193 | # if ipython: |
| 194 | # ipython.exit() |
| 195 | return solution_list |
| 196 | |
| 197 | |
| 198 |
nothing calls this directly
no test coverage detected