Skip to content

A Python assignment template for github classroom

License

Notifications You must be signed in to change notification settings

phuijse/python-github-classroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template assignment (Python)

This is a template to create Python autograded assignments for github classroom

Instructions for students

  • Implement your solutions in assignment.py
  • The tests in test_assignment.py can be inspected but do not modify them
  • We expected you to follow the ACM Code of Ethics

Instructions for teachers

(Delete this section of the README in the final assignment)

Setting up your classroom

Setting up the starter-code for your assignment

  • Create the private repository for your assignments using this repository as template
  • Modify assignment.py and test_assignment.py to suit your needs
  • Modify requirements.txt with the libraries needed to evaluate the codes
  • Modify .github/classroom/autograding.json to set your tests
  • (Optionally) If you added new files that need to be tested then modify .github/workflow/classroom.yaml accordingly (see comment on line 6)

Creating the assignment in github classroom (everytime you )

  • Select your classroom in the github classroom interface
  • Click the green "New assignment" button. Set a title and deadline. Choose an individual or group/team assignment
  • Leave the repository as private: that way only you and the group/team members can see the student's repository
  • Add your repository (starter code) as template repository.
  • Do not add autograding tests with the interface (they are already on your repo)
  • A link to distribute the assignment will be created. When students accept the assignment through the link a repository will be created in the organization

About

A Python assignment template for github classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages