utils
check_correctness(in_outs, generation, timeout=10, debug=True)
Check correctness of code generation with a global timeout.
The global timeout is to catch some extreme/rare cases not handled by the timeouts
inside run_test
Source code in rm_gallery/gallery/rm/code/prime_code/utils.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
|