Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Issue 1914113002: [Findit] Enable project classifier and component classifier (Closed)

Created:
4 years, 8 months ago by Sharu Jiang
Modified:
4 years, 7 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org, aarya, mmandlis
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Enable project classifier and component classifier Enable the project classifier and component classifier. Set the classifier configuration in CrashConfig model from config page. BUG=605355 Committed: https://chromium.googlesource.com/infra/infra/+/bf6da84ffe7d2bf4029b7286af17cb2aede16a4d

Patch Set 1 : #

Total comments: 20

Patch Set 2 : Address comments and add tests. #

Total comments: 10

Patch Set 3 : Address comments #

Patch Set 4 : Add classifiers to fracas.py #

Total comments: 4

Patch Set 5 : Address comments. #

Total comments: 38

Patch Set 6 : Rebase and address comments. #

Total comments: 7

Patch Set 7 : Address comments. #

Total comments: 2

Patch Set 8 : Rebase and address comments. #

Total comments: 4

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+991 lines, -105 lines) Patch
M appengine/findit/crash/callstack.py View 1 2 3 4 5 5 chunks +14 lines, -14 lines 0 comments Download
A appengine/findit/crash/classifier.py View 1 2 3 4 5 1 chunk +99 lines, -0 lines 0 comments Download
A appengine/findit/crash/component_classifier.py View 1 2 3 4 5 6 7 8 1 chunk +68 lines, -0 lines 0 comments Download
M appengine/findit/crash/fracas.py View 1 2 3 4 5 2 chunks +7 lines, -3 lines 0 comments Download
M appengine/findit/crash/fracas_parser.py View 1 2 3 4 5 2 chunks +4 lines, -7 lines 0 comments Download
A appengine/findit/crash/project_classifier.py View 1 2 3 4 5 6 7 8 1 chunk +101 lines, -0 lines 0 comments Download
M appengine/findit/crash/results.py View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -8 lines 0 comments Download
M appengine/findit/crash/scorers/test/aggregator_test.py View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M appengine/findit/crash/test/callstack_filters_test.py View 1 2 3 4 5 2 chunks +9 lines, -7 lines 0 comments Download
M appengine/findit/crash/test/callstack_test.py View 1 2 3 4 5 4 chunks +9 lines, -7 lines 0 comments Download
A appengine/findit/crash/test/classifier_test.py View 1 2 3 4 5 1 chunk +77 lines, -0 lines 0 comments Download
A appengine/findit/crash/test/component_classifier_test.py View 1 2 3 4 5 6 7 8 1 chunk +90 lines, -0 lines 0 comments Download
M appengine/findit/crash/test/crash_test_suite.py View 1 chunk +0 lines, -1 line 0 comments Download
M appengine/findit/crash/test/crash_testcase.py View 1 2 3 4 5 6 3 chunks +60 lines, -1 line 0 comments Download
M appengine/findit/crash/test/findit_for_crash_test.py View 1 2 3 4 5 6 7 8 9 chunks +17 lines, -18 lines 0 comments Download
M appengine/findit/crash/test/fracas_crash_pipeline_test.py View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M appengine/findit/crash/test/fracas_parser_test.py View 1 2 3 4 5 4 chunks +13 lines, -11 lines 0 comments Download
M appengine/findit/crash/test/fracas_test.py View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
A appengine/findit/crash/test/project_classifier_test.py View 1 2 3 4 5 6 7 8 1 chunk +184 lines, -0 lines 0 comments Download
M appengine/findit/crash/test/results_test.py View 1 2 3 4 5 6 7 8 4 chunks +14 lines, -12 lines 0 comments Download
M appengine/findit/crash/test/stacktrace_test.py View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -9 lines 0 comments Download
M appengine/findit/crash/test/stacktrace_test_suite.py View 1 chunk +0 lines, -1 line 0 comments Download
M appengine/findit/handlers/crash/crash_config.py View 1 2 3 4 5 6 2 chunks +7 lines, -1 line 0 comments Download
M appengine/findit/model/crash/crash_config.py View 1 2 3 4 5 6 7 8 3 chunks +85 lines, -0 lines 0 comments Download
A appengine/findit/model/crash/test/crash_config_test.py View 1 2 3 4 5 6 7 1 chunk +98 lines, -0 lines 0 comments Download
M appengine/findit/templates/crash/crash_config.html View 1 4 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (24 generated)
Sharu Jiang
Functional code done, however not 100% tests coverage yet, since I switched to more high ...
4 years, 7 months ago (2016-05-05 17:54:50 UTC) #9
Martin Barbella
Some initial comments. Will take a closer look at the next patch set, but it's ...
4 years, 7 months ago (2016-05-05 18:33:41 UTC) #12
Sharu Jiang
PTAL :) https://codereview.chromium.org/1914113002/diff/100001/appengine/findit/common/constants.py File appengine/findit/common/constants.py (right): https://codereview.chromium.org/1914113002/diff/100001/appengine/findit/common/constants.py#newcode35 appengine/findit/common/constants.py:35: INFINITY = 1000 On 2016/05/05 18:33:41, Martin ...
4 years, 7 months ago (2016-05-10 03:11:03 UTC) #14
Sharu Jiang
PTAL :)
4 years, 7 months ago (2016-05-10 04:40:22 UTC) #15
Martin Barbella
https://codereview.chromium.org/1914113002/diff/100001/appengine/findit/crash/classifier.py File appengine/findit/crash/classifier.py (right): https://codereview.chromium.org/1914113002/diff/100001/appengine/findit/crash/classifier.py#newcode25 appengine/findit/crash/classifier.py:25: def DefaultRankFunction(class_info): On 2016/05/10 03:11:02, sharu jiang wrote: > ...
4 years, 7 months ago (2016-05-10 06:00:41 UTC) #20
Sharu Jiang
sorry for the delay. PTAL :) https://codereview.chromium.org/1914113002/diff/200001/appengine/findit/common/constants.py File appengine/findit/common/constants.py (right): https://codereview.chromium.org/1914113002/diff/200001/appengine/findit/common/constants.py#newcode35 appengine/findit/common/constants.py:35: INFINITY = 1000 ...
4 years, 7 months ago (2016-05-12 23:58:00 UTC) #21
Martin Barbella
LGTM with nits. https://codereview.chromium.org/1914113002/diff/260001/appengine/findit/crash/project_classifier.py File appengine/findit/crash/project_classifier.py (right): https://codereview.chromium.org/1914113002/diff/260001/appengine/findit/crash/project_classifier.py#newcode29 appengine/findit/crash/project_classifier.py:29: """Returns the component name of a ...
4 years, 7 months ago (2016-05-13 23:05:07 UTC) #23
Sharu Jiang
https://codereview.chromium.org/1914113002/diff/100001/appengine/findit/crash/classifier.py File appengine/findit/crash/classifier.py (right): https://codereview.chromium.org/1914113002/diff/100001/appengine/findit/crash/classifier.py#newcode25 appengine/findit/crash/classifier.py:25: def DefaultRankFunction(class_info): On 2016/05/10 06:00:41, Martin Barbella wrote: > ...
4 years, 7 months ago (2016-05-17 19:27:54 UTC) #24
stgao
https://codereview.chromium.org/1914113002/diff/280001/appengine/findit/crash/callstack.py File appengine/findit/crash/callstack.py (right): https://codereview.chromium.org/1914113002/diff/280001/appengine/findit/crash/callstack.py#newcode35 appengine/findit/crash/callstack.py:35: raw_file_path (str): Normalized original path of the crashed file. ...
4 years, 7 months ago (2016-05-17 21:40:58 UTC) #25
Sharu Jiang
sorry for the bigger cl, since I did a rebase and have to resolve some ...
4 years, 7 months ago (2016-05-20 23:16:33 UTC) #27
stgao
https://codereview.chromium.org/1914113002/diff/280001/appengine/findit/crash/component_classifier.py File appengine/findit/crash/component_classifier.py (right): https://codereview.chromium.org/1914113002/diff/280001/appengine/findit/crash/component_classifier.py#newcode26 appengine/findit/crash/component_classifier.py:26: for path, function, component in config['path_function_component']: On 2016/05/20 23:16:33, ...
4 years, 7 months ago (2016-05-21 00:54:03 UTC) #30
Sharu Jiang
https://codereview.chromium.org/1914113002/diff/280001/appengine/findit/crash/component_classifier.py File appengine/findit/crash/component_classifier.py (right): https://codereview.chromium.org/1914113002/diff/280001/appengine/findit/crash/component_classifier.py#newcode26 appengine/findit/crash/component_classifier.py:26: for path, function, component in config['path_function_component']: On 2016/05/21 00:54:03, ...
4 years, 7 months ago (2016-05-23 23:54:50 UTC) #31
stgao
lgtm once comments are addressed. https://codereview.chromium.org/1914113002/diff/280001/appengine/findit/crash/project_classifier.py File appengine/findit/crash/project_classifier.py (right): https://codereview.chromium.org/1914113002/diff/280001/appengine/findit/crash/project_classifier.py#newcode36 appengine/findit/crash/project_classifier.py:36: for host_directory in self.config['host_directories']: ...
4 years, 7 months ago (2016-05-24 00:10:58 UTC) #32
Sharu Jiang
https://codereview.chromium.org/1914113002/diff/280001/appengine/findit/crash/project_classifier.py File appengine/findit/crash/project_classifier.py (right): https://codereview.chromium.org/1914113002/diff/280001/appengine/findit/crash/project_classifier.py#newcode36 appengine/findit/crash/project_classifier.py:36: for host_directory in self.config['host_directories']: On 2016/05/24 00:10:58, stgao wrote: ...
4 years, 7 months ago (2016-05-24 22:22:44 UTC) #33
stgao
lgtm https://codereview.chromium.org/1914113002/diff/420001/appengine/findit/crash/project_classifier.py File appengine/findit/crash/project_classifier.py (right): https://codereview.chromium.org/1914113002/diff/420001/appengine/findit/crash/project_classifier.py#newcode22 appengine/findit/crash/project_classifier.py:22: cmp=self._CompareHosts) This could be simplified by just comparing ...
4 years, 7 months ago (2016-05-24 22:28:48 UTC) #35
Sharu Jiang
https://codereview.chromium.org/1914113002/diff/420001/appengine/findit/crash/project_classifier.py File appengine/findit/crash/project_classifier.py (right): https://codereview.chromium.org/1914113002/diff/420001/appengine/findit/crash/project_classifier.py#newcode22 appengine/findit/crash/project_classifier.py:22: cmp=self._CompareHosts) On 2016/05/24 22:28:48, stgao wrote: > This could ...
4 years, 7 months ago (2016-05-24 23:30:25 UTC) #36
stgao
https://codereview.chromium.org/1914113002/diff/420001/appengine/findit/crash/project_classifier.py File appengine/findit/crash/project_classifier.py (right): https://codereview.chromium.org/1914113002/diff/420001/appengine/findit/crash/project_classifier.py#newcode22 appengine/findit/crash/project_classifier.py:22: cmp=self._CompareHosts) On 2016/05/24 23:30:24, sharu jiang wrote: > On ...
4 years, 7 months ago (2016-05-24 23:35:36 UTC) #37
Sharu Jiang
https://codereview.chromium.org/1914113002/diff/420001/appengine/findit/crash/project_classifier.py File appengine/findit/crash/project_classifier.py (right): https://codereview.chromium.org/1914113002/diff/420001/appengine/findit/crash/project_classifier.py#newcode22 appengine/findit/crash/project_classifier.py:22: cmp=self._CompareHosts) On 2016/05/24 23:35:36, stgao wrote: > On 2016/05/24 ...
4 years, 7 months ago (2016-05-25 00:08:07 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914113002/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914113002/460001
4 years, 7 months ago (2016-05-25 01:13:30 UTC) #41
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 01:21:26 UTC) #43
Message was sent while issue was closed.
Committed patchset #10 (id:460001) as
https://chromium.googlesource.com/infra/infra/+/bf6da84ffe7d2bf4029b7286af17c...

Powered by Google App Engine
This is Rietveld 408576698