An amount per use times the uses that goes over the stated maximum
product-exceeds-maximumon by defaultJapanese / English
An amount per use times the uses per period that is over that period's maximum
Example
How to fix
Check which of the amount, the count and the maximum is right and correct the rest.
Why it matters
When "2 tablets at a time, up to 3 times a day" and "the maximum daily dose is 4 tablets" are written together, following the directions gives 6 tablets a day, over the stated maximum of 4. The reader cannot tell which to follow and may go over the limit. It happens when the amount, the count or the maximum is changed and the rest is not. In one paragraph holding exactly one labelled amount of one use ("2 tablets at a time", 1回2錠), one count of uses in a period ("3 times a day") and one maximum for the same period ("no more than 4 tablets in 24 hours"), in the same unit as the amount, the amount times the count is compared with the maximum. Fees are not compared (500 yen per use, 10 uses a day, a daily cap of 3,000 yen): a daily cap such as a parking fee cap is usually set below the total on purpose.
What it does not flag
An amount with no mark of one use ("take 2 tablets"), a range ("1 to 2 tablets"), a count and a maximum for different periods (a day and a week), an amount and a maximum in different units (tablets and mg), a paragraph with two of any of the three, and tables are left alone.
Turning it off or relaxing it
Technical details
- Layer
- L3
- Status
- stable
- Severity
- warning
- Languages
- Japanese and English
- Suited to
- business, technical, blog, legal, docs, academic, literature, speech
Levels
Set a level for this rule under rules in chaff.yaml. With nothing set, it runs at the level its genre gives it (see By genre below).
| strict | error |
|---|---|
| normal | warning |
| relaxed | info |
This rule has no limit to count to. A level sets how a finding is marked: relaxed keeps the finding and marks it a step lower.
By genre
- Runs by default in
- technical/spec, technical/readme, blog/tech, blog/essay, blog/owned-media, business/proposal, business/report, business/email, business/press-release, business/meeting-notes, legal/contract, legal/statute, legal/judgment, legal/patent, docs/manual, docs/faq, docs/glossary, academic/paper, speech/address, speech/transcript
- Turned off by the genre in
- literature/fiction, literature/essay, literature/poetry, literature/play
Message
{amount} each, {count}, makes {expected} {unit}, more than the stated maximum of {maximum}
This page is built from the rule's definition file:packages/chaff/rules/product-exceeds-maximum.yaml