_For educational purposes only. Obviously I would never use this, obviously.
This is a simple python script that automates grading questions on gradescope.
You will need to provide the following inputs, specified in main.py
:
- The question number
- The correct answer
- A link to a submission on Gradescope
A Chrome browser will open up and automatically go through each question and grade them, marking only correct answers and leaving potentially incorrect ones for human review.
Note: the code uses Baml, refer to their documentation if you need to edit the baml_src/
files.
- Run
python login.py
and sign in to gradescope - Update variables in
main.py
- Run
python main.py