errata-ai / readability

Vale-compatible implementations of many popular "readability" metrics.
MIT License
15 stars 3 forks source link

Erroneous Coleman-Liau Index message #9

Closed yesbox closed 2 years ago

yesbox commented 2 years ago

The ColemanLiau definition specifies condition "> 9" but its message is "Try to keep the Coleman–Liau Index grade (%s) below 19".

Thus users can get a warnings such as "Try to keep the Coleman–Liau Index grade (10) below 19".

I suppose the condition is correct but the grade in the message is too high.

jdkato commented 2 years ago

This should already be fixed (#5). I’ll put out a new release soon.