mfwong

Results 1 comments of mfwong

For Windows, I replaced the `signal` module by the `threading` module on https://github.com/openai/human-eval/blob/312c5e5532f0e0470bf47f77a6243e02a61da530/human_eval/execution.py#L90-L99 to ``` import threading @contextlib.contextmanager def time_limit(seconds: float): def signal_handler(): raise TimeoutException("Timed out!") timer = threading.Timer(seconds, signal_handler)...