Skip to content

Easy to setup autograder for C++ assignments in gradescope.

Notifications You must be signed in to change notification settings

aedlebeck/Gradescope-C-Autograder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

C/C++ Gradescope Autograder Framework

Simple and easy to modify gradescope autograder for C/C++ files. It is already setup to check for submission of correct files and for compilation. It designed to read in STDOUT and produce a grade based on what STDOUT produces.

Documentation

setup.sh

  • Automatically installs dependencies for gradescope docker

run_autograder.py

  • Entry point for the gradescope autograder
  • This file is called when a submission is made

run_tests.py

  • Entry point for running tests on student submission
  • File is called from run_autograder

grade_util.py

  • Config of filenames and directories
  • Contains helper functions for testing
  • Keeps filenames/directories consistent throughout testing

test_files.py

  • Example test case that checks if student submitted all files

Deployment

All of the files must be compressed into a zip with the same file heirarchy as shown in the "example.zip".
The compressed file is then uploaded to gradescope.

A few steps have to be taken before compressing:

Rename "run_autograder.py" to "run_autograder":

  mv run_autograder.py run_autograder

Add executable access to "run_autograder":

  chmod +x run_autograder

About

Easy to setup autograder for C++ assignments in gradescope.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published