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