AI Agent Assurance for Your Agent Deployments
Agent Assurance Tests How Your Agent Actually Behaves across Workflows, Tools, and Actions to Catch Failures and Vulnerabilities.
npm install -g @testmuai/rook@latest
What Is BLEU Score? The BLEU Metric, Formula and Limits in NLP
The BLEU metric scores n-gram overlap with reference text. See the BLEU score formula, a worked example, SacreBLEU, score bands and where BLEU misleads in NLP.
OVERVIEW
Scored against expert MQM ratings at the 2022 Conference on Machine Translation, the BLEU score came last of 13 reference-based metrics, according to the Results of WMT22 Metrics Shared Task. The organizers put their verdict in the paper's title: "Stop Using BLEU."
Translation research had leaned on it for two decades. A 2021 meta-evaluation of 769 machine translation papers published from 2010 to 2020 found BLEU scores in 98.8% of them. In 74.3% of the papers, BLEU was the only evaluation, with no other metric and no human evaluation.
A from-scratch script and SacreBLEU both score four invoice sentences below, which shows what the BLEU score counts and where that count stops tracking quality.
Overview
BLEU score (Bilingual Evaluation Understudy) is an automatic metric that rates a candidate text by how many of its word sequences also appear in one or more human reference texts. It multiplies a brevity penalty by the geometric mean of clipped 1-gram to 4-gram precisions and returns 0 to 1, usually reported as 0 to 100.
Is BLEU precision or recall?
- Clipped n-gram precision: BLEU is a precision metric. Each candidate n-gram earns credit only as many times as it occurs in a single reference, so the original 2002 paper's candidate of seven repeated "the" tokens scores 2/7 against "The cat is on the mat", not 7/7.
- Brevity penalty: BLEU's brevity penalty multiplies the score by a factor below 1 when the candidate is shorter than the closest reference length. Google's Cloud Translation documentation says the penalty compensates for BLEU having no recall term. Recall term in BLEU: No (precision only).
- Corpus-level design: Corpus BLEU pools clipped n-gram counts across a whole test set before it divides. Google's Cloud Translation documentation warns that single sentences can get very low BLEU scores even when they capture most of the meaning. Reliable on single sentences: No (corpus metric).
- Score comparability: A BLEU score is comparable only with scores from the same test set, the same language pair and the same MT engine, according to Microsoft's Custom Translator documentation. Comparable across test sets: No (the Hugging Face BLEU card says the same).
- SacreBLEU: SacreBLEU is Matt Post's BLEU implementation from his 2018 WMT paper, which found differences of up to 1.8 BLEU between common configurations. SacreBLEU tokenizes the reference itself, uses the 13a tokenizer by default and prints a signature string that records every setting behind a score.
- Meaning reversal: BLEU compares token overlap instead of meaning, so inserting "not" barely changes the n-gram counts. Under SacreBLEU's sentence defaults on 2026-12-01, "The invoice was not sent to the customer at 9 am today." scored 76.1 against the same sentence without "not", and a correct paraphrase scored 9.3. Compares meaning: No (token overlap only).
What Is BLEU Score?
BLEU score is an automatic metric for machine translation that counts how many 1-word to 4-word sequences of a candidate text also occur in human reference translations. It caps each count at the reference's own count and scales the result down when the candidate is too short. It ranges from 0 to 1; most tools print it from 0 to 100.
Papineni, Roukos, Ward and Zhu at the IBM T. J. Watson Research Center introduced the BLEU metric in BLEU: a Method for Automatic Evaluation of Machine Translation at ACL 2002. They presented it "as an automated understudy to skilled human judges," for times when evaluations have to be quick or frequent, which is where the name Bilingual Evaluation Understudy comes from.
In that original study, BLEU tracked human judgment at the system level, with a correlation of 0.99 for monolingual judges and 0.96 for bilingual judges across five systems. The paper also warns that few translations reach 1, "even a human translator," and that more reference translations per sentence raise the score.
| Ingredient | What it does | What it stops |
|---|---|---|
| N-gram precision | Counts candidate word sequences of length 1 to 4 that occur in a reference | Credit for words and phrases no reference contains |
| Clipping | Caps each n-gram's credit at its highest count in any single reference | Repeating a common word to inflate precision |
| Geometric mean | Combines the four precisions, so every order has to be above 0 | A high score from the right words with no 4-word sequence matched |
| Brevity penalty | Multiplies the score by a factor below 1 when the candidate is shorter than the reference | A short, safe candidate scoring well by saying little |
The BLEU Score Formula, Term by Term
The 2002 paper defines BLEU as the brevity penalty times the exponential of a weighted sum of log precisions. With N = 4 and uniform weights of 1/4, its baseline setting, that sum is the geometric mean of the 1-gram to 4-gram precisions:
BLEU = BP x exp( sum over n = 1..N of w_n x log p_n )
p_n = clipped n-gram matches / candidate n-grams
w_n = 1 / N (N = 4 in BLEU-4)
BP = 1 if c > r
BP = exp(1 - r / c) if c <= r
c = candidate length in tokens
r = closest reference length in tokensThe only text normalization the original paper performed before counting was case folding. Every other preprocessing choice came later and varies by tool, which matters in the SacreBLEU section below.
Modified N-Gram Precision and Clipping
Plain precision would divide matching candidate words by all candidate words, and a candidate made of one common word repeated would score perfectly. Papineni's fix is the clipped count. Find "the maximum number of times a word occurs in any single reference translation," and cap each candidate word's count at that maximum. Then add up the clipped counts and divide by the unclipped total.
The paper's own example is a candidate of seven "the" tokens against "The cat is on the mat" and "There is a cat on the mat." The word appears at most twice in one reference, so modified unigram precision is 2/7, "even though its standard unigram precision is 7/7."
- Same rule for every order - bigrams, trigrams and 4-grams are clipped against their highest count in a single reference, then summed and divided by the number of candidate n-grams of that length.
- Maximum over references - adding a second reference lets more distinct n-grams match, but a word used twice in each reference still earns at most two credits.
- Long candidates pay here - extra words that no reference contains lower the precision, which is why the paper adds no separate penalty for length on the long side.
The Brevity Penalty
Precision alone rewards a candidate that says little: four correct words out of four is 100% precision. The brevity penalty is the counterweight, and Google's Cloud Translation guide to BLEU states its purpose directly: it "compensates for the fact that the BLEU score has no recall term."
The penalty is 1 when the candidate length c is greater than the reference length r, and exp(1 - r/c) otherwise. For r, Papineni used the reference length closest to the candidate, which the paper calls the "best match length."
The paper computes the penalty over the whole test corpus, because averaging per-sentence penalties would punish length deviations on short sentences "harshly." Pair D in the worked example below shows the per-sentence version at work: 4 tokens against 11 gives a penalty of 0.17.
Why Does BLEU Use a Geometric Mean of 1-Gram to 4-Gram Precisions?
Each n-gram order measures something different. Google's guide says "Unigrams account for adequacy while longer n-grams account for fluency of the translation." The 1-gram precision asks whether the right words are present, and the 4-gram precision asks whether they come in a fluent order.
A geometric mean multiplies the precisions, which makes it strict. The 2014 study by Chen and Cherry on smoothing sentence-level BLEU spells out the consequence. If a sentence's 4-gram precision is 0, "then the BLEU score of the entire sentence is 0, no matter how many 1-grams or 2-grams are matched."
How to Calculate BLEU Score: A Worked Example in Python
To make every term visible, a short stdlib Python script computed sentence BLEU from scratch and then checked it against the SacreBLEU package. The run took place on 2026-12-01, using Python 3.14.6 and sacrebleu 2.6.0, on one reference sentence and four hand-written candidates chosen to illustrate the mechanics.
- Pair A - a correct paraphrase that uses different words for the same fact.
- Pair B - the reference's own words rearranged into a sentence that makes no sense.
- Pair C - the reference with "not" inserted, so the meaning is reversed.
- Pair D - a truncated version that keeps only the first four words.
The from-scratch part splits on whitespace, clips counts per order, takes the geometric mean and applies the closest-reference brevity penalty. Its optional smoothing adds 1 to the matches and totals for orders above 1, the rule SacreBLEU calls add-k with k = 1.
# bleu_demo.py (excerpt): sentence BLEU, stdlib only
import math
from collections import Counter
def ngrams(tokens, n):
return Counter(tuple(tokens[i:i + n])
for i in range(len(tokens) - n + 1))
def stats(cand, refs, max_n=4):
"""Clipped matches and totals per order."""
c_tok = cand.split()
r_toks = [r.split() for r in refs]
matches, totals = [], []
for n in range(1, max_n + 1):
c_counts = ngrams(c_tok, n)
max_ref = Counter()
for rt in r_toks:
for g, k in ngrams(rt, n).items():
max_ref[g] = max(max_ref[g], k)
clipped = sum(min(k, max_ref[g])
for g, k in c_counts.items())
matches.append(clipped)
totals.append(max(len(c_tok) - n + 1, 0))
c_len = len(c_tok)
# closest reference length (ties go to the shorter)
r_len = min((abs(len(rt) - c_len), len(rt))
for rt in r_toks)[1]
return matches, totals, c_len, r_len
def bleu(matches, totals, c_len, r_len, smooth=False):
if matches[0] == 0:
return 0.0, 0.0
log_p = 0.0
for n, (m, t) in enumerate(zip(matches, totals), 1):
if smooth and n > 1:
m, t = m + 1, t + 1
if m == 0 or t == 0:
return 0.0, 1.0
log_p += math.log(m / t) / len(matches)
bp = (1.0 if c_len > r_len
else math.exp(1 - r_len / c_len))
return 100 * bp * math.exp(log_p), bp
# ... the sacrebleu comparison and printing are cut.
# sacrebleu scorers used for the last two columns:
# BLEU(tokenize="none", smooth_method="add-k",
# smooth_value=1, effective_order=True)
# BLEU(effective_order=True) # sentence defaultThe run printed the candidates, the clipped counts per order and four versions of each sentence score:
sacrebleu 2.6.0, Python 3.14.6
Reference:
The invoice was sent to the customer at 9 am today.
A (paraphrase, correct):
The customer got the invoice by email at 9 this morning.
B (word salad):
sent to the customer at 9 am today the invoice was.
C (negated, wrong):
The invoice was not sent to the customer at 9 am today.
D (too short):
The invoice was sent.
Clipped n-gram matches / candidate n-grams
pair 1-gram 2-gram 3-gram 4-gram BP
A 6/11 1/10 0/9 0/8 1.00
B 8/11 6/10 5/9 4/8 1.00
C 11/12 9/11 7/10 5/9 1.00
D 3/4 2/3 1/2 0/1 0.17
Sentence BLEU (0 to 100)
pair ours ours sacre sacre
raw +1 none+1 13a/exp
A 0.0 18.2 18.2 9.3
B 59.0 62.7 62.7 68.7
C 73.5 76.0 76.0 76.1
D 0.0 11.4 11.4 17.4Pair C shows the arithmetic end to end. Its precisions are 11/12, 9/11, 7/10 and 5/9; their logs average to about -0.308, and exp(-0.308) is 0.735. At 12 tokens it is longer than the 11-token reference, so the brevity penalty is 1.00 and the raw score is 73.5, rising to 76.1 under SacreBLEU's defaults.
- The ours +1 and sacre none+1 columns agree - with the same whitespace tokens and the same add-one smoothing, the from-scratch code and SacreBLEU match to one decimal on all four pairs.
- The sacre 13a/exp column moves - SacreBLEU's default 13a tokenizer and exponential smoothing change every score, which the tokenization section explains.
- Pair D - three of its four words match, but 4 tokens against 11 gives a brevity penalty of 0.17, and with no matching 4-gram the raw score is 0.0.
Sentence BLEU vs Corpus BLEU
Report corpus BLEU for a system, and treat sentence BLEU as a debugging aid. The BLEU metric was designed for a test set, and Google's guide is blunt about single sentences: "The BLEU metric performs poorly when used to evaluate individual sentences."
Corpus BLEU is not the average of sentence scores. The corpus_bleu docstring in the NLTK BLEU source explains that the original metric "accounts for the micro-average precision," summing numerators and denominators over all hypothesis and reference pairs before dividing. The guide to word error rate shows the same gap in speech recognition, between corpus WER and the average of per-utterance WERs.
Corpus BLEU vs mean of sentence BLEU (13a)
corpus BLEU over A-D: 47.6
mean sentence score: 42.9
corpus BP: 0.867 (42 vs 48 tokens)On the four sample sentences, pooled counting gave 47.6 while averaging the four sentence scores gave 42.9. The same run printed the corpus details: one brevity penalty of 0.867, from pooled lengths of 42 candidate tokens against 48 reference tokens. Pair D's shortness was spread across the whole set instead of falling on pair D's own score alone.
Smoothing: Why a Sentence BLEU Score Comes Out as Zero
Pair A, the correct paraphrase, shares no 3-gram or 4-gram with the reference, so its raw score is 0.0. NLTK warns in exactly this case that "the BLEU score evaluates to 0, independently of how many N-gram overlaps of lower order it contains," and suggests a lower n-gram order or a smoothing function.
Chen and Cherry compared 7 smoothing techniques for sentence-level BLEU in that 2014 study. The add-one rule in the script is their Smoothing 2, from Lin and Och (2004), which "adds 1 to the matched n-gram count and the total n-gram count for n ranging from 2 to N."
- Add-one - lifted pair A from 0.0 to 18.2 and pair D from 0.0 to 11.4 in the run.
- Exponential decay - the default in SacreBLEU's command-line help, which gave pair A 9.3 with 13a tokens.
Pairs A and D with 13a tokens, by smoothing
pair none add-one exp
A 0.0 17.2 9.3
D 17.4 19.6 17.4With 13a tokens held fixed, the smoothing method alone moved pair A from 0.0 to 17.2 or 9.3. Pair D scored 17.4 with no smoothing at all, because 13a splits off the full stop and pair D then matches at every order.
The tokenizer can reorder sentences too: pair A sits above pair D with whitespace tokens and add-one smoothing (18.2 against 11.4), and below it under every smoothing method with 13a tokens. Fix the tokenizer and the smoothing method before you compare sentence scores.
Why Does Tokenization Change BLEU Scores, and What Does SacreBLEU Fix?
"BLEU is in fact a parameterized metric whose values can vary wildly with changes to these parameters," Matt Post wrote in A Call for Clarity in Reporting BLEU Scores (WMT 2018). He measured differences as high as 1.8 BLEU between commonly used configurations, averaging around 1.0, and named the main culprit: different tokenization and normalization of the reference.
Reference count moves scores too. Post scored the WMT 2017 online-B English-Finnish system with one reference and got 22.04; with two references it got 25.25.
Pair C as the 13a tokenizer splits it:
The invoice was not sent to the customer at 9 am today .The run shows the mechanism on one sentence. The 13a tokenizer, which the SacreBLEU README says "mimics the mteval-v13a script from Moses," splits the final full stop into its own token, so every candidate and the reference gain a punctuation token. Together with the switch to exponential smoothing, pair A dropped from 18.2 to 9.3 and pair B rose from 62.7 to 68.7.
Post's recommendation was to report only BLEU computed with "a metric-internal tokenization and preprocessing scheme for the reference," and to be explicit about the parameters. SacreBLEU does both: the README says it "produces the same values as the official script (mteval-v13a.pl) used by WMT," and it prints a signature with each score.
sentence signature:
nrefs:1|case:mixed|eff:yes
tok:13a|smooth:exp|version:2.6.0
corpus signature:
nrefs:1|case:mixed|eff:no
tok:13a|smooth:exp|version:2.6.0Each field of these signatures records one setting that changes the number:
- nrefs - the number of references per sentence, which raised Post's English-Finnish score by 3.21 points when it went from one to two.
- case - mixed or lowercased; Post found case handling the biggest single source of variation, and many papers do not say which they used.
- eff - effective order. When it is on, SacreBLEU averages only the n-gram orders a sentence is long enough to contain, so a sentence under four tokens is not scored 0 for lacking 4-grams. The script turned it on for sentence scores; the corpus signature records eff:no.
- tok - the tokenizer: 13a by default for most languages (zh, ja-mecab and ko-mecab for Chinese, Japanese and Korean), with others such as intl, char and the flores tokenizers listed in the README.
- smooth - exp, floor, add-k or none; with 13a tokens, add-one and exp put pair A at 17.2 and 9.3.
- version - the SacreBLEU release, so a later reader can reproduce the exact computation.
The README is plain about the purpose: "It's strongly recommended to share these signatures in your papers." The Hugging Face evaluate BLEU card also defaults to tokenizer_13a, which it calls equivalent to the mteval-v13a script used by WMT.
In Python, the corpus score and its signature come from the BLEU class. These lines are the corpus part of the script that produced the numbers above:
# bleu_demo.py, corpus part (printing trimmed)
from sacrebleu.metrics import BLEU
hyps = [c for _, _, c in PAIRS] # candidates A-D
refs = [REF] * len(hyps) # one reference each
metric = BLEU() # 13a tokens, exp smoothing
result = metric.corpus_score(hyps, [refs])
# result.score: 47.6, result.bp: 0.867 (rounded)
# metric.get_signature() -> the corpus signatureFrom the command line, the README's example comes down to sacrebleu ref.detok.txt -i output.detok.txt -m bleu once its score-only flags are dropped, and it expects detokenized reference and output files.
How to Read a BLEU Score
Read a BLEU score against its own test set, language pair and settings, never against a number from another paper. Google's Cloud Translation guide offers this table as "a rough guideline" for translation scores expressed as percentages:
| BLEU score (%) | Google's interpretation |
|---|---|
| Below 10 | Almost useless |
| 10 to 19 | Hard to get the gist |
| 20 to 29 | The gist is clear, but has significant grammatical errors |
| 30 to 40 | Understandable to good translations |
| 40 to 50 | High quality translations |
| 50 to 60 | Very high quality, adequate, and fluent translations |
| Above 60 | Quality often better than human |
The bands assume corpus scores on translation. The 2002 paper's human translator scored 0.3468 against four references and 0.2571 against two, on about 500 news sentences. The same human output lands in different bands depending on how many references the test set carries.
Paraphrase A with a second reference added
ours +1: 40.3 sacrebleu 13a/exp: 40.6The run repeats that effect at sentence scale: one more valid wording took paraphrase A from 9.3 to 40.6 under SacreBLEU defaults. The candidate text was identical in both runs.
- Same test set only - Microsoft's Custom Translator BLEU documentation says a comparison "is only justifiable when BLEU results are compared with the same Test set, the same language pair, and the same MT engine."
- Small gaps need people - the ACL 2020 study Tangled up in BLEU found that BLEU differences of 1 to 2 points matched true improvements judged by humans "about half the time." Its authors ask for manual evaluation before such a gap supports an important conclusion.
- Leaderboards follow the same rule - a score copied from another setup carries that setup's references and preprocessing, the comparability problem covered for model leaderboards in LLM benchmarks.
Where Does the BLEU Metric Mislead?
BLEU counts shared token sequences, so it misleads whenever meaning and surface overlap come apart. Microsoft's documentation states that its matches "are position independent" and that "Intelligibility and grammatical correctness aren't taken into account."
- One word flips the polarity - Google's guide warns that "Dropping a single word like not can change sentence polarity." Pair C adds that word and reverses the claim, yet scored the highest of the four candidates, because 11 of its 12 tokens still match.
- All words weigh the same - Google's example: a dropped "a" costs as much as replacing NASA with ESA, since BLEU does not tell content words from function words.
- Order beyond four words is invisible - the 2006 EACL paper Re-evaluating the Role of Bleu in Machine Translation Research notes that BLEU "places no explicit constraints on the order that matching n-grams occur in." Its authors estimated that some translations allow more than 10^73 reorderings that BLEU scores about the same.
- Nonsense can score well - pair B, the reference's words in a broken order, kept 4 of its 8 4-grams with whitespace tokens and scored 59.0 raw, and 68.7 under SacreBLEU defaults. Google notes that BLEU "often imposes only a small penalty for ungrammatical sentences."
The 2006 authors drew the strongest conclusion from this: "an improved Bleu score is neither necessary nor sufficient for achieving an actual improvement in translation quality." When a generated answer must also stay true to retrieved documents, overlap with a reference cannot check that; claim-level measures such as faithfulness, covered in RAG evaluation metrics, can.
BLEU Score in NLP Beyond Translation
Outside machine translation, the evidence for BLEU is weak. Ehud Reiter's 2018 review in Computational Linguistics, A Structured Review of the Validity of BLEU, covered 284 correlations reported in 34 papers.
Reiter concluded that the evidence supports BLEU "for diagnostic evaluation of MT systems," the job it was proposed for. The same evidence "does not support using BLEU outside of MT, for evaluation of individual texts, or for scientific hypothesis testing." His reasoning: BLEU only computes word overlap with a reference, so its value rests on the assumption that overlap predicts real-world usefulness.
- Open-ended replies - a chatbot or model answer has many valid wordings, so a single reference punishes the correct ones that differ from it, the problem described in testing non-deterministic AI outputs. Dialogue-specific evidence is gathered in chatbot evaluation.
- Single items - a per-reply score is the sentence BLEU case covered above: it can drop to 0 without smoothing and moves with the smoothing and tokenizer chosen, so score a set of replies together.
- Meaning versus tokens - the Hugging Face card's limitations section says BLEU compares token overlap "instead of comparing meaning," and that scores are not comparable across datasets or across languages.
- Reference quality - if you do score against references, curate several per item and version them as a golden dataset, since one extra reference moved paraphrase A from 9.3 to 40.6 in the run above.
BLEU vs ROUGE
BLEU asks how much of the candidate appears in the references and adds a brevity penalty because it has no recall term. ROUGE turns the question around: it is recall-oriented, built for summaries, and asks how much of the reference the candidate covers. Its variants, formulas and settings are covered in ROUGE score; translation work usually reports BLEU, and summarization work ROUGE.
Translation Metrics to Use Alongside or Instead of BLEU
For translation, the WMT22 metrics task compared BLEU with character-level and neural metrics on the same expert ratings. Its abstract reports "the superiority of neural-based learned metrics" and that "overlap metrics like BLEU, SPBLEU or CHRF correlate poorly with human ratings."
| Metric | What it compares | Kind | WMT22 result |
|---|---|---|---|
| BLEU | Word n-grams of the output against the reference | Overlap | Last of 13 reference-based metrics |
| chrF | Character n-grams instead of word n-grams against the reference | Overlap | Among the three lowest reference-based metrics, just above BLEU and F200SPBLEU |
| COMET | A learned representation of the output against source and reference embeddings | Neural, fine-tuned | COMET-22 and MetricX XXL performed best at both segment and system level |
For open-ended model output, the usual alternative is a judge model scoring against written criteria: see G-Eval for one scoring method and LLM-as-a-judge for judge design. The wider set of metrics for model output, from reference scores to judges, is compared in LLM evaluation. MT-Bench, a benchmark of two-turn questions, uses a judge model the same way to rate the answers of chat assistants.
How Do You Verify What an AI Agent Changed?
Suppose an agent test ends in an expected-output assertion: the reply matched the expected string, exactly or above a similarity threshold. Read pair C as that assertion and the reference as the expected status line: the negated reply, the highest-scoring of the four, would clear a loose threshold while saying the invoice never went out.
Even an exact match is a weak test oracle for an agent that acts. Whether the invoice was sent is a fact in the billing system, so the check has to read that system; the measures for scoring recorded tool calls are defined in AI agent evaluation metrics. No model benchmark replaces that check: AgentBench scores the underlying model on its own tasks and tools, not your agent acting on your systems.
TestMu AI's Agent Assurance runs tests before release on agents that act through tools, files and APIs. It derives scenarios from the agent's source code, a PRD or a spec, runs the agent, and checks each acceptance criterion against evidence from the run: observed tool calls, changed files and records. No BLEU score or model benchmark comes out of it; it tests your agent, not the underlying model.
- Check kinds - a criterion is graded in one of three ways: a deterministic rule such as a regex match, a read of the changed system (
check: mcp_probe), or a model judge. Each check runs against evidence, never against the agent's account of its work. - Verdicts - the possible outcomes are Pass, Fail and Unable to Verify; the last of these is reported apart instead of being counted as a failure.
Most eval and observability tools score what your agent said and recorded. Agent Assurance checks what the run changed, and reports what it could not verify.
npm install -g @testmuai/rook@latestThe command installs Rook CLI from npm, which requires Node.js 20 or newer. No Node is needed for Homebrew or the shell installer, and a skill install through npx @testmuai/rook-skill calls for Node.js 22 or a later release.
The 7-day free trial comes with 10,000 credits, and paid plans are listed on the Agent Assurance pricing page. A first run is set out step by step in the Agent Assurance quickstart.
How Should You Report a BLEU Score?
Compute corpus BLEU with SacreBLEU's defaults on your full test set, publish the signature string beside the number, and compare only runs that share the test set, the references and that signature. Before calling a gap of 1 to 2 points an improvement, have people read a sample of the outputs.
Add a neural metric next to BLEU, since COMET-22 and MetricX XXL led the WMT22 ranking where BLEU finished last among the 13 reference-based metrics. When the output is an action rather than a translation, the Agent Assurance documentation shows how to check the records an agent changed.
npm install -g @testmuai/rook@latest, or for a full walkthrough of the product.Was this helpful?
Authors

