Evaluate quality per unit and region
Key takeaway
A global average can hide weaker outcomes for specific regions, languages or exceptions.
Lessons in this path
How it works
Build sets by unit, language and severity. Use business reviewers and document differences before aggregating scores.
Worked example
An assistant cites good English evidence but uses a wrong product policy for another region. That region needs its own acceptance.
How do you build a test set that reveals differences?
A test set (also evaluation dataset) is a collection of realistic inputs with an expected answer or rating criterion. To reveal regional differences it must be stratified: each region, language and critical case group gets a sufficient number of its own cases, instead of the largest region dominating the set. Results are reported per stratum first and only then, if at all, aggregated.
Cases should come from the practice of each region and be selected by local experts. A centrally translated test set measures translation quality, not regional domain knowledge such as local product variants, standards or contract terms.
| Stratum | Content | Rated by |
|---|---|---|
| Typical cases per region | Frequent requests in local language | Regional experts |
| Regional special rules | Local standards, product variants, deadlines | Regional experts |
| Critical cases | Safety, liability, health, high amounts | Experts plus second review |
| Edge cases | Ambiguous questions, missing sources, mixed language | Project team with business |
Step by step to regional approval
The sequence ensures reviewers judge comparably and results are reliable.
- Name one responsible expert per region who selects cases and accepts results.
- Write a rating guideline with examples of “correct”, “partially correct” and “wrong” and carry it into all languages.
- Run a calibration round: several reviewers rate the same cases; discuss deviations and sharpen the guideline.
- Carry out the rating and report results per stratum, including the number of cases.
- Decide approval per region: approve, approve with restriction (for example without the critical case group) or improve.
State the case count with every rate. Nine out of ten is something different from nine hundred out of a thousand.
Going deeper: statistics, automation and error analysis
Small strata produce uncertain rates. For weighty decisions, report a confidence interval or at least the case count, and avoid rankings between regions whose differences lie within noise. For repeated runs, automated rating is worthwhile, for example by matching expected sources or using a rating model. Calibrate such methods per language against human judgements, since their quality can vary by language.
More valuable than the rate is error analysis: group errors by cause, such as wrong source retrieved, correct source misrepresented, regional rule unknown, language switched. Each cause has a different remedy: improve retrieval, adjust the instruction, add a knowledge source or restrict the function for that region.
Example: Warranty terms in three markets
Example (fictional): a home appliance manufacturer tests a service assistant in Germany, France and Poland. The overall score looks good. Stratified, it turns out that in Poland the assistant often answers warranty questions with the German terms, because the Polish ones exist only as a scanned PDF without a text layer and are therefore not found.
The Polish expert approves the region with a restriction: warranty questions are handed to staff until the source is processed. After text recognition and a rerun of that stratum, full approval follows.
Common mistakes
- Translating a central test set instead of collecting regional cases.
- Reporting only the overall rate.
- Letting reviewers judge without a shared guideline and calibration.
- Calibrating automated rating in one language and applying it to all.
- Building the test set once and never adding new failure cases from operations.
Frequently asked questions
How many cases does a region need?
As rough orientation, several dozen per relevant stratum, more for critical case groups. What matters is that the count fits the weight of the decision.
May a region with weaker results still launch?
Yes, if the weak case groups are excluded or handed to humans and this is documented.
Where do test cases come from if real data may not be used?
Experts can write realistic cases modelled on real ones, or real cases are anonymised after approval by the privacy team. What matters is that the test set reflects the region’s actual distribution of requests and special cases.
Try it yourself
Create a results matrix with at least two regions and one critical exception.
Check your result
Differences are resolved before rollout instead of hidden in an average.