Example #1
0
 def _init_features(self):
     self._extension_to_count_feature = Feature.create(
         'Share of {}-extensions by count'.format(self.category))
     self._extension_to_size_feature = Feature.create(
         'Share of {}-extensions by size'.format(self.category))
     self.features = [
         self._extension_to_count_feature, self._extension_to_size_feature
     ]
Example #2
0
 def _init_features(self):
     self.features = [Feature.create('Language feature for DEV')]
Example #3
0
 def _init_features(self):
     self.feature = Feature.create('Has build file')
Example #4
0
 def _init_features(self):
     self.features = [Feature.create('Language feature for ' + CATEGORY)]
Example #5
0
 def _init_features(self):
     self.feature = Feature.create('Has wiki')
Example #6
0
 def _init_features(self):
     self.feature = Feature.create('Active time in days')
Example #7
0
 def _init_features(self):
     self.feature = Feature.create('Is a fork')
Example #8
0
 def _init_features(self):
     self.features = [
         Feature.create('Contains file "' + filename + '"')
         for filename in self.filenames
     ]
Example #9
0
 def _init_features(self):
     self.feature = Feature.create('Number of forks')
Example #10
0
 def _init_features(self):
     self.feature = Feature.create('Number of contributors')
Example #11
0
 def _init_features(self):
     self.feature = Feature.create('Number of commits')
Example #12
0
 def _init_features(self):
     self.feature = Feature.create('Number of branches')
Example #13
0
 def _init_features(self):
     self.feature = Feature.create('Number of watchers')
Example #14
0
 def _init_features(self):
     self.feature = Feature.create('Size of repo')
Example #15
0
 def _init_features(self):
     self.feature = Feature.create('Number of open issues')
Example #16
0
 def _init_features(self):
     self.feature = Feature.create('Description or name contains year')
Example #17
0
 def _init_features(self):
     self.features = [
         Feature.create('Contains keyword "' + keyword + '"')
         for keyword in self.keywords
     ]
Example #18
0
 def _init_features(self):
     self.feature = Feature.create('Has downloads')
Example #19
0
 def _init_features(self):
     self.feature = Feature.create('Has pages')
Example #20
0
 def _init_features(self):
     self.features = [Feature.create("Description contains URL")]