CONFIDENCE_THRESHOLD— controls how strictly the PAT pipeline filters raw model candidates before surfacing them. A global setting that applies to every evaluation.- Strictness overrides — controls how harshly check rules score error density for specific file patterns. Set per content type in
.vectorlint.ini.
How the two levers differ
CONFIDENCE_THRESHOLD operates at the filtering stage — it determines whether a candidate violation gets surfaced at all. Lower it and more candidates pass through. Raise it and only the highest-confidence findings appear.
Strictness overrides operate at the scoring stage — they determine how heavily a violation is penalized once it’s already been surfaced. Higher strictness means a given error density produces a lower score and triggers violations more readily.
They’re solving different problems. CONFIDENCE_THRESHOLD reduces noise from the model’s judgment. Strictness controls how demanding your quality bar is for a given content type.
When to tune CONFIDENCE_THRESHOLD
The default of0.75 is a reasonable starting point. Adjust it when the balance between findings and noise isn’t working for your team.
Set this in
~/.vectorlint/config.toml for a global default, or in a project .env file to override it for a specific project.
When to tune strictness
Different content types warrant different quality bars. A draft circulated internally doesn’t need the same scrutiny as customer-facing API documentation. Strictness overrides in.vectorlint.ini let you set those bars independently.
Tuning for CI environments
In CI, false positives block merges. A finding that a writer might reasonably dismiss becomes a pipeline failure that needs explaining. Two adjustments help: RaiseCONFIDENCE_THRESHOLD in CI. Set it higher in your CI environment’s .env than in local development. This means only the highest-confidence findings block a merge — lower-confidence candidates still get caught locally where a writer can evaluate them in context.
A practical starting point for teams
If you’re rolling VectorLint out across a team for the first time, start permissive and tighten over time. A workflow that generates too many findings on day one loses the team’s trust before it earns it.- Start with
CONFIDENCE_THRESHOLD=0.75andstandardstrictness across all content - Run against your existing content library and review the findings as a team
- Raise strictness on your highest-stakes content types first
- Raise
CONFIDENCE_THRESHOLDonce your rules are stable and reviewed
Next steps
- LLM Providers — set
CONFIDENCE_THRESHOLDin your config - Project Configuration — configure strictness overrides per file pattern
- CI Integration — gate merges on content quality