This guide is for AI product owners and engineering leads who have too few real, labelled or shareable cases to test a language model feature, assistant or agent. It sits under the generative AI development service and complements the AI agent evaluation harness, which explains how to run the cases this page helps you source.
In this guide
- Why do teams reach for synthetic test data?
- Where does synthetic data mislead an evaluation?
- Which evaluation questions can synthetic cases answer?
- How do you build a mixed evaluation set, step by step?
- When should you not rely on synthetic data?
- Where AI fits
- What delivery record exists, and what does not?
- Alternatives: which way of sourcing test cases fits?
- What are the limits of this guide?
- Frequently asked questions
- Next step
Why do teams reach for synthetic test data?
Teams generate test cases because real ones are scarce, sensitive or slow to label. A new assistant has no production traffic yet, support tickets contain personal data that cannot leave a controlled environment, and expert labelling of hundreds of answers takes weeks. A language model can produce thousands of plausible questions, documents and conversations in an afternoon.
Synthetic cases also reach places real traffic rarely goes. A team can ask for empty search results, contradictory records, long multi-part requests, prompt injection hidden in a document or questions that sit just outside the assistant's permitted scope. Those rare cases matter most for safety, and waiting for them to appear in production is the wrong order.
The trouble starts when the same generated set is then used to answer a different question: how good is the feature for real users? That question needs a sample of what real users ask, and a generator only knows what it was prompted to imagine.
Where does synthetic data mislead an evaluation?
Five failure patterns explain most of the gap between a strong synthetic score and a weak launch. Each has a check a team can run before trusting the number.
- Generator and judge share blind spots. When one model family writes the cases, answers them and grades them, the evaluation measures agreement with itself. Research on using language models as judges reports a self-enhancement bias, where a judge can favour answers written by its own model. Check: grade a sample with a different model and with a human reviewer, and compare.
- Cases are too clean. Generated questions tend to be well formed, complete and polite. Real users write fragments, mix languages, paste screenshots as text and ask two things at once. Check: put twenty real questions next to twenty generated ones and see whether a reviewer can tell them apart.
- The spread is too narrow. Generated sets cluster around the typical case, so the tails that break a system are under-represented. A published scorecard for evaluating synthetic medical data lists representativeness and diversity among the properties to test before such data is used. Check: compare the distribution of length, topic and difficulty against whatever real sample you have.
- The expected answer is wrong. If a model writes the reference answer, every error in that answer becomes a false failure or a false pass. Check: have a domain owner review the expected answers for every case that gates a release.
- The cases leak. Generated cases that end up in prompts, few-shot examples, retrieval indexes or fine-tuning data make later scores look better than they are. A survey of synthetic data practice names evaluation contamination as one of the main open challenges. Check: keep the evaluation set versioned and separate, and search training and prompt material for its cases before each run.
Which evaluation questions can synthetic cases answer?
The matrix below is the decision rule we use. Read each row as a question the evaluation must answer, then see whether generated cases are enough.
| Evaluation question | Synthetic cases alone | Real-case anchor needed | Rule of thumb |
|---|---|---|---|
| Does the output keep the format, schema and length rules? | Yes | No | Generate widely; failures are easy to verify |
| Does it refuse, escalate or stay in scope when it should? | Mostly | A few real borderline cases | Generate adversarial probes, add real near-misses |
| Does it resist prompt injection and data leaks? | Yes, as probes | Red-team review of results | Treat as a security test, not a quality score |
| Did a change break cases that worked before? | Yes, if the set is frozen | Frozen real cases too | Freeze both sets; compare case by case |
| How accurate is it for real users? | No | Yes, reviewed sample | Only real traffic or real records answer this |
| Where should the release threshold sit? | No | Yes | Set thresholds on real cases, before looking at results |
The pattern is simple. Synthetic cases are strong where a failure is self-evident or where the goal is breadth. They are weak wherever the answer depends on how real people phrase, mix and misread things, and on what a correct answer is worth to the business.
How do you build a mixed evaluation set, step by step?
-
Write the evaluation questions first
List what the release decision depends on: format, scope, safety, regression, accuracy. Each question gets its own slice of the suite and its own pass rule.
-
Collect a real anchor set
Pull a small, reviewed sample of real requests or records, masked where personal data is involved. Even a few dozen cases per important task beat thousands of invented ones for the accuracy question.
-
Generate to fill named gaps
Prompt the generator for specific gaps the anchor set misses, such as rare intents, edge-case documents or attacks. Record the prompt, the model and the date with each generated batch.
-
Use a different model, or a human, to check
Do not let the generator grade itself. Review the expected answers for every case that gates a release, and spot-check the rest.
-
Label every case by origin
Tag each case real, masked real or synthetic, and report scores per origin. A feature that passes synthetic cases and fails real ones has a realism problem, not a quality win.
-
Freeze, version and isolate
Keep the suite out of prompts, retrieval indexes and training data. Version it with the code so a change and its tests move together.
-
Feed production back in
After launch, turn reviewed real failures into new cases. Over time the real share of the suite should grow and the synthetic share should shrink to probes and edge cases.
When should you not rely on synthetic data?
Do not use generated cases alone to set a release threshold, to report accuracy to a customer or regulator, or to compare two vendors' models: each of those needs real cases that both sides accept. Avoid them where the generator is the same model as the one under test and no independent check is possible.
They are also a poor fit when the domain depends on expert judgement the generator lacks, such as legal, medical or financial interpretation. In those cases the money is better spent on expert review of a smaller real set. The responsible AI and MLOps service covers that review and monitoring work in production.
Where AI fits
AI does the volume work: drafting candidate cases for named gaps, paraphrasing real questions into variants, proposing adversarial probes and clustering failures after a run. Engineers still own the evaluation questions, the anchor set, the expected answers for gating cases and the decision to ship. Netbase works with commercial and open-weight models, chosen per project, so the generator and the judge can come from different families.
- In delivered work
RAG knowledge assistant
A retrieval-augmented assistant that answers from company documents, the kind of feature whose evaluation needs real document questions next to generated ones; the client is not named.
- In delivered work
MLOps pipeline
A delivered pipeline for versioning, deploying and monitoring models, where a versioned and isolated evaluation set belongs; the client is not named.
- In delivered work
WhatsApp AI chatbot with CRM integration
A chatbot on OpenAI language models connected to WhatsApp Business and a CRM; the client is not named.
- Available capability
Mixed evaluation set
The case-origin matrix and the seven steps as described on this page; not yet tied to a published case.
What delivery record exists, and what does not?
- What exists. Netbase has delivered retrieval-augmented knowledge assistants, document AI and MLOps pipelines for clients that are not named, an AI chatbot for WhatsApp Business built on OpenAI language models for an unnamed client, and the named 4over4 recommendation engine, which suggests products from browsing history and previous purchases. It works with the major commercial and open-source models, chosen per project. Most Netbase projects are delivered on fixed-price contracts.
- What does not. No published Netbase case describes a synthetic evaluation programme, and no score, case count, time or cost from client work is offered here. The matrix and the steps are method guidance.
Alternatives: which way of sourcing test cases fits?
| Approach | Strength | Weakness | Choose it when |
|---|---|---|---|
| Real, reviewed cases only | Measures what users actually do | Slow, scarce, may hold personal data | The feature already has traffic or records |
| Masked real cases | Realistic and shareable | Masking can remove the hard parts | Personal data blocks raw use |
| Synthetic cases only | Fast, broad, covers rare cases | Cannot prove real-world accuracy | Early prototype or safety probes |
| Mixed set, labelled by origin | Breadth plus a trustworthy anchor | Needs discipline to keep sets apart | A release decision is coming |
Selection criteria: how soon the decision is due, whether real records can be used, how costly a wrong answer is, and whether an independent reviewer is available. For most teams with a launch ahead, the mixed set is the default; the others are stages on the way to it. The same discipline applies to training data, covered in preparing fine-tuning data, and to model changes, covered in upgrading LLM versions without regressions.
What are the limits of this guide?
- It covers evaluation and testing data for language model features and agents, not synthetic data for training models or for sharing datasets under privacy rules.
- The rule-of-thumb column is method guidance, not a statistical standard; regulated domains may set their own requirements.
- The findings on judge bias and contamination come from the cited research, not from Netbase client work.
Plan the next step with a Netbase consultant
Frequently asked questions
No. Generated cases are useful for coverage, format checks and adversarial probes, but only a reviewed sample of real requests shows how accurate a feature is for real users. Keep both, label each case by origin and set release thresholds on the real cases.
There is no universal number. Start with a few dozen reviewed real cases for each task that gates a release, check that scores on them track the synthetic scores, and grow the real share as production traffic arrives.
Yes, it can inflate scores, because a model may favour answers that look like its own. Use a different model family as the judge where you can, and have a human review the expected answers for every case that decides a release.
It reduces it, but generated cases can still echo real records if the generator was prompted with them. Treat a synthetic set built from real data with the same access rules until someone has checked it.
Next step
Send us the AI feature you plan to release, the evaluation questions it must pass and the real cases you can use, and we will book a solution review to scope a mixed evaluation set and its release gate.
Related services and solutions
Generative AI development with evaluation and human review Netbase builds generative AI features for product and operations teams: drafting, summarising, rewriting and content generation inside the software your people and customers already use. Every feature ships with an evaluation set, a human review step where output matters and limits on cost. Generative AI is a capability we are growing, and we label its maturity honestly.
Learn More
Enterprise AI knowledge assistants: RAG engineering with access control Netbase engineers retrieval-augmented generation (RAG) over company knowledge: the ingestion, search, permission checks, cited answers and evaluation that let an internal assistant or a website RAG chatbot answer from your own documents. It is a growth capability with access control designed in from the first prototype, and Netbase has delivered a RAG knowledge assistant for an unnamed client.
Learn More
Responsible AI and MLOps for AI in production MLOps and responsible AI keep an AI feature trustworthy after launch. Netbase's practice for monitored, governed AI in production covers evaluation before every release, versioning of models, prompts and data, monitoring of quality and cost, and incident controls with a named owner. It is a growth capability, backed by an MLOps pipeline delivered for an unnamed client.
Learn More
AI knowledge assistant: answers from company knowledge, with sources and access control An AI knowledge assistant is an internal tool that answers employees' questions from your company's own documents and systems, cites the source behind every answer and shows each person only what they may see. Netbase offers it as a growth capability, designed with retrieval, evaluation and human review from the first pilot, and has delivered one for an unnamed client.
Learn More
Work with Netbase remotely
Every Netbase engagement is delivered remotely, so clients in any country and any industry can work with us; Netbase has worked with clients in 80 countries. Contracts and invoices are issued by Netbase JSC, and payment is made by bank transfer to Netbase JSC's company account or PayPal Business. Talk to the CEO, Huy Nguyen (David), on WhatsApp or by email.
Discuss a project
Netbase JSC helps organizations design, build, modernize, and operate digital products and AI-enabled business systems.project@netbasejsc.com
+84 937 869 689
91 Nguyen Chi Thanh, Dong Da, Hanoi, Vietnam
Get in touch
Tell us what you want to build, modernize, or operate.