Skip to content
forked from Aphoh/cs70-pdfgen

Repo for generating pdfs from short answers on gradescope. Designed for cs70.

Notifications You must be signed in to change notification settings

CS70/cs70-pdfgen

 
 

Repository files navigation

CS70 PDF Generator


This code is for generating pdfs given short answer submissions on gradescope

gradescope_csv_to_submissions.py requires

  1. An answers.csv, the answers received by gradescope
  2. A roster.csv, the roster containing a list of students, student emails, and sids it will then
  3. Generate an outline in the stdout that should be copied to outline.json with question names modified
  4. Create a student_submissions.csv file which will be used to generate pdfs

student_submissions.py requires

  1. The outline.json that has all of the questions
  2. The student_submissions.csv file generated by the above script
  3. The relevant output_xx images in ./question_imgs/ This will generate one PDF per SID in the output/ folder when run. By default it uses all available cores.

So to run this, first run gradescope_csv_to_submissions.py, edit the outline.json if you want different question names, and then run submissions_from_json.py.

About

Repo for generating pdfs from short answers on gradescope. Designed for cs70.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%