From 370139179b0eda507d20c3eb4df58567b24a4a87 Mon Sep 17 00:00:00 2001 From: Nim G Date: Wed, 2 Sep 2026 01:37:54 -0300 Subject: [PATCH] fix: correct ColemanLiau readability message to match its own threshold The message said "below 19" while condition fired at "> 9" -- the only formula in this style where the two disagree; every sibling formula has them match exactly. Traced via the GitHub API: the file has been touched twice since 2021-11-14, its founding commit (which also corrected FleschReadingEase's threshold from 50 to 70 in the same diff) and a pure rename with no content change. A deliberate tuning pass, not a rushed first draft, so a transposed digit in the message is more likely than a stale placeholder. 9 is the value consistent with the rest of the style (matches FleschKincaid's and AutomatedReadability's own grade-8 thresholds on the same scale) and with published guidance recommending a Coleman-Liau grade around 8-10 for general-audience writing. Fixed the message to match the condition rather than the other way around. Refs #1171 --- testdata/styles/Readability/ColemanLiau.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/styles/Readability/ColemanLiau.yml b/testdata/styles/Readability/ColemanLiau.yml index 3d56c6afc..d478303c2 100644 --- a/testdata/styles/Readability/ColemanLiau.yml +++ b/testdata/styles/Readability/ColemanLiau.yml @@ -1,5 +1,5 @@ extends: metric -message: "Try to keep the Coleman–Liau Index grade (%s) below 19." +message: "Try to keep the Coleman–Liau Index grade (%s) below 9." link: https://en.wikipedia.org/wiki/Coleman%E2%80%93Liau_index formula: |