This is the replication package for CARER, containing both tool and data that are requested by the replication. It also provides detailed instructions to replicate the evaluation.
/Dataset: Benchmark Datasets
/Incoder: The implementation of Incoder
/Intellij_IDEA: The implementation of Intellij_IDEA.
/CARER: The implementation of CARER
- Java >= 17.0.7
- Pyhton >= 3.9.0, tokenizers>=0.12
-
Import project
Go to *File* -> *import* ->*Existing Projects into Workspace*
Browse to the "CARER" directory
Click *OK*
-
Run the experiment
run *CARERTest.java*
-
Clone replicate package to your local file system
git clone https://github.com/anonymizez/Context-Aware-Name-Recommendation-for-Field-Renaming.git
-
Import project
git clone https://github.com/dpfried/incoder
Go to *File* -> *Open...*(Pycharm, incoder)
Browse to the "Incoder" directory
Click *OK*
-
Run the experiment
Right-click on the file and select *incoderInfillingScripts.py*(/Incoder/coder/incoderInfillingScripts.py)
-
Import project
Go to *File* -> *import* ->*Existing Projects into Workspace*
Browse to the "Intellij_IDEA" directory
Click *OK*
-
Run the experiment
run IDEATest.java