Loading
Loading
Case studies
A production evaluation and policy layer for generative AI features across multiple product teams.
Teams shipped generative features without a shared evaluation harness, making quality and safety reviews inconsistent.
Anonymized B2B product company introducing AI assistants into customer workflows.
Central evaluation service, prompt/version registry, offline + online eval jobs, and policy hooks before promotion to production.
Balancing developer speed with mandatory evaluation gates that product teams would actually use.
Secret handling for model providers, PII redaction in traces, and access control on evaluation datasets.
Platform team delivered SDKs and CI templates; security co-owned the promotion checklist.
Cut promotion incidents related to prompt regressions and established a measurable quality baseline per assistant.
Evaluation must be a paved road, optional tooling is ignored under deadline pressure.
Engagement write-up
Several product teams had shipped generative AI features into customer workflows within a few months of each other. Each team had its own way of deciding a change was safe to release. One ran a spreadsheet of hand-picked prompts before every deploy. Another relied on a senior engineer reading a sample of outputs. A third had no gate at all and learned about regressions from support tickets.
None of this was negligent. It was what happens when a capability arrives faster than the engineering discipline around it. The symptoms were familiar: a prompt tweak that improved one scenario quietly broke three others, a model provider upgrade changed tone and formatting overnight, and nobody could say with confidence whether this week's assistant was better or worse than last month's.
Leadership did not want a central review board that every change had to queue behind. The teams did not want another tool they would be asked to adopt and then ignore. That tension shaped everything that followed.
We spent the first two weeks with the teams rather than on architecture. We collected every prompt, retrieval configuration, and model setting in production, and mapped who changed what and how often. Two findings drove the design.
First, most regressions came from changes nobody thought of as risky: a system prompt edit, a new chunking strategy in retrieval, a temperature change. The evaluation gate had to cover the whole configuration, not just the model.
Second, the people who knew what a good answer looked like were domain experts in the product teams, not engineers. Any evaluation that depended on engineers writing test cases would decay the moment those engineers moved on.
We considered buying an evaluation product outright. We recommended against it for the core, because the hard part was never the dashboard. It was the golden data, the ownership model, and the integration with how teams already shipped. We did use off-the-shelf pieces for tracing and storage.
We introduced a single versioned bundle per assistant: model identifier, system prompt, retrieval settings, tool definitions, and generation parameters. Every evaluation result and every production trace references a bundle version. When quality moved, we could finally answer "what changed" in one lookup.
assistant: claims-summary
version: 2026-08-14.3
model: provider-x/large-2026-06
prompt_ref: prompts/claims-summary@41
retrieval:
index: claims-kb-v7
top_k: 8
chunking: semantic-512
generation:
temperature: 0.2
max_tokens: 900
eval_suite: suites/claims-summary-coreEach assistant got a golden dataset curated by the product team's domain experts, with a lightweight review workflow. Engineers owned the harness; experts owned the cases and the rubric. We seeded each set from real, redacted production traffic so it reflected what customers actually asked, not what engineers imagined they would ask.
Human review does not scale to every pull request, so we used model-graded rubrics for the bulk of scoring. We did not trust them blindly. Each grader was calibrated against a sample of human-labelled answers, and we tracked agreement over time. When agreement dropped, the grader was treated as broken until recalibrated.
A fast core suite runs on every change and fits inside the normal CI time budget, so nobody is tempted to skip it. A broader suite, including adversarial and safety cases, runs nightly and before any model upgrade. Online signals from production, such as user corrections and escalation to a human, feed back into the golden sets.
We deliberately left fine-tuning pipelines and cost optimization out of scope. Both mattered, but bundling them in would have slowed adoption of the part that mattered most.
Prompt and configuration regressions stopped reaching production unnoticed, because every change now had to show its scores against a baseline before promotion. Teams could compare assistant versions on the same golden set, which turned arguments about quality into a conversation about evidence.
Model provider upgrades went from nervous events to routine ones: run the broad suite, review the differences, decide. Security and compliance had a clear record of what each assistant version was, what it was tested against, and who approved it.
The signals the organization now watches are grader-to-human agreement, per-assistant quality scores by rubric dimension, override frequency on the promotion gate, and the share of production traces that later became golden cases.
Evaluation only works as a paved road. If it is optional, it is skipped under deadline pressure, every time.
Next step
Tell us your company size, problem, and timeline. We reply with times for a 30-minute call.