This is an autograded python assignment template.
This is a master template for creating autograded Python assignments. To use this template for your GitHub assignments, follow these steps in order:
You only need to complete this step one time. This will give you your own copy of this master template. You will use your own copy as a template each time you create an assignment repositories.
Click the Settings tab in the upper right corner:
Click the Template repository checkbox
For each assignment you’d like to create in GitHub classroom, create a new repository using your own copy of master-assignment-template as the template.
Press the green Use this template button to generate a clone
Update the README.md file. It is the directions the students will see when they accept the assignment.
Do you need to add a user-defined function stub?
import Pandas
import NumPy
flake8==3.8.4
pytest==6.2.2
pandas==1.2.2
NumPy # note: although verson numbers are encouraged, they are not required
Choose the tests you’ll use to autograde student submissions by opening this page (Here’s another link). I’ve already pre-written the tests so they’ll run automatically with each student submission.
Once you’ve created an assignment repository template, you can create an assignment.
python3 src/exercise.py
If you want your students to use Repl.it for this assignment, enter this Repl.it configuration:
Repl.it’s Free accounts do not allow students to import assignments (repositories) set to “Private” visibility. However, When assignments are set to “public” visibility, students will have access to each other’s solutions. This may cause issues with plagiarism.
I made a quick assignment for my students to claim their free “Hacker” level Repl.it accounts. I made this video to walk them through the process.