Hi, I noticed something I consider strange on CodeRunner.
We had some Python packages slightly out-of-sync on the Jobe server, and got this message appearing in Moodle, when submitting the student answer through code-runner:
"***Run error*** /usr/local/lib/python3.10/dist-packages/gym/utils/passive_env_checker.py:233: DeprecationWarning: `np.bool8` is a deprecated alias for `np.bool_`. (Deprecated NumPy 1.24) if not isinstance(terminated, (bool, np.bool8))"
This question was marked through a regular expression check, searching for the word "Success". The test script still managed to print the word "Success" despite the above warning- so the I think question should have been marked right. But the above "run error", which only seemed to be a warning, was enough for the question to be marked wrong.
We fixed the problem by upgrading the packages on Jobe. But as synchronising packages in Python can be tricky sometimes, with all their dependencies. Importing libraries such as TensorFlow always seem to bring up a million warnings. With this in mind, should the above warning ever have resulted in a "run error", and should the "run error" have stopped the regular expression matching from being run and marking the question as correct?