Skip to content

feat(eval-viewer): add per-criterion verdict filters#47

Merged
kirang89 merged 2 commits intomainfrom
feat/eval-viewer-granular-verdict-filter
Mar 18, 2026
Merged

feat(eval-viewer): add per-criterion verdict filters#47
kirang89 merged 2 commits intomainfrom
feat/eval-viewer-granular-verdict-filter

Conversation

@kirang89
Copy link
Contributor

Summary

Adds granular verdict filtering to the eval viewer, allowing filtering by specific failure criteria instead of just pass/fail.

New filter options

Filter Matches
Verdict: pass All criteria pass
Verdict: fail (any) Any criterion fails
Fail: incomplete isAnswerComplete is "no"
Fail: not evidenced isEvidenceSupported is "no"
Fail: not linked isEvidenceLinked is "no"
Fail: bad reasoning isReasoningSound is "no"
Verdict: none No verdicts present

Changes

  • Expanded the Verdict dropdown with per-criterion fail options
  • Added FAIL_FIELD_MAP and matchesVerdictFilter() to centralize verdict matching logic
  • Simplified filtering in getFilteredItems() for both single-run and comparison modes
  • Widened filter select min-width (130px → 160px) to fit longer labels

Add granular filtering options to the Verdict dropdown:
- fail: incomplete, not evidenced, not linked, bad reasoning
- Centralize verdict matching in matchesVerdictFilter()
- Widen filter select min-width for longer labels
@kirang89 kirang89 merged commit 209971b into main Mar 18, 2026
2 checks passed
@kirang89 kirang89 deleted the feat/eval-viewer-granular-verdict-filter branch March 18, 2026 17:01
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