Skip to main content

Automated Program Repair of Python Source-Code Using Genetic Improvement

Project description

Pyimprove

This repository contains an implementation of Genetic Improvement that can be used to fix Python code.

Setup

A virtual environment is used to ensure that all requirements are installed correctly without interference with the host environment.

brew install pyenv
brew install pyenv-virtualenv

nano ~/.bash_profile
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
source ~/.bash_profile

pyenv install 3.7.4
pyenv virtualenv 3.7.4 pyimprove

pyenv activate pyimprove

pip install --upgrade pip
pip install -r ./requirements.txt
pip install --editable .
python ./pyimprove/search.py ./bugs/custom/factorial.py ./bugs/custom/factorial_test.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyimprove-0.0.1.tar.gz (27.3 kB view hashes)

Uploaded Source

Built Distribution

pyimprove-0.0.1-py3-none-any.whl (60.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page