Can chatGPT migrate my code? A study on Library Version Migration and Troubleshooting
收藏资源简介:
The dataset and experimental code are organized into a structured repository. Experiment Scripts (src/):All experimental scripts are stored in the src directory. Two main experiments to look at are: Experiment 2: Focused on code migration, with scripts that automate and evaluate the process of adapting code to new versions while prompting ChatGPT, and how we aggregate the results. Experiment 3: Dedicated to code troubleshooting, where scripts are designed to pass errors to the prompt and how we aggregate the results. Data Storage (resources/):All data obtained from the experiments are stored in the resources directory. These files contain the input passed to ChatGPT and the output we received after executing the code for both code troubleshooting and migration tasks. Configuration and Build Files: requirements.txt lists Python dependencies. pom.xml Provides Maven configuration for Java-based components.



