Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website Lintscore Error #319

Closed
wordsmythe opened this issue Mar 7, 2016 · 2 comments
Closed

Website Lintscore Error #319

wordsmythe opened this issue Mar 7, 2016 · 2 comments

Comments

@wordsmythe
Copy link

http://proselint.com/lintscore/
Just needs some more parenthesis in the math.

I think you mean the math expression to have the exponent (k) to apply to the whole thing, not just the part currently within the outer parenthesis. With F + T = 100, F = 10 (therefore T = 90), and k = 2, the statement comes out to 90*(0.9)^2. The exponent as it's written applies to just the 0.9, so you don't get 82.

suchow added a commit that referenced this issue Mar 7, 2016
@suchow
Copy link
Member

suchow commented Mar 7, 2016

The equation is correct as written: the lintscore is the number of true positives with a penalty term for false positives. Good catch though — the example is wrong and should be 72.9.

@suchow
Copy link
Member

suchow commented Mar 7, 2016

Fixed.

@suchow suchow closed this as completed Mar 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants