You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a lab where some plotting code in a manually-graded section raises a warning. When we then run grader.export(run_tests=True), the cell throws a RuntimeError and doesn't generate the submission .zip file.
The line that it's failing on is:
if results.stderr:
raise RuntimeError(results.stderr)
which makes it seem like this is expected behavior. However, when I search online, I keep on seeing that otter-grader is supposed to ignore warnings.
Also, when I tried locally (running otter version 4.2.1), I didn't have this issue. So maybe it's an issue with the version that the EECS hub is using (and will be fixed by #4495, hopefully) but I'm not sure.
We suppressed the warning with warnings.filterwarnings("ignore", message="Badly conditioned filter coefficients") for now, but I'm putting this here so it's on your radar.
Bug description
We have a lab where some plotting code in a manually-graded section raises a warning. When we then run
grader.export(run_tests=True)
, the cell throws aRuntimeError
and doesn't generate the submission .zip file.The line that it's failing on is:
which makes it seem like this is expected behavior. However, when I search online, I keep on seeing that
otter-grader
is supposed to ignore warnings.Also, when I tried locally (running otter version 4.2.1), I didn't have this issue. So maybe it's an issue with the version that the EECS hub is using (and will be fixed by #4495, hopefully) but I'm not sure.
We suppressed the warning with
warnings.filterwarnings("ignore", message="Badly conditioned filter coefficients")
for now, but I'm putting this here so it's on your radar.Environment & setup
How to reproduce
warnings.filterwarnings("ignore", message="Badly conditioned filter coefficients")
grader.export
should fail.The text was updated successfully, but these errors were encountered: