Replication package for the paper entitled: Revisiting Pre-trained Models and Feature Fusion Strategies for Just-In-Time Defect Prediction
Python
1
7 commits
updated Apr 2, 2026
Replication package for the paper entitled: Revisiting Pre-trained Models and Feature Fusion Strategies for Just-In-Time Defect Prediction
The Original and Unified datasets can be found here. Download *.tar.gz and extract it under the Dataset/fine-tuning/JITDefectPrediction/ folder via tar -zxvf *.tar.gz.
Manually download the added_tokens.json, config.json, merges.txt, pytorch_model.bin, special_tokens_map.json, tokenizer_config.json, and vocab.json from Hugging Face-CodeT5, upload them to models/codet5_base/.
git clone https://github.com/Hugo-Liang/EmS-JIT-DP.git
cd EmS-JIT-DP
conda create -n EmS python=3.8
conda activate EmS
pip install torch==2.0.0+cu117 -f https://download.pytorch.org/whl/torch_stable.html
pip install -r requirements.txt
bash scripts/finetune_jitdp_SF.sh -g 0
python RF.py
python combine.py
bash scripts/finetune_jitdp_SF_EF.sh -g 0
Please create a GitHub issue if you have any questions, suggestions, requests or bug-reports.
Replication package for the paper entitled: Revisiting Pre-trained Models and Feature Fusion Strategies for Just-In-Time Defect Prediction
Python
1
7 commits
updated Apr 2, 2026
Replication package for the paper entitled: Revisiting Pre-trained Models and Feature Fusion Strategies for Just-In-Time Defect Prediction
The Original and Unified datasets can be found here. Download *.tar.gz and extract it under the Dataset/fine-tuning/JITDefectPrediction/ folder via tar -zxvf *.tar.gz.
Manually download the added_tokens.json, config.json, merges.txt, pytorch_model.bin, special_tokens_map.json, tokenizer_config.json, and vocab.json from Hugging Face-CodeT5, upload them to models/codet5_base/.
git clone https://github.com/Hugo-Liang/EmS-JIT-DP.git
cd EmS-JIT-DP
conda create -n EmS python=3.8
conda activate EmS
pip install torch==2.0.0+cu117 -f https://download.pytorch.org/whl/torch_stable.html
pip install -r requirements.txt
bash scripts/finetune_jitdp_SF.sh -g 0
python RF.py
python combine.py
bash scripts/finetune_jitdp_SF_EF.sh -g 0
Please create a GitHub issue if you have any questions, suggestions, requests or bug-reports.