Skip to content

docs(evaluation): Error localization (concept)#720

Merged
khushalsonawat merged 7 commits into
docs/evaluation-revampfrom
docs/eval-error-localization
Jul 10, 2026
Merged

docs(evaluation): Error localization (concept)#720
khushalsonawat merged 7 commits into
docs/evaluation-revampfrom
docs/eval-error-localization

Conversation

@abhijaisrivastava15

Copy link
Copy Markdown
Contributor

Summary

New Evaluation concept page: Error localization — what it is, when it runs, where results appear, and how to enable it.

Explains that error localization runs a deeper analysis on a failed eval result to pinpoint which input field drove the failure, returning error_analysis and selected_input_key.

Grounding (verified against the product repo)

  • Runs only on failed, scorable evals; skips code-type and composite — model_hub/services/error_localizer_service.py
  • Returns error_analysis + selected_input_keymodel_hub/models/error_localizer_model.py
  • Opt-in via error_localizer_enabled on the eval template, inherited by each run — model_hub/models/evals_metric.py:189,573

Checks

  • Renders 200 on astro dev
  • Internal links resolve on docs/evaluation-revamp; title matches the sidebar label
  • No em-dashes, no marketing adjectives; sibling shape (About / Next steps)

TH-6675

@khushalsonawat khushalsonawat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check comments

Comment thread src/pages/docs/evaluation/concepts/error-localization.mdx Outdated
Comment thread src/pages/docs/evaluation/concepts/error-localization.mdx Outdated
Comment thread src/pages/docs/evaluation/concepts/error-localization.mdx Outdated
Comment thread src/pages/docs/evaluation/concepts/error-localization.mdx Outdated
Comment thread src/pages/docs/evaluation/concepts/error-localization.mdx Outdated
Comment thread src/pages/docs/evaluation/concepts/error-localization.mdx Outdated
Comment thread src/pages/docs/evaluation/concepts/error-localization.mdx Outdated
Comment thread src/pages/docs/evaluation/concepts/error-localization.mdx Outdated
Comment thread src/pages/docs/evaluation/concepts/error-localization.mdx Outdated
Comment thread src/pages/docs/evaluation/concepts/error-localization.mdx Outdated
abhijaisrivastava15 and others added 3 commits July 9, 2026 19:39
- drop About heading and --- dividers, open at a real first H2
- bold error localization on first mention, link judge model/eval template/Observe
- drop the fake configured-threshold framing; state the real pass/fail vs low-score trigger
- soften code-type/non-scorable rows to what's grounded, not the private ee engine's internals
- compress How to enable it to the checkbox + the real OR-of-two-flags inheritance
- call it the Error Localization checkbox, not the API field name
- reword Review/Where results appear to the confirmed surfaces (trace detail eval view, dataset row drawer, Playground run tests)
- fix stale link to guides/running-evaluations, cut the backward Understanding-evaluation link
- Next steps -> Keep exploring, as cards

TH-6675
…model rename, drop false skip condition)

Signed-off-by: khushalsonawat <khushalsonawat@gmail.com>
@khushalsonawat khushalsonawat merged commit a5ebfa3 into docs/evaluation-revamp Jul 10, 2026
@khushalsonawat khushalsonawat deleted the docs/eval-error-localization branch July 10, 2026 13:08
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.

2 participants