Code Monkey home page Code Monkey logo

cse-140-assignments's Introduction

Setup

  1. Checkout or download the zip file from github.
  2. Install the requirements with: pip3 install --user -r requirements.txt. The requirements.txt file has the three libraries that are required, including the autograder package.
    1. For the assignments repo, you will need python version >= 3.10
    2. For the pacman repository, you will need Tk, check the detailed instructions here.

Assignments

These are the assignments for CSE140 at UCSC. They are:

CSE 140 Programming Assignment Setup

There are two repositories that are needed for CSE 140:

  1. Assignments repo
    • This is used for turning in assignments and submitting to the autograder.
  2. 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:

  1. Checkout or download the zip file from github.
  2. Install the requirements with: pip3 install --user -r requirements.txt. The requirements.txt file has the three libraries that are required, including the autograder package.
    1. For the assignments repo, you will need python version >= 3.10
    2. For the pacman repository, you will need Tk, check the detailed instructions here.

Submitting and using the Autograder in CSE 140

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 address
  • pass to the password sent from ucsc.autograder to your ucsc email account. Email the teaching team if it has not been received.

Using the autograder

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 submission
  • python3 -m autograder.cli.submission.history: this will show a summary of all your past submission
  • python3 -m autograder.cli.util.style: this will check the style of a particular assignment.

cse-140-assignments's People

Contributors

lgilpin avatar sneha-afk avatar eriq-augustine avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.