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

nbgrader workflow #58

Open
phaustin opened this issue Jul 26, 2022 · 2 comments
Open

nbgrader workflow #58

phaustin opened this issue Jul 26, 2022 · 2 comments
Assignees

Comments

@phaustin
Copy link
Contributor

No description provided.

@phaustin phaustin self-assigned this Jul 26, 2022
@phaustin
Copy link
Contributor Author

phaustin commented Jul 26, 2022

  1. review how to use nbgrader
  2. work through student versions of 3-4 labs in andrew's e211 branch
  3. go through the grading process described in the nbgrader workflow
  4. write scripts to automate the addition of students and grading and release of labs
  5. new code added to gradelib: https://github.com/phaustin/gradelib
  6. now installed in container: https://github.com/phaustin/e211_nbgrader_2022/blob/main/nbgrader/nbgrader_server_image/requirements.txt

@phaustin
Copy link
Contributor Author

phaustin commented Aug 8, 2022

  • update workflow for building a collection of student notebooks
  1. make several attempts for the four students in classlist.csv with filenames like:

-rw-r--r-- 1 phil docker 0 Aug 6 13:50 wozniak_731093_66388337_lab_wk2_good.ipynb
-rw-r--r-- 1 phil docker 0 Aug 6 13:49 torvalds_965120_66388380_lab_wk2_try1.ipynb
-rw-r--r-- 1 phil docker 0 Aug 6 13:48 rossum_605072_99788380_lab_wk2_try3.ipynb
-rw-r--r-- 1 phil docker 0 Aug 6 13:46 turing_510720_311380_lab_wk2_final.ipynb

  1. zip those together to make a zipfile that mimics the zipfile we'll get from canvas

    zip test.zip *.ipynb

    (to check, you can list the zipfile contents using zipinfo)

  2. run write_zipfile to turn the test.zip into a file that canvas can read:

    write_zipfile test.zip lab2_extracted.zip lab_wk02 lab_wk2.ipynb

  3. We can read lab2_extracted.zip into nbgrader by putting it into the extracted folder and running
    nbgrader zip_collect

  4. autograde the labs

  5. manually grade the manual questions

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