# Tiers and check types

Source: https://watership.ca/api-docs/docs/concepts/tiers-and-check-types

Why every rule has a tier and a check type, and why the API reports only some of the rules.

Every Watership rule carries two labels. Its **tier** says how much it matters. Its **check type** says how it can be found. The API is built around both, and most of its design follows from keeping them apart.

## Tiers: how much a rule matters [#tiers-how-much-a-rule-matters]

A style guide that treats every rule as equally important stops being read. Writers learn that a page of findings is mostly noise, and they skim past the one that matters. Watership sorts its rules into three tiers so that the cost of breaking a rule is clear before anyone argues about it.

| Tier | What it means | Reported as |
|---|---|---|
| <Tier name="never" /> | The strongest tier. Reported first, and no content type or voice lowers it. Your review policy says when it must be fixed. | `error` |
| <Tier name="avoid" /> | Edit on one sighting, or keep it with a stated reason. | `warning` |
| <Tier name="prefer" /> | A suggestion. Act on it when other problems turn up in the same passage. | `suggestion` |

Never-tier rules are few. Of the 577 rules in the three guides, 75 are never-tier: things like an ambiguous date, link text that says "click here", or meaning shown by color alone. Each is a mistake that misleads or excludes a reader, so a review reports it before anything else.

Most rules are avoid-tier. The tier exists for rules that are right nearly every time but not every time. "Please" is wrong in an instruction, and right when you ask a reader to report a bug for your benefit. A warning lets the writer make that call and say why.

Prefer-tier rules are weak alone. One semicolon doesn't hurt a page. A semicolon, a stacked qualifier, and a hidden actor in one paragraph usually mean the paragraph needs another pass. That's why a suggestion is worth reporting even though no single one is worth fixing.

The tiers are the guide's defaults. An organization can move an avoid-tier or prefer-tier rule up or down, though a never-tier rule stays never, so the tier on a finding is the tier in force for that release.

## Check types: how a rule can be found [#check-types-how-a-rule-can-be-found]

The second label is about method. A **mechanical** rule is one a pattern can catch: a word on a list, a character, a capital letter, a number format. A **judgment** rule needs a reader: whether a sentence leads with the answer, whether an example fits the reader, whether a paragraph argues with no one.

Of the 577 rules, 206 are mechanical and 371 need judgment. The API checks only mechanical rules, and of those, 76 have a check so far. The other 130 are mechanical in principle but don't have a reliable pattern yet.

## Why the API doesn't guess at judgment rules [#why-the-api-doesnt-guess-at-judgment-rules]

It would be easy to add checks for judgment rules: flag every sentence over 30 words, every paragraph with a question in it, every "however". Each check would catch a few real problems and many false ones. A reader who gets 10 false findings stops trusting the eleventh.

So the API reports only what a pattern can find reliably, and it's explicit about the rest. Every rule in `GET /v1/rules` has a `check` field and an `automated` field. A rule with `automated: false` is one the API will never report, and a review process needs a person, or a review tool that has the rule's full text, to cover it. A clean check result means the mechanical rules pass. It doesn't mean the text is good.

## Level isn't the same as tier [#level-isnt-the-same-as-tier]

A finding has both a `tier` and a `level`, and they usually agree. They're separate fields because they answer different questions. The tier belongs to the rule: how much it matters. The level belongs to the check: how confident and how loud the report should be.

Today every Watership check reports at the level of its rule's tier, so the two agree. A company claims check is the exception: it has no tier and sets its own level. The fields stay separate so that a check whose pattern misfires often can report more quietly without the rule seeming to matter less. If you want every finding for a tier, filter on `tier`. If you want what the report treats as loudest, filter on `level`.

## Related [#related]

- [Filter findings](https://watership.ca/api-docs/docs/tasks/filter-findings) shows how to filter on tier or level.
- [How findings map to the guides](https://watership.ca/api-docs/docs/concepts/findings-and-guides) explains where rules come from.
