| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The github action for MELT is found here: https://github.com/squaresLab/melt_action
python -m venv melt_env
source melt_env/bin/activatecd MELT
pip install -r requirements.txtexport PYTHONPATH=$PYTHONPATH:`pwd`MELT main file is under src/inference/main.py. The main file takes the following arguments:
To run the script, you need to provide the following input arguments:
The script will then mine the changes from the specified PR, filter deprecated APIs, and generate comby rules based on the changes. The generated rules will be saved as JSON files in the specified output directory. Please make sure to provide the required arguments when running the script, and ensure that your GitHub API keys are correctly set up.
python3 src/inference/main.py --library pandas-dev/pandas --pr 44539 --gh_key ghp_********* --api_keyword appendCurrently, it is necessary to provide the name of the deprecated API for which we want to mine rules. The zenodo versions contains the heuristics, including an NLP-based approach for identifying the relevant API names.
@inproceedings{ramos2023melt,
title={MELT: Mining Effective Lightweight Transformations from Pull Requests},
author={Ramos, Daniel and Mitchell, Hailie and Lynce, In\\^es and Manquinho, Vasco and Martins, Ruben and Le Goues, Claire},
booktitle={Proc. International Conference on Automated Software Engineering (ASE)},
year={2023}
}This is a research prototype. If you have any problems setting an environment for MELT to work feel free to reach out or open an issue.
| Back | FazBrowse Home | New Git URL |