-
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
Show executed code for JN during autograding #750
Comments
There is a way to use Gradescope's debug via SSH (or N.B. to do a similar thing with |
this section describes the assignment names but doesn't actually mention that this is the |
If you could kindly add to the documentation instructions for actually running the tests once you've logged in (you do "run_autograder" in that folder to run the autograder...) Seems stupid, but when you login there are multiple run files, that all kinda do the same thing, but it's confusing. Is it true that if I set "show_stdout" to true, then this would have solved my problem (i.e., it would show the results of the JN calculation before the tests are run)? |
will do
No. |
#759 adds a debugging guide to the docs |
[I've been using otter-grader for a year now - thank you, despite some problems I've run into I really like how I can use JN, Python, an IDE, and still have autograding work in Gradescope]
I am running Python 3.11 with the latest version of otter. Last year (2 years ago?) I vaguely recall that the autograder would show the results of running the JN (or at least generated errors) not just the results of running the tests on the JN output. I just ran into a problem where the student's notebooks (and mine) would work fine on our machines (windows/mac) but not when submitted to Gradescope. I finally realized the problem was that the data directory was not capitalized correctly (which mac & windows "fix", but Ubuntu does not...) Long story short, if the results of running the JN (or at least any errors that were generated) had showed up in the results window, this would have been much easier to debug.
(BTW, I did do the debug w/ssh, but that didn't really help much, because doing run_autograder generates the exact same thing - I was deep in trying to figure out where in the otter code it actually ran the JN when I realized the file name problem.)
Describe the solution you'd like
Is it possible to have a flag (or does one exist?) that shows any errors generated by the JN when it is executed, and not just the results of the test?
Describe alternatives you've considered
Or... the documentation for running the otter grade manually is very confusing. It mentions doing otter grade -n name .ipynb, but not what name should be or how that relates to the run_autograder batch file...
So if there's a way to run the autograder from the debug ssh and tell it to spew out everything, documenting that would fix the problem. (and maybe add a line to the doc about how you actually run it in debug ssh, and that you need your github public key password when you log into debug ssh).
Additional context
Nothing I can think of. Thanks!
The text was updated successfully, but these errors were encountered: