Grade a source/translation pair on independent accuracy and fluency axes (0–1) with an itemized, severity-tagged issue list — usable directly as an LLM judge in evals.
Grade a source/translation pair on two independent axes — accuracy_score (does it say what the source says?) and fluency_score (does it read as natural target-language text?) — with an itemized, severity-tagged issue list. The two-axis split matters: a fluent mistranslation and a clunky-but-faithful translation fail in different ways, and your pipeline should react differently to each.
This prompt is also this collection's eval judge — the evals on text-translation, tone-adjusted-translation, and locale-adaptation call it to grade candidate outputs (the judge pattern from the evals docs). Use it the same way in your own evals, or as a runtime QA gate before publishing machine translations.
| Entrypoint | Renders | Inputs |
|---|---|---|
system | Grading rubric + embedded output schema | target_language |
user | Delimited source + translation blocks | source_text, translation, target_language |
Render system as the system message and user as the user message.
source_text (string, required) — the original text.translation (string, required) — the candidate translation to grade.target_language (string, required) — the language the translation is supposed to be in (ISO 639-1 code or English name).{
"reasoning": "The German preserves both clauses and the %s placeholder; 'eventuell' slightly weakens 'will'.",
"accuracy_score": 0.85,
"fluency_score": 1.0,
"issues": [
{ "severity": "minor", "segment": "eventuell", "description": "Source says the email *will* arrive; 'eventuell' makes it uncertain." }
]
}
critical issue caps accuracy below 0.5; no accuracy issues means above 0.8.critical) — a broken %(count)d breaks software.additionalProperties: false.Part of the Translation Essentials collection.