Open-source RAG verifier catches broken chunks and citations LLM judges miss

hlcAlex · reddit · 2026-10-23

A Reddit user released rag-verifier, a free open-source tool targeting two unchecked gaps in RAG pipelines: whether chunks are self-contained and whether citations genuinely support claims. In one example, a contract Q&A answered "15% liquidated damages" citing only the consequent clause—the trigger condition (60+ days late) sat in the previous chunk, and the actual penalty was 0%, yet an LLM judge passed it. The tool combines a deterministic regex rule layer (catching dangling conditionals, connector starts; zero false positives across 20 real documents / 1388 chunks) with an LLM layer for citation faithfulness and chunk independence. It fails open rather than faking a pass. Demo and GitHub repo available.

Original post →

More from coding & agent

coding & agent channel →