RAG RESEARCH · EVALUATION · HUMAN VALIDATION

Validated RAG Eval Harness

Does LLM-as-judge agree with human reviewers on RAG answer correctness and citation support? Compare naive, rubric-based, and stepwise judge prompts against independent human labels.

Measure agreement—not just model scores

Human labels are blank until reviewers complete them. The included 50-case fixture is illustrative and cannot establish agreement or represent multi-hop, numeric, or negation question performance.

Prepare independent human labels first

cd rag-judge-eval
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest
rag-judge-eval prepare
# Complete results/human-review.csv before seeing judge outputs.
export OPENAI_API_KEY="..."
rag-judge-eval run --model gpt-4o-mini

Read the project README·Explore Chunking Strategy Ablation