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

30 Коммитов

Автор SHA1 Сообщение Дата
Qiuyi Wang JFS-NAT004 5080aaf552
Add feature: Time delta between landing of the patch in Nightly and uplift request (#3118) 2022-11-03 17:06:37 -04:00
Suhaib Mujahid 9bb13621d5
Fix test failures in defect models (#2944)
* Fix a `KeyError` failure in `test_bug.py`

* Fix a `KeyError` failure in `test_regression.py`

* Add a nobug to the mock file
2022-06-06 09:48:56 +02:00
Ksenia 627e182061
Add support for multiple DBs for github (#2465)
Fixes #2460

Co-authored-by: Marco Castelluccio <mcastelluccio@mozilla.com>
2021-10-05 14:31:00 +02:00
Ksenia b6fc3ca1c6
Add needsdiagnosis model to classify webcompat issues (#2313) 2021-04-27 10:06:14 +02:00
Ksenia e4db6b219f
Add support for GitHub issue retrieval (#2242)
First step for #259
2021-03-24 08:46:37 +01:00
Marco Castelluccio 6249c61442 Update fixture commits push dates to avoid backout model ignoring some of the commits during tests 2021-03-08 13:15:43 +01:00
Lucky Sivagurunathan e9aa7d9909
Add tests for the repository.get_commits function (#1674)
Fixes #383
2020-07-10 21:54:44 +02:00
Marco Castelluccio f659c7c9d7 Store all commits, even ignored ones, in the commits DB
We ignore them at runtime, so users which need them can still use them.
Note: the ignored commits are still not analyzed, only their metadata
is stored in the DB.
2020-04-29 13:40:15 +02:00
Marco Castelluccio a65b3519fa Remove ever_backedout property from commits, store backedoutby instead 2020-04-28 21:54:52 +02:00
Ayush Shridhar 91cd2114e7
Add a model to identify the root cause of a bug (#1283) 2020-04-26 12:11:53 +02:00
Marco Castelluccio 0d4322d089 Add a few more bugs to the mock DB for tests
Otherwise the XGBoost upgrade to 1.0.1 won't work because shap
would fail because of too few bins.
2020-03-03 11:19:31 +01:00
Marco Castelluccio c7a9185874 Update commit date in fixtures for the BackoutModel tests 2020-02-13 18:39:27 +01:00
Ayush Shridhar edb46f8a96 WIP version of a spam bugs classifier (#1033)
Initial work for #1013.
2019-10-24 11:45:44 +02:00
Caitlin White ef1cdc8394 Add basic test for defect_enhancement_task model (#1019)
Fixes #438
2019-10-18 11:56:23 +02:00
Anurag Aggarwal fbd411157c Add basic test case for the Uplift model (#696)
Fixes #437
2019-07-15 23:29:28 +02:00
Marco Castelluccio 09741b82df Remove tests for the old 'title' feature 2019-07-11 20:55:19 +02:00
Harshit chittora d5154c837d Use some bug features in the Backout model (#615)
Fixes #577.
2019-07-11 15:42:02 +02:00
Yun Seob Lee 511a53a1de Add basic test for the backout model (#606) 2019-06-21 09:28:36 -07:00
Sladyn 860bb69c10 Add a basic test for the StepsToReproduce model (#503) 2019-06-07 11:11:39 +02:00
Ibraheem Moosa 2c41533c52 Clean the test data for cleanup functions (#530) 2019-06-03 14:37:46 +02:00
x249wang a5c584afa2 Add basic tests for the BugType model (#513) 2019-05-29 10:39:33 +02:00
Marco d27d5f8b2c
Add a mock DB for tests to avoid downloading the full DB (#273)
* Rename test function in test_bug to reflect reality, and add more assertions

* Add a mock bugs DB for tests

* Don't download bugs DB anymore for running tests

* Add a test for run.py basic functionality

* Remove training test task, as the test is now a pytest
2019-04-18 14:01:25 +02:00
Marco Castelluccio 9cfbcaa1d4 Rename bug_has_cve_in_alias feature to has_cve_in_alias to match the naming conventions 2019-02-05 14:17:05 +01:00
Saurabh Daalia 30655e2b46 Add bug reporter as a feature (#124) 2019-01-30 18:49:17 +01:00
Aftaab Zia 03a30daa40 Add 'CVE' in bug alias as feature (#130) 2019-01-30 15:44:22 +01:00
Puneet Saini 5da534ecc9 Add number and length of comments as a feature (#131) 2019-01-30 11:23:45 +01:00
Assiya Khuzyakhmetova 65fb7b04c6 Add number of blocked bugs as a feature (#125) 2019-01-29 10:05:05 +01:00
Ayush Shridhar 62a83fb598 Consider all possible whiteboard values (#119) 2019-01-28 21:04:42 +01:00
poojan124 cc55ed22a6 Add test for 'Is Mozillian' feature (#95) 2019-01-21 22:18:51 +01:00
Ayush Shridhar 65149bb217 Add tests for bug feature extractors (#80) 2019-01-20 18:31:20 +01:00