Samyak Goyal
Author · 05 hubs
Samyak Goyal is a Senior Member of Technical Staff at TestMu AI engineering Kane CLI, the command-line tool that runs browser automation from the terminal, where a flow described in natural language executes in a real Chrome browser and returns pass or fail with shareable proof. He is a backend engineer with 4+ years of experience, previously an SDE at Innovaccer, where he built APIs, introduced Kafka, and cut deployment from weeks to hours. Samyak also builds multi-agent systems, skill-orchestration frameworks, and a personal copilot that indexes 200+ microservice repositories.

Sirajuddin Khan
Reviewer
Sirajuddin Khan is Vice President of Product Management at TestMu AI, where he drives the company's agentic AI product strategy, building a suite of autonomous agents that includes Agentic Browsers and Agentic Visual Testing and shifting the unit of work from test execution to autonomous outcomes. One of the company's earliest product leaders, he has owned the roadmap for the high-performance execution cloud and grew the cross-browser testing products from early adoption to market leadership. He brings over a decade of experience across SaaS, B2B, and eCommerce, with earlier product roles at Wydr and ShopClues, where his catalog and search work cut delivery SLAs and lifted seller activity. Sirajuddin holds an MBA in Information Technology from Sikkim Manipal University and a B.Tech in Computer Science Engineering from Maharshi Dayanand University.
BLEU Score FAQs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance
- Advanced access controls
- Advanced data retention rules
- Advanced Local Testing
- Premium Support options
- Early access to beta features
- Private Slack Channel
- Unlimited Manual Accessibility DevTools Tests


