Skip to main content

Autograder Script

Synopsis

autograder.py [options] file1 [file2 [file3...]]

Overview

A short python script designed to help automate grading of programming assignments. Full documentation is available here!

Details

usage: ag.py [-h] [-d MAINDIR] [-t TOOLONG] [-l LOGFILE] [-m MAKESTR]
			 [-s TESTSCRIPT] [-k DELIMITER] [-o SCORESFILE] [-a]
			 implfiles [implfiles ...]

positional arguments:
  implfiles             Name of students' implementation file(s), e.g.
						'hello.cpp'.

optional arguments:
  -h, --help 			show this help message and exit
  -d DIR, --maindir=DIR	The main directory containing student directories.
						Default: the current directory.
  -t TIMEOUT, --toolong=TIMEOUT
						No. of seconds before program is determined non-
						responsive.  Default: 5.
  -l LOGFILE, --logfile=LOGFILE
						Temporary file to store compiler output.
						Default: "clog"
  -m MAKECMD, --makestr=MAKECMD
						Command to run in order to build students' code.
						Default: "/usr/bin/make"
  -s TESTSCRIPT, --testscript=TESTSCRIPT
						Test script to produce delimited output of tests.
						Default: "./test.sh"
  -k DELIM, --delimiter=DELIM
						Delimiter used to separate tests in the output files.
						Default: "@"
  -o SCORES, --scoresfile=SCORES
						Filename to store the tab-delimited scores.
						Default: "scores"
  -p, --missingok		Attempt to grade, even if some implementation files
  						are missing.
  --exclude EXCLUDE [EXCLUDE ...]
                        List of directories (relative to maindir) to exclude.
  -f, --force 			Force regrade, even if files are up to date.
						Note: this can also be accomplished by changing the
						output file: --o="aNewFile"

Metadata

Release files for autograder-sebastian-stigler 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autograder-sebastian-stigler 0.1.2
File Size Uploaded Provenance Actions
autograder_sebastian_stigler-0.1.2.tar.gz 6.4 kB Without provenance Details for autograder_sebastian_stigler-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autograder-sebastian-stigler 0.1.2
File Interpreter ABI Platform Actions
autograder_sebastian_stigler-0.1.2-py3-none-any.whl Python 3 none any Details for autograder_sebastian_stigler-0.1.2-py3-none-any.whl

Total release size: 14.4 kB

Release files / autograder_sebastian_stigler-0.1.2.tar.gz

Download URL autograder_sebastian_stigler-0.1.2.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
78ce44b5ad39a712a1bafd370ec6dcdaed5c9ea21624b15c5cb10241b0f194dd
BLAKE2b-256 checksum
How to use checksums
2276749a424b51d5bb3fcfd3fc885ef1e3615f4d5d8446f64ae34ab319d6113d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / autograder_sebastian_stigler-0.1.2-py3-none-any.whl

Download URL autograder_sebastian_stigler-0.1.2-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7522c92d924c21c2b25381211d8de9b7877585188a5da96d4d1a313cc1b34b05
BLAKE2b-256 checksum
How to use checksums
be00c990231a149869ed1f2dead8155811376aadb3cca9db8deb1b2187c21cf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for autograder-sebastian-stigler 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page