Author: Yuchen (Eric) Wei
Inspired by professor Bill Siever's canvas scripts
Before setting up, ensure you have Miniconda installed on your computer. Conda is an open source environment and package manager. Miniconda is a free installer for Conda, Python, and a few other useful packages.
-
Download Miniconda:
- Go to the Miniconda installation page.
- Download the appropriate installer for your operating system (Windows, macOS, or Linux).
-
Install Miniconda:
-
Follow the instructions on the installation page.
-
For Windows system, during installation, ensure the option to add Miniconda to your PATH environment variable is checked.
-
-
Restart your computer after the installation finishes.
-
Windows: Double click to execute
setup.batto automatically set up the virtual environment -
MaxOS / Linux:
- Open this folder in terminal
- Execute
make_executable.shby running./make_executable.shin terminal - Close the terminal
- Double click to execute
setup.shto automatically set up the virtual environment
-
Ignore the 'pip dependency' error if it occurs during setup as it does not affect the execution of our scripts
-
Copy the
CanvasSettingsTemplate.pyfile -
Rename the copy as
CanvasSettings.py -
Set the variables in
CanvasSettings.pyaccording to instructions in the comments
-
Make sure each question in your quizzes has a short, descriptive name (e.g. 'time spent'), this is necessary for the output CSV files to have correct fieldnames
-
This only supports Multiple Choice Questions and Essay Questions in Quizzes
-
To automatically fetch the quiz responses & students mapping and output them into CSV files:
- Windows: Double click to execute
run.bat - MacOS / Linux: Double click to execute
run.sh
- Windows: Double click to execute
-
If there's ever a need to re-process a specific quiz, just delete the CSV file for that quiz and re-execute the run file