Skip to content

Cal-CS-61A-Staff/composition-assistant

Repository files navigation

Composition Assistant

Getting Started

  1. Clone the repository: git clone https://github.com/Cal-CS-61A-Staff/composition-assistant.git
  2. Install dependencies: pip install -r requirements.txt
  3. Update raw_queue.txt with the submissions you are assigned.
  4. Run the command line interface: python3 cli.py <proj> , where <proj> is one of the following: hog cats ants scheme

Video Tutorial

A video tutorial can be found here: https://drive.google.com/file/d/1SVdlsFNiM5JLQt3EnX7opfdJ77gzldV5/view?usp=sharing

Using the command line interface

  1. Sign in with Okpy account
  2. Follow on screen instructions

Types of comments available to you can be found in template.py

File Description

  • Pipfile: Python dependencies file
  • README.md: This document!
  • analyzer.py*: Main part of the analyzer program
  • auth.py: OK authentication.
  • cli.py: Command Line Interface. Run this program.
  • completed: List of submission IDs that have been graded.
  • finalizing.py: Final comments and composition score.
  • ok: OK binary file
  • ok_interface.py*: Interfaces with OK (Pulls submissions and sends comments and grades).
  • raw_queue.txt: List of submissions to grade for composition. Copy the HTML source of the OKPy grading queue into this file and the submissions will be automatically extracted.
  • requirements.txt: Python dependencies file. Used to run pip install.
  • templates.py*: List of possible comments.

* These files need to be modified for each project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages