nip.utils.apps_metric#
Functions
|
|
|
Check correctness of code solution with a global timeout. |
|
|
|
|
|
This disables various destructive functions and prevents the generated code from interfering with the test (e.g. fork bomb, killing other processes, removing filesystem files, etc.) WARNING This function is NOT a security sandbox. |
|
if test(generated_code) is not None it'll try to run the code. |
|
Classes
Exceptions