[cheesecake-users] Comments on the index
Grig Gheorghiu
grig.gheorghiu at gmail.com
Wed Jun 21 07:24:04 PDT 2006
On 6/21/06, Michał Kwiatkowski <constant.beta at gmail.com> wrote:
>
>
> > The problem is that index_pylint is the average of the non-negative
> > pylint scores. As a result, when I increase the quality of a
> > negatively-scored code to bring it above zero (which *must* be an
> > improvement) the index_pylint can potentially decrease. In the worst
> > case, this encourages me to decrease the quality of all of my code to
> > below zero, except for one shining example of perfect code.
> >
> > Perhaps a better measure would be the take the average over all of the
> > files of max(0,pylint_score). This would encourage improvement in
> > negatively-scored files.
>
> In my opinion negative scores should be counted as well to the overall
> score. Projects should be penalized for having really bad code inside.
> We can exclude some corner cases, but IMHO both negative and positive
> scores should be counted. Implementing this won't be hard. What do you
> think, Grig?
Yes, I agree, we should count both positive and negative scores, but we need
to do some assessment of what exactly is going on with those corner cases
too. The reason I excluded negative pylint scores was that I didn't want
projects to be penalized just because they hit on one of those weird cases
where pylint gives a really bad negative score.
Grig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists2.idyll.org/pipermail/cheesecake-users/attachments/20060621/16841c59/attachment.htm
More information about the cheesecake-users
mailing list