(code: str, timeout: int=5, use_process: bool = True)
| 452 | |
| 453 | |
| 454 | def execute_with_timeout(code: str, timeout: int=5, use_process: bool = True): |
| 455 | executor = CodeExecutor(code, timeout, use_process) |
| 456 | s = executor.run() |
| 457 | return s |
| 458 | |
| 459 | |
| 460 | def within_eps(pred: float, gt: float): |
nothing calls this directly
no test coverage detected