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
Release history Release notifications | RSS feed
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)
Built Distribution
pyimprove-0.0.1-py3-none-any.whl
(60.6 kB
view hashes)
Close
Hashes for pyimprove-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb081a6b8212a3554c2332b306752231952e94885c61541229900e423a7324f2 |
|
MD5 | 74901923f3650d7d01ae95eb35801d6c |
|
BLAKE2b-256 | f81e37bb3f8a0d2d60bb5cf0b3c7812571be681adb3f9c7f0097f56edb78743f |