We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
otter run
Describe the bug Running the following code in Jupyter Notebook
from otter.api import grade_submission grade_submission("autograder.zip", "test-assign-seed.ipynb")
generates the following error
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) /var/folders/qh/l1jlxh294kv8ddzg803xyrzw0000gn/T/ipykernel_21166/3617444135.py in <module> 1 # grade_submission("./dist/autograder/autograder.zip","./submissions/test-assign-seed.ipynb") ----> 2 grade_submission("autograder.zip","test-assign-seed.ipynb") /opt/anaconda3/envs/otter/lib/python3.8/site-packages/otter/api.py in grade_submission(ag_path, submission_path, quiet, debug) 54 # TODO: is the output_dir argument of run_grader necessary here? 55 with cm: ---> 56 results = run_grader(submission_path, ag_path, dp, True, debug) 57 58 if quiet: TypeError: main() takes 1 positional argument but 5 were given
To Reproduce Steps to reproduce the behavior:
otter assign ...
test-assign-seed.ipynb
autograder.zip
%cd ..
Expected behavior Returns an otter.test_files.GradingResults object.
otter.test_files.GradingResults
Versions otter-grader 3.0.4
Additional context macOS Big Sur
[EDIT] 'autograder.zip' and 'test-assign-seed.ipynb' are Assign Format v1.
The text was updated successfully, but these errors were encountered:
fixed ucbds-infra#349
c330e37
Implemented a fix in #351 that will be included in v3.0.5.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
Running the following code in Jupyter Notebook
generates the following error
To Reproduce
Steps to reproduce the behavior:
otter assign ...
and filling answers intest-assign-seed.ipynb
, place the file andautograder.zip
in a given folder.%cd ..
Expected behavior
Returns an
otter.test_files.GradingResults
object.Versions
otter-grader 3.0.4
Additional context
macOS Big Sur
[EDIT]
'autograder.zip' and 'test-assign-seed.ipynb' are Assign Format v1.
The text was updated successfully, but these errors were encountered: