- name: canvas-nesting-doll-peer-reviews
- ops-run-with: jupyter
- python>=3.7
- canvasapi>=2.0.0
- supports universal environment 🌎
⛔️ WIP ⛔️
This project is currently designed for a specific case at Sauder - to assign "Nesting Doll Peer Reviews". Peer reviews are extracted from the first assignment entered, and new peer reviews are assigned to the second assignment entered. The assumption is that the second assignment involves the students providing feedback on the original peer reviews.
- Canvas Course ID
- Assignment ID to extract original peer reviews from
- Assignment ID to assign new peer reviews to
- running this overwrites existing peer reviews for the assignment where peer reviews are assigned
- this assumes the assignment where peer reviews are assigned has no submission, when you run the autosubmit it will overwrite any existings submissions
- the assignment where peer reviews are assigned should be a text entry submission type
- you cannot undo!
Are you Sauder Operations Staff? Please go here for detailed instructions to run in Jupyter. ("The Project", or "the-project" is "canvas-nesting-doll-peer-reviews" or "Canvas Nesting Doll Peer Reviews").
Project uses conda to manage environment (See official conda documentation here)
You will also need to create a .env file! Instructions below
we recommend miniconda if you don't need the Anaconda GUI
- Clone canvas-nesting-doll-peer-reviews repository
- Import environment (once):
$ conda env create -f environment.yml
- Create .env file aned include:
API_KEY = "<your key here>"
API_URL = "https://ubc.instructure.com"
Creating an env file:
- if you have VSCode (Mac or Windows): Follow instructions at https://www.oreilly.com/library/view/javascript-by-example/9781788293969/d34ba441-abb3-4937-acf1-a2e7d54ffb23.xhtml and enter the information into the .env file
- Otherwise:
- Open Notepad (or TextEditor) (need someting that creates plain text files)
- Enter the information (API_KEY, API_URL from above) and Save
- In the Save menu, set the file type to "All Files"
- Name the file .env
- Hit save - you may see a warning about the file type, you want to use .env
- Run:
- navigate to your directory
$ cd YOUR_PATH/canvas-nesting-doll-peer-reviews
- in terminal activate the environment (see step 3 on first run)
$ conda activate canvas-nesting-doll-peer-reviews
(also works with 🌎 canvas-universal-env) - ensure you have a .env file in the project folder with active token information
- in the terminal launch a jupyter notebook
$ jupyter notebook
- open appropriate jupyter notebook and follow instructions
- navigate to your directory