Skip to main content

A simple, secure, and versatile way to automatically grade programming assignments

Project description

AutoGrader

A simple, secure, and versatile way to automatically grade programming assignments


Test Coverage PyPI Supported Python versions

Features

  • Blazingly fast (can grade hundreads of submissions using dozens of testcases in a few minutes. Seconds if grading python)
  • Easy to grade
  • Easy-to-write testcases
  • Testcase grade can be based on student's stdout
  • Can grade C, C++, Java, and Python code in regular mode
  • Can grade any programming language in stdout-only mode
  • A file with testcase grades and details can be generated for each student
  • You can customize the total points for the assignment, maximum running time of student's program, file names to be considered for grading, formatters for checking student stdout, and so much more.
  • Anti Cheating capabilities that make it nearly impossible for students to cheat
  • Grading submissions in multiple programming languages at once
  • JSON result output supported if autograder needs to be integrated as a part of a larger utility
  • Can check submissions for similarity (plagiarism)
  • Can detect and report memory leaks in C/C++ code

Installation

  • Run pip install autograder
  • To grade various programming languages, you'd need to install:
    • gcc/clang for C/C++ support
    • Java JDK for java support
    • make for compiled stdout-only testcase support
    • Any interpreter/compiler necessary to run stdout-only testcases. For example, testcases with ruby in their shebang lines will require the ruby interpreter

Updates

pip install -U --no-cache-dir autograder

Quickstart

  • Run autograder guide path/to/directory/you'd/like/to/grade. The guide will create all of the necessary configurations and directories for grading and will explain how to grade.
  • Read the usage section of the docs

Supported Platforms

  • Linux is fully supported
  • OS X is fully supported
  • Windows is partially supported:
    • Stdout-testcases that require shebang lines are not and cannot be supported

Supported Programming Languages

  • Java
  • C
  • C++
  • CPython (3.8-3.11)
  • Any programming language if stdout-only grading is used

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autograder-3.7.7.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

autograder-3.7.7-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file autograder-3.7.7.tar.gz.

File metadata

  • Download URL: autograder-3.7.7.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.0.19-4-MANJARO

File hashes

Hashes for autograder-3.7.7.tar.gz
Algorithm Hash digest
SHA256 c5b054ebb370c399caa5c27247849922a620ef9d765d1d59bddf33ac9651c711
MD5 b33e8dc628d5478ce685945fb4d5b151
BLAKE2b-256 cf8225048eb89e7aca07acfb0b3398cf7a41f4d5338b51a9a072879f036e26b8

See more details on using hashes here.

File details

Details for the file autograder-3.7.7-py3-none-any.whl.

File metadata

  • Download URL: autograder-3.7.7-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.0.19-4-MANJARO

File hashes

Hashes for autograder-3.7.7-py3-none-any.whl
Algorithm Hash digest
SHA256 74c008f971bccad902166ad1b93a33e633588e7f9c16a54d295d00921f5d8873
MD5 0088caf8892a81d25685fae09a27da76
BLAKE2b-256 c7ce163e3e631ec6a73e75b82f510459ee312ecdcc5de69790d6f349ab130a06

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page