Граф коммитов

715 Коммитов

Автор SHA1 Сообщение Дата
Marco Castelluccio e62dd6f37d Make rollback-test task verbose 2019-06-03 11:06:32 +02:00
Marco Castelluccio ac6ab827e1 History changes might contain extraneous ', ' at the beginning or the end, ignore them 2019-06-03 11:06:32 +02:00
Marco Castelluccio 7a12860a11 Use tqdm to show progress when rollbacking all bugs 2019-06-03 11:06:32 +02:00
Marco Castelluccio 220e36b2cc Add more expected inconsistent changes while rollbacking 2019-06-03 11:06:32 +02:00
Ayush Shridhar df5c56503f Ignore some reporters (automated tests related) in the Duplicate model (#526) 2019-06-03 11:01:01 +02:00
pyup.io bot 3d7e46fa05 Update pytest from 4.6.0 to 4.6.1 (#533) 2019-06-03 10:22:56 +02:00
Marco Castelluccio ad98a3f911 Add tests for repository.hg_log
Fixes #385
2019-06-03 10:22:08 +02:00
pyup.io bot 5d26382804 Update pytest from 4.5.0 to 4.6.0 (#531) 2019-06-03 01:39:11 +02:00
Marco Castelluccio 221bcff260 Version 0.0.39 2019-05-31 18:09:33 +02:00
Marco Castelluccio aebc3c4414 Add bugbug-train-duplicate to docker-compose.yml 2019-05-31 18:03:03 +02:00
Marco f600350548
Use hgdate template formatting for date and pushdate (#528)
The pushdate template parameter is affected by a bug on machines with UTC timezones,
which only manifests when not using a formatting.
2019-05-31 18:00:16 +02:00
Ayush Shridhar 9d71677667 Add a training task for the Duplicate model (#525) 2019-05-31 17:05:58 +02:00
Marco Castelluccio 98b03e588a Version 0.0.38 2019-05-30 22:02:01 +02:00
Ayush Shridhar b5a473c760 Add a classifier for duplicate bugs (#484) 2019-05-30 21:57:59 +02:00
Marco Castelluccio e465286df1 Add another missing f-string in the trainer script 2019-05-30 21:02:46 +02:00
Marco Castelluccio 32f28f85a4 Version 0.0.37 2019-05-30 18:58:22 +02:00
Marco Castelluccio f3c76ccb1a Add missing 'f' in f-string in trainer script 2019-05-30 18:55:40 +02:00
Marco Castelluccio 0e08d04903 Fix subclass detection in trainer script 2019-05-30 18:55:22 +02:00
Marco Castelluccio d2cecd4f68 Move comment to the right place 2019-05-30 18:03:06 +02:00
Marco Castelluccio f5894a3363 Make get_all_bug_ids only return bug_ids from labels 2019-05-30 16:17:08 +02:00
Marco Castelluccio e729d68d82 Assert get_all_bug_ids returns only numbers 2019-05-30 16:15:54 +02:00
Marco Castelluccio d5033df087 Version 0.0.36 2019-05-30 13:59:24 +02:00
Marco Castelluccio bd3e4c7900 Increase the maximum runtime for the commits retrieval task 2019-05-30 13:27:23 +02:00
Marco Castelluccio 42d2ff2db8 Add a training task for the Backout model 2019-05-30 13:27:06 +02:00
Marco Castelluccio 7f0a6555f2 Add support for downloading different DBs according to model requirements to trainer script 2019-05-30 13:26:48 +02:00
Marco Castelluccio 51e7297a89 Test type of component and backout models 2019-05-30 13:25:26 +02:00
Marco Castelluccio cd0405d223 Add a Docker image for the Backout model 2019-05-30 13:24:55 +02:00
Marco Castelluccio 2c097e3f73 Provide a custom faster deepcopy implementation for exp_queue
We can rely on the fact that items in the deque are immutable (they are either
numbers or tuples) to avoid deepcopying the deque and just copying it.
2019-05-30 13:10:13 +02:00
Marco Castelluccio c76035ee2e Store last commit time for each author/reviewer/etc. and remove experience when no longer needed
Fixes #485
2019-05-30 12:50:32 +02:00
Marco Castelluccio a05200ceb8 Add author seniority, number of components touched and number of directories touched as usable commit features 2019-05-30 12:48:38 +02:00
Marco Castelluccio b8d9c5df5f Deduplicate commit reviewers, as they could be mentioned twice in the commit message 2019-05-30 11:37:30 +02:00
Marco Castelluccio 69e0465456 Version 0.0.35 2019-05-29 20:44:31 +02:00
Boris Feld 6ee9fb57f0 Fix Docker build by downloading the models inside the image. Fix #504 (#516)
The data pipeline failed before because it tried downloading the model from
outside the Docker image and didn't had bugbug installed.

The clean way of solving this would be to build a base http service image on
release and build another one where we simply download the models but let's
fix it this way for now.
2019-05-29 20:43:58 +02:00
Marco Castelluccio 59e1d3a225 Version 0.0.34 2019-05-29 20:04:50 +02:00
Marco Castelluccio fd9aec6f52 Ignore cases where experience is missing, with a warning 2019-05-29 20:04:32 +02:00
Marco Castelluccio 2d07c322de Version 0.0.33 2019-05-29 16:15:47 +02:00
Marco Castelluccio d1b78bf063 Add more defect/enhancement/task labels gathered from changed made by users on Bugzilla 2019-05-29 16:15:36 +02:00
Marco Castelluccio 3fc7e593f7 For commits to skip, add null experience 2019-05-29 16:12:43 +02:00
Marco Castelluccio b9e230fcad Version 0.0.32 2019-05-29 11:25:34 +02:00
Marco 62b348d46c
Don't skip commits when calculating experiences (#510)
* Skip commits after calculating experience

Fixes #502

* Skip commits that have 'ignore-this-changeset' in their description

Fixes #496

* Don't increase experience for commits to ignore

* Test skipping a commit when calculating experiences

* Add test for repository.get_commits_to_ignore

* Add implementations of __eq__ and __hash__ in the Commit class
2019-05-29 11:24:11 +02:00
x249wang a5c584afa2 Add basic tests for the BugType model (#513) 2019-05-29 10:39:33 +02:00
pyup.io bot cf72fbabbc Update numpy from 1.16.3 to 1.16.4 (#512) 2019-05-29 01:08:05 +02:00
pyup.io bot 1af703cb3b Update libmozdata from 0.1.55 to 0.1.56 (#511) 2019-05-28 15:06:28 +02:00
Marco 837788428a
Calculate experiences of backed-out commits too (#497)
* Calculate experience for backed-out commits too

Fixes #373

* Add a backed-out commit to the list to make sure it doesn't affect normal experiences

* Add backout experience features
2019-05-28 12:59:55 +02:00
pyup.io bot f054792539 Update rs_parsepatch from 0.2.1 to 0.2.2 (#506) 2019-05-27 11:33:56 +02:00
Ayush Shridhar 4a2edb9457 In the BugType model, skip unrelated keywords (#505) 2019-05-27 11:32:53 +02:00
Marco Castelluccio d4042a6eba Add train-regressionrange and train-stepstoreproduce to docker-compose.yml 2019-05-25 11:42:13 +02:00
pyup.io bot cb85aac3a2 Update libmozdata from 0.1.54 to 0.1.55 (#500) 2019-05-25 00:22:50 +02:00
Marco Castelluccio 971745cb89 Version 0.0.31 2019-05-25 00:17:44 +02:00
Marco Castelluccio 0037ad35b5 Revert "Add a script to update the hook definition with the TAG during release (#491)"
This reverts commit 6ef95cfec3.
2019-05-25 00:16:41 +02:00