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

825 Коммитов

Автор SHA1 Сообщение Дата
Kaiji Fu a4dca7c1aa
Change `Optional[...]` to `... | None` (#3910) 2023-12-09 17:52:11 -05:00
Suhaib Mujahid 51d15d994d
Support calculate feature importance on clf pipelines (#3883) 2023-12-05 12:03:43 -05:00
Suhaib Mujahid 1f5beba559 Drop the classifier for the component models 2023-11-29 20:01:09 -05:00
Suhaib Mujahid 15fa808942 Drop the component_nn model 2023-11-29 20:01:09 -05:00
Suhaib Mujahid cd088476ff Drop the duplicate model 2023-11-29 17:29:11 -05:00
Suhaib Mujahid 19b00136e7 Drop the similarity models 2023-11-29 17:29:11 -05:00
StarKBhaviN 20ea1e581b
Refactor sum() calls to use boolean values directly (#3852) 2023-11-27 10:10:27 -05:00
Suhaib Mujahid 4771f10ed6
Update pre-commit repos and apply required changes (#3855) 2023-11-25 19:29:32 +00:00
StarKBhaviN 7d851402f2
Refactor logging functions to use %s formatting instead of f-strings (#3822)
Co-authored-by: Suhaib Mujahid <suhaibmujahid@gmail.com>
2023-11-24 11:32:00 -05:00
Ksenia 97a0f86dd6
Add a model to identify invalid reports for Firefox in-product reporter (#3790) 2023-11-18 20:56:31 -05:00
John Pangas 1abf12e08d
Include new task to train models with task cluster (#3748) 2023-11-08 18:38:16 -05:00
Marco Castelluccio 82a7dc7f3f In the landings risk report, allow calculating maintenance effectiveness indicator for 'super' teams too 2023-11-08 13:53:16 +01:00
Marco Castelluccio 322e3edcd4 Support calculating maintenance effectiveness indicator for multiple teams at the same time 2023-11-08 13:53:16 +01:00
Marco Castelluccio 7625ef82c1 Remove unneeded '/edit' at the end of the doc link 2023-11-08 13:53:16 +01:00
Marco Castelluccio a217104054 Rename BDTime and WBDTime to BurnDownTime and WeightedBurnDownTime so they are clearer 2023-11-08 13:53:16 +01:00
Marco Castelluccio 2bb5bd337d Don't report 'Incoming vs total open' and 'Closed vs total open' metrics for now 2023-11-08 13:53:16 +01:00
Marco Castelluccio dc87bf645b Add link to maintenance effectiveness document 2023-11-08 13:53:16 +01:00
Marco Castelluccio a9744ff3d3 Generate maintenance effectiveness data for last three months instead of last year 2023-11-08 13:53:16 +01:00
Promise Fru a9735cede0
Use Booster.save_model when saving XGBoost models instead of pickle (#3707) 2023-11-06 09:01:07 -05:00
Promise Fru 08d9a24360
Fetch patch from local Mercurial repo and apply to git repo and Stop installing `patch` in our Docker image (#3743) 2023-10-23 17:47:46 -04:00
Marco Castelluccio f983869ccc Add logging so we know where we are on retrieving push data 2023-10-19 00:08:46 +02:00
Marco Castelluccio aa677bdbbf Round maintenance effectiveness indicators in the quality report to two decimals 2023-10-18 20:15:50 +02:00
Marco Castelluccio c32f0cea6a In the quality report, add units of measure for maintenance effectivness indicators 2023-10-18 14:46:46 +02:00
Marco Castelluccio b483b2b8ed Add newlines between ME numbers for last week, last month, last year 2023-10-18 14:43:59 +02:00
Marco Castelluccio c2956c4ad1 Fix the calculation and formatting of MEI data in the quality report
And take the opportunity to add typing to avoid such bugs in the future.
2023-10-17 12:27:06 +02:00
Marco Castelluccio e1930bcaec
Calculate the time to burn down all the defects backlog (#3720)
Fixes #3714
2023-10-13 16:03:54 +02:00
Marco Castelluccio b37623c74d
When retrieving past failure data for a TOML manifest, fallback on data from the homonymous INI manifest (#3691)
If we don't, we would consider TOML manifests as new, which would negatively affect the test selection model
2023-10-06 15:15:40 +02:00
Marco Castelluccio edd92312ef When calculating test-related things, ignore teams we are not considering 2023-09-05 11:29:30 +02:00
Marco Castelluccio 99be7b3789 Move cleaned_selected_tasks variable to the outer scope, as it's used there too 2023-06-08 01:03:41 +02:00
Marco Castelluccio 205c78524f Get test names in selected_tasks
Fixes #3507
2023-06-08 01:03:41 +02:00
Suhaib Mujahid 8752109c30 [revision_retriever] Add a parameter for the time limit with 2 years default 2023-05-20 21:20:57 -04:00
Suhaib Mujahid 6813085de8 [revision_retriever] Move the limit cut to include IDs retrieved from bugs 2023-05-20 21:20:57 -04:00
EMEKA ONWUEPE dc2cce8a62
Use mozilla-unified instead of mozilla-central for the commit classifier (#3404)
Fixes #1507
2023-05-01 21:52:37 -04:00
EMEKA ONWUEPE e499bd5978
Apply the Phabricator patch right after cloning in the commit classifier script (#3392)
Fixes #1268
2023-05-01 21:16:42 -04:00
Marco Castelluccio 2411e38c6d When classifying a commit with the regressor model, also output the risk band 2023-04-17 15:20:06 +02:00
Marco Castelluccio 40f453e7b7 Move risk band logic in the regressor model 2023-04-17 15:16:50 +02:00
Marco Castelluccio 8e581d57f7 Use flake8 configuration suggested by black 2023-04-17 12:12:56 +02:00
Marco Castelluccio 181f5ea259 When pulling, no need to specify the full URL, just use 'origin' 2023-04-16 00:35:14 +02:00
Marco Castelluccio ad40748f7b When failing all retries, raise the original exception instead of a RetryException 2023-04-15 23:57:10 +02:00
Marco Castelluccio 5ad8615994 When pulling, no need to specify the full URL, just use 'origin' 2023-04-15 23:56:47 +02:00
Marco Castelluccio ceae801e48 Checkout to 'master' branch before pulling from master 2023-04-15 23:56:21 +02:00
Rajdeep Singh 0810800e2e
Refactor logging statement to use % lazy format (#3401) 2023-03-31 13:03:51 -04:00
Suhaib Mujahid 28523c090f
Add a linter for docstrings and fix violations (#3362)
Co-authored-by: Marco Castelluccio <mcastelluccio@mozilla.com>
2023-03-17 11:21:06 +01:00
Prerna Dabi 48a6d79ed9
Updated general exceptions with specific ones (#3339)
Fixes #3337
2023-03-14 23:37:07 +01:00
ElusiveEllie 8936218ab2
Refactor print statements to use logger (#3330) 2023-03-14 17:54:15 +01:00
Joshua Hassan a8bacbe04d
Refactored logging statements to use lazy % formatting (#3335) 2023-03-09 11:58:37 +01:00
ANURAG BHANDARI 21a77f4e8d
Refactor logging statements in `regressor_finder.py` to use lazy % formatting (#3326) 2023-03-07 16:01:37 -05:00
Marco Castelluccio c3ceff58f3 Improve messages about coverage and skipped tests when the values are equal to the median across other teams
Fixes #3280
2023-02-14 11:14:07 +01:00
Marco Castelluccio 5a2870be2e Update pre-commit repositories 2023-02-06 11:42:06 +01:00
Marco Castelluccio 36eea14cf1 Assign 100% coverage when there are no added lines instead of crashing because of a division by 0 2023-02-06 11:24:59 +01:00