Back to directory

rag-ci

A CLI and GitHub Action that regression-tests RAG pipeline changes against a baseline using paired bootstrap significance tests, blocking a pull request only when a retrieval metric change is statistically real rather than noise.

rag-ci

rag-ci measures every change to a RAG pipeline against a baseline and fails a build when retrieval performance actually got worse, using paired bootstrap significance tests with confidence intervals rather than comparing a bare score to a threshold. A deterministic demo corpus is generated and measured on the machine running it, through the same code paths the run and gate commands use, so results are reproducible rather than pre-recorded.

With only a few paired test cases, the tool deliberately refuses to block a build even when a metric drop looks large, because the interval cannot separate it from noise; a wider golden set narrows that interval until a genuine regression trips the gate. This responds to research showing many retrieval enhancements stop contributing once a strong reranker is present, so teams pay in latency and tokens for changes that do nothing.

Unlike other RAG evaluation tools that compare a score to a fixed threshold, rag-ci conditions its pass or fail verdict on a significance test between two runs over the same questions, behind a CLI and a GitHub Action.

More in RAG

See all 540
  • ai·rete·rag

    ai-rete-rag.com

    A platform that pairs a Rete rule engine with retrieval-augmented generation, so deterministic rules decide an outcome and grounded retrieval explains the decision in plain language.

  • Xtriever

    github.com

    A hybrid retrieval engine for retrieval-augmented generation, written in Rust to run on-device on a phone or a laptop, combining lexical BM25 search, dense embedding search, reciprocal-rank fusion and cross-encoder re-ranking with no server.

  • FileFlux

    github.com

    A .NET library that turns PDF, DOCX, HWP and other documents into optimized chunks for RAG systems, through a five-stage pipeline built on high-performance Rust FFI readers.