About this puzzle

The RAG Pipeline — practice the decision, scored against the optimum

What does the The RAG Pipeline puzzle teach?

You can't max top-k and rerank for free — a latency budget forces the tradeoff, and chunk size has a sweet spot.

Why do interviews ask about this?

Tuning retrieval (chunking, top-k, rerank) is the core RAG-systems interview — know which knob trades quality for cost.

How is it scored?

The engine computes the provably-optimal answer for the exact instance you played (dynamic programming, shortest-path, or exhaustive search — never a heuristic) and scores your attempt as a percentage of it. No login needed to see your score.