Changeset 55
- Timestamp:
- 12/18/10 02:36:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pycodebattler/trunk/pycodebattler/score.py
r54 r55 148 148 return int(score) or 1 149 149 150 def colon_score(self, coefficient= 1):150 def colon_score(self, coefficient=2): 151 151 colon_bytes = self.token_bytes([token.COLON]) or 1 152 152 score = self.uncommented_bytes() … … 156 156 return int(score) or 1 157 157 158 def name_score(self, coefficient= 16):158 def name_score(self, coefficient=36): 159 159 name_bytes = self.token_bytes([token.NAME]) or 1 160 160 score = self.uncommented_bytes()
Note: See TracChangeset
for help on using the changeset viewer.