-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Public tests" section on gradescope show "Passed" even when tests are failing #539
Comments
I think that the Public Tests section has always shown as passing since it's never had a point value assigned to it, but now that Gradescope lets you customize how it shows, I agree that showing it as failing when some public tests don't pass is a good idea. w.r.t. not showing it if |
An option to control whether the public section is shown would be nice! I do think it makes more sense for the default to be to hide it if the tests are already showing up under their respective question heading as I don't see the value of seeing the same test in two places. I don't feel super strongly about that though and maybe I am missing something useful with seeing it twice? |
The reason I think leaving it shown as the default is better is because |
Just merged #549 which fixes this bug and adds the |
Awesome, thank for adding that so quickly!
Ah ok that makes sense. I was thinking that students would always get this feedback locally in their own notebook, but I realize that it is possible to have a workflow where you design assignments that don't include those test cells in the notebook itself and they would have to view it on gradescope instead. |
@chrispyles I updated my autograder image to otter 4.1.0 and used it for an assignment that I distributed using otter 4.0.2. In this context, I can see that the Public tests now correctly show up in the failed section when a test is failing, thanks for that! What does not seem to work for me, is the new Full assignment config
|
force_public_test_summary needs to be inside generate |
Ah of course, it works now, thanks! |
Describe the bug
The "Public tests" section on gradescope always shows up as "Passed", even when some of the tests fail:
In the stdout they always show up as NA for points, regardless how many points there are:
Expected behavior
The headings does not show that everything passed when some public tests fail.
In general I think it would be good to remove this section if
show_hidden
is used in the metadata, because otherwise the info about these tests will show up twice, both under "Public" and then again under the question header, which can be confusing.Versions
otter 4.0.2 python 3.9.13
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: