Skip to content

willcrichton/autoplan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autoplan

Autoplan is a Python library for using machine learning to classify programs into categories. We built Autoplan as a part of our work for the SIGCSE'21 paper Automating Program Structure Classification.

To see how to use Autoplan, check out our demo Jupyter notebook: https://github.com/willcrichton/autoplan/blob/master/notebooks/autoplan_demo.ipynb

If you are interested in using Autoplan, feel free to contact the authors at wcrichto@cs.stanford.edu and gsamp@stanford.edu.

Installation

Right now, we only support installation from source, so follow the instructions below.

From source

git clone https://github.com/willcrichton/autoplan
cd autoplan
pip3 install -e .

Several examples and modules use optional dependencies that are not automatically installed. If you want to run every possible autoplan example, run this command:

pip3 install hyperopt nltk javalang

Citation

If you use Autoplan in your own research, please make sure to cite us accordingly:

@inproceedings{crichton2021automating,
  title={Automating Program Structure Classification},
  author={Crichton, Will and Sampaio, Georgia Gabriela and Hanrahan, Pat},
  booktitle={Proceedings of the 52nd ACM Technical Symposium on Computer Science Education},
  pages={1177--1183},
  year={2021}
}