зеркало из https://github.com/mozilla/bugbug.git
e11bac35b9
Former-commit-id:
|
||
---|---|---|
.gitignore | ||
.isort.cfg | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
bug_features.py | ||
bugbug.py | ||
classes.csv | ||
classes_more.csv | ||
get_bugs.py | ||
handwritten_rules_run.py | ||
requirements.txt | ||
run.py | ||
setup.cfg | ||
test-requirements.txt | ||
utils.py |
README.md
bugbug - Classify Bugzilla bugs between actual bugs and bugs that aren't bugs
Bugs on Bugzilla aren't always bugs. Sometimes they are feature requests, refactorings, and so on. The aim of this project is to distinguish between bugs that are actually bugs and bugs that aren't.
The dataset currently contains 1913 bugs, the accuracy of the current classifier is ~92% (precision ~97%, recall ~93%).
Setup
- Run
pip install -r requirements.txt
andpip install -r test-requirements.txt
- Install MongoDB
- Run
mongo bugbug --eval "db.bugs.drop()"
- Run
cat data/bugs.json.xz.part* | unxz > data/bugs.json
- Run
mongoimport --db bugbug --collection bugs --file data/bugs.json
If you update the bugs database, run:
mongoexport -d bugbug -c bugs -o data/bugs.json
cat data/bugs.json | xz -v1 - | split -d -b 20MB - data/bugs.json.xz.part