RAGit: Turning Document Preprocessing into an Experimental Variable for RAG
Omar El Bachyr, Saad Ezzini, Tegawend\'e F. Bissyand\'e, Jacques Klein
Key points
From the paper's conclusion- We demonstrate RAGit through controlled experiments comparing alternative preprocessing configurations under a fixed retrieval setup, illustrating how preprocessing can be treated as an explicit experimental variable.
Abstract
Document preprocessing choices can substantially affect retrieval in Retrieval-Augmented Generation (RAG) pipelines, yet they are often selected heuristically and are difficult to compare under consistent conditions. We present RAGit, an open-source experimentation workbench for the systematic and reproducible evaluation of document preprocessing choices through downstream retrieval. RAGit represents parsing, chunking, indexing, retrieval, and evaluation as configurable experimental stages, enabling controlled comparisons while the remaining downstream settings are kept fixed. It preserves provenance from retrieved chunks to source pages and maps heterogeneous retrieval units to a common page-level ranking for evaluation. The current implementation supports multiple parsers and chunking strategies, dense and late-interaction retrieval, reusable intermediate artifacts, and multi-configuration benchmarking. We demonstrate RAGit through controlled experiments comparing alternative preprocessing configurations under a fixed retrieval setup, illustrating how preprocessing can be treated as an explicit experimental variable. RAGit and its documentation are publicly available on GitHub (https://github.com/OmarElbachyr/ragit). A demonstration video is available at https://youtu.be/tsst-Bhfz4I.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Retrieval Augmented Generation CompositionalityarXiv · 2026
- RAG-NIMBF: A Non-Invasive, Modular Benchmarking Framework for Automated RAG Configuration AnalysisarXiv · 2026
- RAGCompass: Generalizable Retriever Routing via RerankingarXiv · 2026
- ORDER: Task-Conditioned Routing for Retrieval-Augmented GenerationarXiv · 2026
- CURATOR: Scalable Fine-grained Evidence Selection for Retrieval-Augmented Generation using Decision ModelsarXiv · 2026
- AutoRAGBench: A Benchmark for LLM Agents Automating RAG System DevelopmentarXiv · 2026