Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/continuous-evaluation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:

- name: Install dependencies
if: env.OPENAI_API_KEY != ''
run: pip install -r requirements.txt
run: |
pip install -r requirements.txt
python scripts/patch_ragas_vertexai_shim.py

- name: Run full evaluation pipeline
if: env.OPENAI_API_KEY != ''
Expand Down
145 changes: 145 additions & 0 deletions outputs/baseline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"timestamp": "2026-12-02T14:01:50.166336",
"dataset_size": 40,
"sample_size": 10,
"patterns": {
"FAISS Similarity Search": {
"retrieval_metrics": {
"Hit Rate@5": 0.925,
"MRR@5": 0.7620833333333333,
"Precision@5": 0.425,
"Recall@5": 0.925,
"nDCG@5": 0.7863993362498043
},
"generation_metrics": {
"Answer Relevance (1-5)": 5.0,
"Groundedness (1-5)": 4.6,
"Hallucination Rate (0-1)": 0.12777,
"Coherence (1-5)": 5.0
},
"ragas_metrics": {
"Faithfulness": 0.9576086956521739,
"Answer Relevancy": 0.9572908938965726,
"Context Precision": 0.8237499999742395,
"Context Recall": 0.7666666666666666
},
"build_time_sec": 2.9127280712127686,
"total_time_sec": 163.66366314888
},
"FAISS MMR (Diversity)": {
"retrieval_metrics": {
"Hit Rate@5": 0.925,
"MRR@5": 0.7329166666666668,
"Precision@5": 0.3,
"Recall@5": 0.925,
"nDCG@5": 0.7597502350060218
},
"generation_metrics": {
"Answer Relevance (1-5)": 4.9,
"Groundedness (1-5)": 4.9,
"Hallucination Rate (0-1)": 0.04759,
"Coherence (1-5)": 5.0
},
"ragas_metrics": {
"Faithfulness": 0.8537301587301588,
"Answer Relevancy": 0.9674822130435485,
"Context Precision": 0.7255555555120647,
"Context Recall": 0.7166666666666666
},
"build_time_sec": 3.463643789291382,
"total_time_sec": 151.18381190299988
},
"ChromaDB Similarity Search": {
"retrieval_metrics": {
"Hit Rate@5": 0.925,
"MRR@5": 0.7620833333333333,
"Precision@5": 0.425,
"Recall@5": 0.925,
"nDCG@5": 0.7863993362498043
},
"generation_metrics": {
"Answer Relevance (1-5)": 4.9,
"Groundedness (1-5)": 4.6,
"Hallucination Rate (0-1)": 0.1222,
"Coherence (1-5)": 5.0
},
"ragas_metrics": {
"Faithfulness": 0.9344444444444445,
"Answer Relevancy": 0.965127911727407,
"Context Precision": 0.784166666641132,
"Context Recall": 0.7666666666666666
},
"build_time_sec": 2.0851340293884277,
"total_time_sec": 152.43123078346252
},
"ChromaDB MMR (Diversity)": {
"retrieval_metrics": {
"Hit Rate@5": 0.925,
"MRR@5": 0.7633333333333333,
"Precision@5": 0.3,
"Recall@5": 0.925,
"nDCG@5": 0.7911081377380625
},
"generation_metrics": {
"Answer Relevance (1-5)": 4.9,
"Groundedness (1-5)": 5.0,
"Hallucination Rate (0-1)": 0.02338,
"Coherence (1-5)": 5.0
},
"ragas_metrics": {
"Faithfulness": 0.9018470418470418,
"Answer Relevancy": 0.9609521438324222,
"Context Precision": 0.8137499999480591,
"Context Recall": 0.7166666666666666
},
"build_time_sec": 1.2996058464050293,
"total_time_sec": 159.99020266532898
},
"Agentic RAG (ReAct + Iterative Retrieval)": {
"retrieval_metrics": {
"Hit Rate@5": 0.925,
"MRR@5": 0.7175,
"Precision@5": 0.4050000000000001,
"Recall@5": 0.925,
"nDCG@5": 0.7703684779271393
},
"generation_metrics": {
"Answer Relevance (1-5)": 5.0,
"Groundedness (1-5)": 4.4,
"Hallucination Rate (0-1)": 0.12,
"Coherence (1-5)": 5.0
},
"ragas_metrics": {
"Faithfulness": 0.7993809523809523,
"Answer Relevancy": 0.9617562697714245,
"Context Precision": 0.7920833333047118,
"Context Recall": 0.7666666666666666
},
"build_time_sec": 1.6063611507415771,
"total_time_sec": 310.55357694625854
},
"OpenAI File Search (Hosted Vector Store)": {
"retrieval_metrics": {
"Hit Rate@5": 0.95,
"MRR@5": 0.95,
"Precision@5": 0.85,
"Recall@5": 0.95,
"nDCG@5": 0.9439801880126641
},
"generation_metrics": {
"Answer Relevance (1-5)": 5.0,
"Groundedness (1-5)": 5.0,
"Hallucination Rate (0-1)": 0.02679,
"Coherence (1-5)": 4.9
},
"ragas_metrics": {
"Faithfulness": 0.8888888888888888,
"Answer Relevancy": 0.9516061487174701,
"Context Precision": 0.8755555555317038,
"Context Recall": 0.9
},
"build_time_sec": 55.64691615104675,
"total_time_sec": 592.5725250244141
}
}
}