AsmGrader 0.0.0
|
This document describes in detail the various ways in which you can interact with the grader
and profgrader
tool on the command line.
Unless otherwise specified, anything prefixed with a $
character in a code block is a command, and all other content is command output. ...
may be used to snip irrelevant output for brevity. #
is used as an inline comment, and is neither a command nor output.
Most flags have both short and long forms. For instance, the flag to get the program version may be specified by either -V
(capital V
) or --version
. This document will mostly provide flags in their long form, as their purpose is always more clear that way.
grader
is located in the ~
directory: Example usage:
--help
for nowExample usage:
For less verbose output to just get a list of student scores, invoke with the -q
|--quiet
flag.
The student database contains a list of students' first and last names, and is used to aid in locating student lab submissions as well as to provide diagnostics for students with a missing submission. It is recommended to provide a student database; see not providing a database for more info.
By default, a database named students.csv
in the current working directory will be used if it exists. To specify a database manually, provide the --database
argument, like as follows:
Without a database, profgrader
will search for submissions according to the specified assignment and file matcher RegEx. By default, the searching behavior is essentially identical to if a database had been provided, except that a student name may be matched by any sequence of alphabetic characters.
For example, the following invocation of profgrader
will only match the files doejane_0000_0000_lab1-2.out
and doejohn_0000_0000_lab1-2.out
.
--help
for nowFor details on all supported arguments, use the --help
flag.
To check what version of the library you have, use the --version
flag. When possible, versioning adheres to the semver spec. The field after -g
is the hash of the latest git commit when built.
To increase or decrease the level of output verbosity use the -v
|--verbose
or -q
|--quiet
flags, respectively. These flags may be repeated. --silent
is an alias for the minimum level of verbosity.
FailedOnly
results in all output described in: FailedOnly
, Summary
, and Quiet
(though not the retcode from Silent
)Quiet
in student mode)Summary
(Not yet implemented)
(Not yet implemented)
Navigate to the directory where you downloaded the grader executable, then run the following commands: