Skip to content

Add RAG failure-scenario evaluation evidence - #28

Merged
sakshammaurya merged 1 commit into
mainfrom
eval/rag-005-failure-scenarios
Nov 20, 2026
Merged

sakshammaurya merged 1 commit into
mainfrom
eval/rag-005-failure-scenarios

Conversation

@sakshammaurya

Copy link
Copy Markdown
Owner

Summary

  • add a versioned five-case natural retrieval failure dataset and saved API evaluation report
  • add a paired controlled-context harness covering distractors, contradictory evidence, and near-miss abstention
  • commit machine-readable natural, controlled, and N1 retry evidence plus an evidence-based findings report
  • add focused regression tests for fixture isolation, semantic abstention, and saved-report consistency

What the evidence shows

  • no natural retrieval miss was demonstrated; every completed natural request behaved correctly
  • N1 timed out at 600.007s, then succeeded on a 488.553s retry with the relevant page ranked first
  • harmless distractors did not change correctness in C1-C3; C3 had a small single-run efficiency cost
  • the fabricated contradiction in C4 was rejected
  • C5 preserved semantic abstention, exposing a possible API abstained contract mismatch when near-miss evidence reaches generation

Scope and trade-offs

  • evaluation-only: no production retrieval, prompt, model, or API behavior changes
  • controlled cases bypass retrieval intentionally so context effects can be isolated
  • each controlled pair ran once, so latency differences are observations, not causal performance claims
  • saved C2 fact and C5 abstention labels were deterministically rescored; answers, usage, and timings were not regenerated

Verification

  • focused failure tests: 4 passed
  • full non-integration suite: 131 passed, 6 deselected
  • whole-repository Ruff: passed
  • git diff check: passed

@sakshammaurya
sakshammaurya merged commit 1d65458 into main Nov 20, 2026
2 checks passed
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