Esempio n. 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
     ]
Esempio n. 2
0
 def _init_features(self):
     self.features = [Feature.create('Language feature for DEV')]
Esempio n. 3
0
 def _init_features(self):
     self.feature = Feature.create('Has build file')
Esempio n. 4
0
 def _init_features(self):
     self.features = [Feature.create('Language feature for ' + CATEGORY)]
Esempio n. 5
0
 def _init_features(self):
     self.feature = Feature.create('Has wiki')
Esempio n. 6
0
 def _init_features(self):
     self.feature = Feature.create('Active time in days')
Esempio n. 7
0
 def _init_features(self):
     self.feature = Feature.create('Is a fork')
Esempio n. 8
0
 def _init_features(self):
     self.features = [
         Feature.create('Contains file "' + filename + '"')
         for filename in self.filenames
     ]
Esempio n. 9
0
 def _init_features(self):
     self.feature = Feature.create('Number of forks')
Esempio n. 10
0
 def _init_features(self):
     self.feature = Feature.create('Number of contributors')
Esempio n. 11
0
 def _init_features(self):
     self.feature = Feature.create('Number of commits')
Esempio n. 12
0
 def _init_features(self):
     self.feature = Feature.create('Number of branches')
Esempio n. 13
0
 def _init_features(self):
     self.feature = Feature.create('Number of watchers')
Esempio n. 14
0
 def _init_features(self):
     self.feature = Feature.create('Size of repo')
Esempio n. 15
0
 def _init_features(self):
     self.feature = Feature.create('Number of open issues')
Esempio n. 16
0
 def _init_features(self):
     self.feature = Feature.create('Description or name contains year')
Esempio n. 17
0
 def _init_features(self):
     self.features = [
         Feature.create('Contains keyword "' + keyword + '"')
         for keyword in self.keywords
     ]
Esempio n. 18
0
 def _init_features(self):
     self.feature = Feature.create('Has downloads')
Esempio n. 19
0
 def _init_features(self):
     self.feature = Feature.create('Has pages')
Esempio n. 20
0
 def _init_features(self):
     self.features = [Feature.create("Description contains URL")]