Skip to main content

Add your description here

Project description

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"

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_sebastian_stigler-0.1.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autograder_sebastian_stigler-0.1.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file autograder_sebastian_stigler-0.1.1.tar.gz.

File metadata

  • Download URL: autograder_sebastian_stigler-0.1.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for autograder_sebastian_stigler-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7617a88c2ca168fe1072c4d8b3287c5c24a0e25c2d1b621a1f0a314e152d2b0e
MD5 013902b671af0dd583501a5df5050cd2
BLAKE2b-256 8c460bf0dc3bdab465f905b3c00c62cf480eb667e1b30f43b6ba18e14ca4c8f8

See more details on using hashes here.

File details

Details for the file autograder_sebastian_stigler-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: autograder_sebastian_stigler-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for autograder_sebastian_stigler-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1add8fdbcdcdccb8ceddbc4137c0e855d9ca4bb005faa63026b19a00515fe10
MD5 22556560a918b925719e89450054f8d9
BLAKE2b-256 9c06e129abfb296d02a690904c1ec19278c03e261e8c98104ae2b6899db3655f

See more details on using hashes here.

Supported by

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