Evidence before scores
Each metric is a link back to the retrieved passages and the query that produced them. A number without its evidence is treated as incomplete.
AI Engineering
An evaluation workbench for retrieval-augmented systems.
Conceptual schematic / not a screenshot.
A small evaluation workbench for RAG systems: fixed query sets, traceable runs, and failure cases that stay visible.
Retrieval-augmented generation is often judged by a handful of impressive answers. That is not enough to make an engineering decision. Changing a chunking strategy, an embedding model, or a reranker can improve one class of query while quietly damaging another.
This internal project explores a smaller, stricter question: can we make every retrieval change legible enough to accept or reject with evidence? The workbench pairs a versioned document corpus with query sets, expected evidence, and a run log. It is deliberately unglamorous.
The interesting part is rarely the happy path. These are the conditions that shaped the work.
The interesting failures are rarely total. A system returns a fluent answer with one missing source, or the right passage ranked just below the cutoff. Aggregate scores can hide both. The tool needed to preserve the specific failure and show what changed between runs.
The second challenge was reproducibility. Live model APIs introduce cost, latency, and variation into every test. For evaluation, stored responses and deterministic fixtures are often more useful than another live call.
A constraint is only useful when it eliminates an option. These are the boundaries the project had to respect.
A component view. The diagram above is a conceptual schematic; this is the responsibility map behind it.
Versioned documents, chunks, and metadata snapshots with stable identifiers.
Pluggable lexical, vector, and hybrid strategies behind one interface.
Query sets, expected evidence, graded relevance, and failure labels.
A record of the query, candidate set, ranking, scores, and timing.
Run-to-run diffs and a review view that prioritises regressions.
Architecture is the set of decisions that are expensive to reverse. These are the ones that shaped the project.
Each metric is a link back to the retrieved passages and the query that produced them. A number without its evidence is treated as incomplete.
Stored model responses keep a test run reproducible. Live calls are reserved for a separate, explicitly labelled integration pass.
Misses, partial answers, bad citations, and overconfident responses have distinct labels. The review view surfaces them before aggregate metrics.
The harness is intentionally narrow. It evaluates retrieval and evidence selection, not the entirety of an application.
A short account of the work, including what changed direction.
The project began as a script that compared two chunk sizes. It became a workbench when the script could not explain why a run had changed. The first addition was a trace; the second was a diff. Both were more valuable than another metric.
Current work is on query-set maintenance and review ergonomics. The aim is a tool small enough to keep using during delivery, not a separate platform with its own roadmap.
A versioned record of query, expected evidence, retrieved evidence, score, and failure label.
A regression-first view of what changed between two retrieval configurations.
Shared labels for misses, partial evidence, ranking errors, and unsupported answers.
Next / Project inquiry
RX / INQ
Tell us what you are building, what is getting in the way, and what good looks like. We will reply with a considered next step.