A number of sessions times their length that does not make the stated total
duration-product-mismatchon by defaultJapanese / English
Sessions times the length of each that does not make the total given
Example
How to fix
Check which of the count, the length and the total is right and correct the rest.
Why it matters
When a count of sessions, the length of one and the total are written together ("90 minutes per session, 15 sessions, 24 hours in total"), the reader cannot tell which of the three is right (15 sessions of 90 minutes make 22.5 hours). It happens when the count or the length is changed and the total is not. In one line, or one list, holding exactly one count, one length and one total, the count times the length is compared with the total.
What it does not flag
A line missing the count, the length or the total, one with two of any of them, and a rough length ("about 90 minutes") are left alone. A rough total ("about 23 hours") may differ by less than the unit it is written in.
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).
| 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, literature/fiction, literature/essay, literature/poetry, literature/play, speech/address, speech/transcript
Message
{count} of {length} make {hours} hours {minutes} minutes, but the total is given as {total}
{count} of {length} make {hours} hours, but the total is given as {total}
{count} of {length} make {minutes} minutes, but the total is given as {total}
Rewrite depth (chaff fix-plan --depth): light — words and sentences; the structure and the voice stay
This page is built from the rule's definition file:packages/chaff/rules/duration-product-mismatch.yaml