# Production RAG checklist

_Four checks on the step that decides what the model is allowed to say_  
@demotoprod · RAG · also LEVERS · October 2026

The default RAG pipeline sends the top few chunks by vector similarity to the model, which answers from whatever it received. A January 2024 experience report lists seven failure points; two happen before the model reads a word. Four checks for the retriever, in order.

**Retriever settings to fill in, by check**

```
eval_set: "<real questions with the answer chunk labelled>"  # check 1
recall_target: "<your target>"   # set from your own check 1 runs
search: [bm25, vector]           # check 2
fusion: {method: rrf, k: 60}     # check 2, the fusion paper's constant
candidates: 50                   # check 3, example size
rerank: cross-encoder            # check 3
send_top: 5                      # check 3, example size
min_score: "<cut set on the check 1 set>"   # check 4
on_no_chunk: reply_no_source     # check 4, skip the model call
store_with_answer: [source_id, score]       # check 4
```

- [ ] **1. Measure retrieval recall on your own questions before you blame the model**

  **What happened.** The report names two failures before the model reads anything: the answer ranked too low to be returned, or was retrieved but cut before the context. A public benchmark of 18 retrieval datasets scores the retriever alone; run the same test on your own questions.

  **The check.**
  - Label the answering chunk for real questions from your logs or tickets.
  - Run retrieval with no model call; record how often that chunk is in the list you send.
  - Rerun after every change of embedding model, chunker, index or reranker.

  Source: [Seven Failure Points When Engineering a Retrieval Augmented Generation System, Jan 2024](https://arxiv.org/pdf/2401.05856v1)

  Source: [BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models, Apr 2021 (revised Oct 2021)](https://arxiv.org/pdf/2104.08663v4)

- [ ] **2. Run keyword and vector search together and merge the two ranked lists**

  **What happened.** On simple entity-rich questions, a dense retriever trained on a common question set averaged 49.7% top-20 accuracy against 72.0% for BM25. The authors write that dense retrievers generalise only to common entities unless the question pattern was seen in training. Reciprocal rank fusion merges ranked lists by rank alone, summing 1 / (k + rank) with k = 60.

  **The check.**
  - Index the same chunks for BM25 and for vector search, run both, and merge the lists by rank.
  - Add questions that hinge on an exact name, code or acronym to the check 1 set and compare recall against vector search alone.

  ```
  # Plain Python, no library. Reciprocal rank fusion, k = 60.
  def rrf(ranked_lists, k=60):
      scores = {}
      for ranking in ranked_lists:       # chunk ids, best first
          for rank, cid in enumerate(ranking, start=1):
              scores[cid] = scores.get(cid, 0) + 1 / (k + rank)
      return sorted(scores, key=scores.get, reverse=True)
  ```

  Source: [Simple Entity-Centric Questions Challenge Dense Retrievers, Sep 2021 (revised Feb 2022)](https://arxiv.org/pdf/2109.08535)

  Source: [Reciprocal Rank Fusion outperforms Condorcet and individual Rank Learning Methods, Jul 2009](https://cormack.uwaterloo.ca/cormacksigir09-rrf.pdf)

- [ ] **3. Retrieve wide, rerank with a cross-encoder, and send only the top few**

  **What happened.** In the 18-dataset benchmark, a cross-encoder re-ranking the top 100 BM25 hits beat BM25 alone on 16 of 18, with latency above 350 ms in the paper's measurements. A longer list does not help much: in a separate study, 50 documents instead of 20 only marginally improved answers, and accuracy often fell when the answer sat in the middle of the context.

  **The check.**
  - Retrieve more candidates than you send (50 below), score each question and chunk pair with a cross-encoder, keep the top few (5) with the best chunk first.
  - Set both sizes from your check 1 recall and log reranking time per query.

  ```
  # Pseudocode: cross_encoder_score is your reranker. 50 and 5 are example sizes.
  scored = [(cross_encoder_score(question, c.text), c) for c in merged[:50]]
  top = sorted(scored, key=lambda t: t[0], reverse=True)[:5]
  ```

  Source: [BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models, Apr 2021 (revised Oct 2021)](https://arxiv.org/pdf/2104.08663v4)

  Source: [Lost in the Middle: How Language Models Use Long Contexts, Jul 2023 (revised Nov 2023)](https://arxiv.org/pdf/2307.03172v3)

- [ ] **4. Drop chunks below a score cut and pass the sources through**

  **What happened.** Weak chunks are not harmless. In one study, a 13-billion-parameter open model given the top web-search result scored 62.1 on a reasoning benchmark against 65.6 with no retrieval; filtering passages with an entailment model prevented the drop, at the cost of also discarding relevant passages.

  **The check.**
  - On the check 1 set, set the cut where most answer chunks stay and most wrong ones go.
  - When no chunk clears the cut, reply that no source was found, log it and skip the model.
  - Store each kept chunk's source id and score with the answer.

  Source: [Making Retrieval-Augmented Language Models Robust to Irrelevant Context, Oct 2023 (revised May 2024)](https://arxiv.org/pdf/2310.01558v2)

  Source: [Corrective Retrieval Augmented Generation, Jan 2024 (revised Oct 2024)](https://arxiv.org/abs/2401.15884)

Figures are the cited papers' own, on their datasets and models; none measures your corpus. 50, 5 and k = 60 are examples and the fusion paper's constant; set sizes and the cut from your own recall numbers.

The live version of this list, with every source link, is at https://indica-tech.com/checklists/production-rag/. The PDF is at https://indica-tech.com/checklists/lead-magnets/LEVERS-production-rag-checklist-2026-10.pdf.

---

**Nitish Gautam — Indica Technology Ltd.** Founder-led AI engineering: demo to production, in regulated industries, on fixed scope.

Website https://indica-tech.com · Book a call https://indica-tech.com/#contact · hello@indica-tech.com

YouTube youtube.com/@demotoprod · LinkedIn linkedin.com/company/indica-technology · Instagram and TikTok @demotoprod

_Production RAG checklist · October 2026 · @demotoprod_
