This is the source code for CRITICAL(Collaborative Review Involving Thoughtful Intelligent Code Analysis using LLM), at the same time also CNS (Cannot Sleep) final project for CNS (CSIE 7190) at NTU, in the spring of 2024.
Using python==3.12.3
pip install -r requirements.txt
- add repo in
repoList.txt
- 'lhy1019/cns-commit-dataset/main' to download only commits from 'main'
- 'NTUEELightDance/LightDance-Editor' for unspecified branch
- run
crawl.py
python crawl.py
- run
main.py
# using sha
python main.py -f NTUEELightDance/LightDance-Editor -b main -t c13b5e700c8db51d22d1be61d1452d90d1f3b9ad
# using the index of commit
python main.py -f NTUEELightDance/LightDance-Editor -b main -t 0
python main.py -h
for more information