Changeset 55


Ignore:
Timestamp:
12/18/10 02:36:13 (14 years ago)
Author:
atzm
Message:

parameter tuning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pycodebattler/trunk/pycodebattler/score.py

    r54 r55  
    148148        return int(score) or 1 
    149149 
    150     def colon_score(self, coefficient=1): 
     150    def colon_score(self, coefficient=2): 
    151151        colon_bytes = self.token_bytes([token.COLON]) or 1 
    152152        score = self.uncommented_bytes() 
     
    156156        return int(score) or 1 
    157157 
    158     def name_score(self, coefficient=16): 
     158    def name_score(self, coefficient=36): 
    159159        name_bytes = self.token_bytes([token.NAME]) or 1 
    160160        score = self.uncommented_bytes() 
Note: See TracChangeset for help on using the changeset viewer.