Who it is forA researcher or reviewer who needs to verify the R@1, R@5, and MRR figures before citing them in a paper or report.
The problemBenchmark numbers are only useful if they can be checked, and comparing retrievers on different question sets gives misleading rankings.
The outcomeA regenerated FINAL_RESULTS.md table, with the metrics checked against the committed raw outputs in data/interim/ and evaluation/retrieval/.
What you need first
- Python installed (the README lists Python 3.14)
- Ability to clone the GitHub repository and run commands in a terminal
- Internet access for the first download of the sentence-transformers embedding model (inferred from the model being loaded by name)
- Constitution of Pakistan PDFs or the committed data files for the demo and evaluation
Steps
- Clone https://github.com/salikhussain71-code/PAKGOV-RAG-project and open the project folder.
- Install the Python packages the evaluation script imports, such as
pip install streamlit sentence-transformers faiss-cpu rank_bm25, if the script fails with a missing module. (inferred, check the README) - Run
python app/eval/final_table.py. - Open evaluation/retrieval/FINAL_RESULTS.md and compare it with hybrid_rrf_metrics_50.json and dense_metrics_50.json.
- Read evaluation/retrieval/failure_analysis_50.md and note the questions where the gold source was not in the top 5.
Prompt for your agent
Clone salikhussain71-code/PAKGOV-RAG-project, run python app/eval/final_table.py, and write the regenerated results to evaluation/retrieval/FINAL_RESULTS.md. Report the R@5 and MRR values for BM25, Dense, and Hybrid RRF (k=60). Verify that the values match the committed metrics JSON files in evaluation/retrieval/ and flag any difference.
Caveat. The README warns that the 50-question set is small, so a 10-point gap at R@5 equals 5 questions and the ranking should be treated as indicative.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for salikhussain71-code/PAKGOV-RAG-project and "Check the retrieval benchmark numbers yourself"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer