- Checkout or download the zip file from github.
- Install the requirements with:
pip3 install --user -r requirements.txt
. Therequirements.txt
file has the three libraries that are required, including the autograder package.- For the assignments repo, you will need python version >= 3.10
- For the pacman repository, you will need Tk, check the detailed instructions here.
These are the assignments for CSE140 at UCSC. They are:
There are two repositories that are needed for CSE 140:
- Assignments repo
- This is used for turning in assignments and submitting to the autograder.
- Pacman assignments
- The coding structure for running the pacman and completing the assignments.
I recommend keeping these repos separate. One for submission, and the other for development and testing.
For each code base, you will:
- Checkout or download the zip file from github.
- Install the requirements with:
pip3 install --user -r requirements.txt
. Therequirements.txt
file has the three libraries that are required, including the autograder package.- For the assignments repo, you will need python version >= 3.10
- For the pacman repository, you will need Tk, check the detailed instructions here.
Make sure that the autograder is installed (see setup) on your local machine by
typing: python3 -m autograder.cli
. If you see the --help
option:
python -m autograder.cli
The autograder CLI package contains several tools for interacting with the autograder.
The following is a non-exhaustive list of CLI tools.
Invoke each command with the `--help` option for more details.
Then your autograder is downloaded correctly. You will also need to
update the config.json
file. See examples in p0 and p1. You will
need to update the:
user
to your ucsc.edu email addresspass
to the password sent from ucsc.autograder to your ucsc email account. Email the teaching team if it has not been received.
The autograder command line interface (cli) is documented. As a student in the class, the main commands you will use are:
python3 -m autograder.cli.submission.submit
: this will submit an assignment for a particular class and assignment.python3 -m autograder.cli.submission.peek
: this will show you your last submissionpython3 -m autograder.cli.submission.history
: this will show a summary of all your past submissionpython3 -m autograder.cli.util.style
: this will check the style of a particular assignment.