14:48
2026-07-14
dev.to
large-language-models
Your RAG Eval Isn't Flaky. Your Retrieval Is Non-Deterministic.
A developer discovered that non-deterministic retrieval ordering caused fluctuating RAG evaluation results. The issue was traced to SQL ORDER BY clauses that allowed ties, which changed the input to Rโฆ