CustomLabs
Topics

Evals & Observability

Shipping an AI feature without an eval suiteAn eval suite is a versioned set of test cases that measures whether outputs are good. means every prompt or model change is a guess about whether quality went up or down. This is our work on evals and the observabilityObservability captures traces of every prompt, retrieval, tool call, and response for debugging. that catches regressions after ship. Both belong in CI.

Start with The Eval Stack if you ship AI features. It's for engineers who need to know whether a prompt or model change made quality better or worse.

In the Handbook

Guides#

The Eval Stack

How to know an AI system works before it ships. Read the eval layers, the checks behind them, and the ways an LLM judge lies.

21 min read Read →

Comparisons#

Insights#

Case studies#

Patterns#

Golden-set gate in CI

A fixed set of human-labelled real cases runs in CI on every prompt or model change. Each case has a specific, checkable expected property. A drop below the pass-rate threshold blocks the merge, as a failing unit test would. The team catches a regression before release and avoids a user complaint.

Read →

Trace-first observability

One trace ID follows a single request across every hop, from retrieval to each model call and tool call. The system logs enough detail to rebuild what happened. A sampled slice of traces goes to a human review queue on a regular schedule. The sample favors low-confidence or error-flagged runs. Review starts long before a complaint forces a search.

Read →

Failure modes#

Vibes-based prompt regression

Without a labelled eval set, the change was graded against whatever two or three examples the author happened to have open. That is not a test. It's an anecdote. A regression anywhere outside that narrow, unrepresentative sample ships straight to production undetected.

Read →

Judge prefers its own output

A judge from the same model family as the generator tends to rate that family's output favorably. This is self-preference bias. A single vague rubric ('is this good?') collapses almost everything to a passing score. The eval suite then cannot tell a real regression from noise.

Read →

Source: https://customlabs.io/topics/evals-observability/

↑↓ navigate ↵ select esc close