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

Unified Diff: appengine/findit/crash/findit_for_clusterfuzz.py

Issue 2704843002: [Predator] Add TouchCrashedDirectory feature. (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/findit/crash/findit_for_clusterfuzz.py
diff --git a/appengine/findit/crash/findit_for_clusterfuzz.py b/appengine/findit/crash/findit_for_clusterfuzz.py
index e36866eee7af61617cae42d63ac21e26cb47c89e..419bb97c68b984450f36de95ed1edae8ae15cf1f 100644
--- a/appengine/findit/crash/findit_for_clusterfuzz.py
+++ b/appengine/findit/crash/findit_for_clusterfuzz.py
@@ -10,6 +10,8 @@ from crash.clusterfuzz_data import ClusterfuzzData
from crash.clusterfuzz_parser import ClusterfuzzParser
from crash.findit import Findit
from crash.loglinear.changelist_classifier import LogLinearChangelistClassifier
+from crash.loglinear.changelist_features.touch_crashed_directory import (
+ TouchCrashedDirectoryFeature)
from crash.loglinear.changelist_features.touch_crashed_file_meta import (
TouchCrashedFileMetaFeature)
from crash.loglinear.feature import WrapperMetaFeature
@@ -32,10 +34,12 @@ class FinditForClusterfuzz(Findit):
'MinDistance': Weight(1.),
'TopFrameIndex': Weight(1.),
'TouchCrashedFile': Weight(1.),
- })
+ }),
+ 'TouchCrashedDirectory': Weight(1.)
})
meta_feature = WrapperMetaFeature(
- [TouchCrashedFileMetaFeature(get_repository)])
+ [TouchCrashedFileMetaFeature(get_repository),
+ TouchCrashedDirectoryFeature()])
self._predator = Predator(LogLinearChangelistClassifier(get_repository,
meta_feature,
« no previous file with comments | « appengine/findit/crash/findit_for_chromecrash.py ('k') | appengine/findit/crash/loglinear/changelist_classifier.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698