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.0.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.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autograder_sebastian_stigler-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 b2fa40991ff9362c75765f340302d9333cbaf527f25734fa4392974e2de58658
MD5 fca16aa633177ad4846667e7eb3fe52f
BLAKE2b-256 4dfe365196d82406253f840e957220d2df325663ca072f327b961efe42571252

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autograder_sebastian_stigler-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 446e222ab2948aee3de345275f656733b67762e84d4fe2618c1fa6cb4b26d664
MD5 ac6b5d7e5a2407333a9b8d346d36f053
BLAKE2b-256 5036288c63de88a5631fd43775b40d3b667517e9428a2df534a2c777a8663c22

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