Autograder
Automatic assignment grading for instructor use in programming courses
Install / Use
/learn @zmievsa/AutograderREADME
<p align="center"> <a href="https://github.com/zmievsa/autograder/actions?query=workflow%3ATests+event%3Apush+branch%3Amain" target="_blank"> <img src="https://github.com/zmievsa/autograder/actions/workflows/test.yaml/badge.svg?branch=main&event=push" alt="Test"> </a> <a href="https://codecov.io/gh/zmievsa/autograder" target="_blank"> <img src="https://img.shields.io/codecov/c/github/zmievsa/autograder?color=%2334D058" alt="Coverage"> </a> <a href="https://pypi.org/project/autograder/" target="_blank"> <img alt="PyPI" src="https://img.shields.io/pypi/v/autograder?color=%2334D058&label=pypi%20package" alt="Package version"> </a> <a href="https://pypi.org/project/autograder/" target="_blank"> <img src="https://img.shields.io/pypi/pyversions/autograder?color=%2334D058" alt="Supported Python versions"> </a> </p>
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/clangfor C/C++ supportJava JDKfor java supportmakefor 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
Related Skills
claude-opus-4-5-migration
111.1kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
352.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
51.2k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
