Skip to content

docs: correct strict_mode score direction for higher-is-better metrics - #183

Open
crubn wants to merge 1 commit into
confident-ai:mainfrom
crubn:docs/fix-strict-mode-direction
Open

docs: correct strict_mode score direction for higher-is-better metrics#183
crubn wants to merge 1 commit into
confident-ai:mainfrom
crubn:docs/fix-strict-mode-direction

Conversation

@crubn

@crubn crubn commented Jun 27, 2026

Copy link
Copy Markdown

These metric pages describe strict_mode as "0 for perfection, 1 otherwise", but for higher-is-better metrics strict_mode sets the threshold to 1, so a perfect run scores 1 (not 0). Flips the wording to "1 for perfection, 0 otherwise" to match the code and deepeval's own metric docs. Inverted metrics (hallucination, bias, toxicity, etc.) are intentionally left unchanged.

These metric pages describe strict_mode as "0 for perfection, 1 otherwise",
but for higher-is-better metrics strict_mode sets the threshold to 1, so a
perfect run scores 1 (not 0). Flips the wording to "1 for perfection, 0
otherwise" to match the code and deepeval's own metric docs. Inverted metrics
(hallucination, bias, toxicity, etc.) are intentionally left unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant