Why it exists
The score is a shared, measurable quality signal. It makes quality comparable across documents and trackable over time, and it doubles as a CI gate: a score below 10 reports a violation, and a violation aterror severity exits non-zero and fails the run. A numeric signal is easier to act on than a binary pass/fail.
How it works
VectorLint scores a document with one of two methods, chosen by what the rule asks for.| When a rule defines… | VectorLint scores the document with… | What the score reflects |
|---|---|---|
| Discrete issues to find (a banned phrase, a missing element, a structural error) | Density scoring | How often issues appear relative to document length |
| Quality criteria to rate on a spectrum (clarity, tone, completeness) | Rubric scoring | A weighted average of LLM ratings against a rubric |
Related
- How it works: the full review pipeline, from file discovery through scoring and reporting
- Strictness: control how strongly density scoring penalizes errors