- Clone the repository:
git clone https://github.com/Cal-CS-61A-Staff/composition-assistant.git
- Install dependencies:
pip install -r requirements.txt
- Update raw_queue.txt with the submissions you are assigned.
- Run the command line interface:
python3 cli.py <proj>
, where<proj>
is one of the following:hog
cats
ants
scheme
A video tutorial can be found here: https://drive.google.com/file/d/1SVdlsFNiM5JLQt3EnX7opfdJ77gzldV5/view?usp=sharing
- Sign in with Okpy account
- Follow on screen instructions
Types of comments available to you can be found in template.py
- 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.