Skip to content
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

Support non-ipynb submissions #29

Open
salikh opened this issue Jan 23, 2020 · 0 comments
Open

Support non-ipynb submissions #29

salikh opened this issue Jan 23, 2020 · 0 comments

Comments

@salikh
Copy link
Collaborator

salikh commented Jan 23, 2020

Currently autograder accepts only one kind of submissions -- ipynb notebooks-- , and it finds the metadata inside of the ipynb file.

There are use cases for the autograder where the submission is not a notebook:
-- Submitting HDF5 (h5) model files created by Keras (important in courses related to Machine Learning)
-- Submitting stand-alone python scripts (important in Python courses to teach students to use stand-alone scripts)

Since the server requires metadata to match a submission to the assignment, the upload server should be extended to support taking the metadata in addition to the submission file upload.

There are a few options for inferring metadata:

  • The upload form can take additional input parameters, which could be provided by a form or as a hidden form input at the client side.
  • Upload file name could serve as a key in metadata lookup, where the metadata is stored on the server in advance
  • Upload URLs can encode metadata key inside (i.e. the upload URL is different for each assignment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant