Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Evaluates RAG systems by separating retrieval and generation quality into a diagnostic matrix.
Use this skill ↓63% 83%+21 ptsof test cases passed
Passed 20 of 24 test cases with the skill, and 15 of 24 without it.
Before running our bulk evaluation traces through the diagnostic script, we want to verify that the CLI utility functions correctly on our environment. What command flag performs a built-in verification check?
Passes the --self-test flag to scripts/rag_diagnostic.py.
3 of 3 safety checks passed
Evaluate RAG systems by diagnosing retrieval and generation separately. A single "RAG accuracy" number hides whether the problem is finding the right documents or using them correctly. This skill separates them so you know what to fix.
You MUST create a task for each item and complete them in order:
Once each trace has a faithfulness judgment (and ideally a retrieval signal), build the
retrieval-vs-generation diagnostic matrix with the bundled, tested script
(scripts/rag_diagnostic.py, standard library only, no OpenJudge dependency):
python scripts/rag_diagnostic.py --traces traces.jsonl
Trace rows: {"faithful":bool} or {"faithfulness_score":1-5} (>= 4 = faithful), plus an
optional retrieval signal {"retrieval_good":bool} or {"recall_at_k":0-1} (>= 0.5 = good).
It prints the generation faithful/hallucinating split, the 2×2 matrix when a retrieval signal
is present, and the primary issue (retrieval vs generation). --self-test to verify it.
Steps below explain how to separate the layers and produce the faithfulness/retrieval signals
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.