Begin with a small unit: one claim and the evidence needed to support it. Then decide how claims become answer-level and workflow-level results. Write down those aggregation rules before comparing systems.
Does a perfect similarity score prove the right action?
Only if the comparison preserves every difference that matters to the task. Two strings can receive a perfect similarity score while naming different recipients. A factual-support metric, a string-match metric and an authorization check answer different questions.
The November 9 paper Scaling Adaptive Prompt Injection Attacks with Agent Swarms, section 3.2 scores a target tool call using its name, argument keys and argument values. Numbers and booleans must match exactly; strings use similarity between their character multisets, which count characters without preserving order. Its success threshold is greater than 0.99. That is the study’s declared scoring rule, not a claim that all string values match exactly.
A local example makes the distinction visible. ab@example.test and ba@example.test contain exactly the same characters with the same counts. Their character-multiset similarity is 1.0, but exact string equality is false. The addresses are fictional; no message was sent. This mathematical example does not establish that a published trial made this particular error, and we did not execute the researchers’ scorer or models.
| Evidence | What it establishes | What remains separate |
|---|---|---|
| Context-faithfulness score | Support in the supplied context under its claim rubric | Truth and applicability of the source |
| Character similarity | Agreement under the stated string metric | Exact recipient, resource or identifier |
| Exact request comparison | Agreement with the expected request | Permission and actual destination effect |
Ragas’s versioned faithfulness documentation likewise defines a specific question: what fraction of identified answer claims follows from the supplied context. Keep that denominator and scope in the report. Do not rename either metric “the action was correct.”
Use the runnable comparison and blank/filled worksheet to define the rule before grading. Report the raw output, exact-match result and any approximate score separately. The paper’s main experiments deliberately use unrelated, nonmalicious synthetic goals and disable Gemini’s out-of-model mitigations; these results are not a rate of harmful actions in deployed services.
Did the model produce new answers for this evaluation?
Count fresh answers separately from reused answers before comparing hallucination scores across runs. A repeated score can show that a saved answer was scored consistently; it cannot by itself establish how the model answered today. This matters whenever a report describes a new evaluation after a model or policy change.
Promptfoo’s caching documentation gives a concrete example. Each repeat index has a separate cache namespace, but rerunning the same evaluation can reuse those cached responses. The documented way to request fresh calls is to combine repetition with disabled caching. This describes that tool’s behavior, not every evaluation system or hidden provider implementation.
Consider a fictional test containing ten questions, each repeated three times. Monday’s evaluation produces 30 responses. On Tuesday, the evaluator displays the same 30 saved responses. Tuesday has 30 result rows, but zero newly generated responses in this example. Calling them 30 fresh answers would change the meaning of the result. If only 12 responses are regenerated, report 12 fresh and 18 reused; do not silently label all 30 as current behavior.
Keep an attempt ledger with the question ID, repeat index, response identity, generation time, cache/reuse evidence, evaluator version and evaluation time. A fresh judge assessment of an old answer is also a separate event: it refreshes the assessment, not the answer. State whether your comparison fixes answers and changes the evaluator, fixes the evaluator and changes answers, or changes both.
Then retain the claim denominator within each selection. Ragas faithfulness checks whether each extracted claim is supported by the retrieved context. Thirty response rows are not automatically thirty factual claims. FActScore likewise defines its measure through atomic facts supported by a knowledge source. Neither definition turns the count of stored evaluation rows into a fresh-response count.
For a reproducible report, write: “12 fresh responses generated on the stated date; 18 reused responses reported separately; claim extraction and support rubric version recorded.” Add observed claim counts and unresolved or unevaluated responses from your own run. These numbers illustrate the reporting structure; they are not results from our sites or a vendor benchmark.
Use the Checklist’s fresh-call record to document this boundary. For curated incident data, apply the same care to units: nine source groups cover eight sets of records. Links, records, generated answers and factual claims answer different questions.
What if some claims never receive a score?
Report the unscored claims and the coverage gap. A perfect score on the reviewed subset does not establish a perfect score for the full output. Keep the planned claim inventory, the scoring results and the reason for each missing result.
In this hypothetical teaching example, a reviewer identifies 20 factual claims. Twelve receive a support judgment and all twelve pass; eight remain unscored because their sources could not be read. The supported share of scored claims is 12/12, or 100%. Scoring coverage is 12/20, or 60%. Neither number establishes that the other eight claims are true or false. Do not silently drop them or call this a zero-hallucination result.
| Report field | Teaching value | Meaning |
|---|---|---|
| Identified claims | 20 | Declared inventory; claim extraction itself still needs review |
| Scored claims | 12 | Claims with an actual support decision |
| Supported among scored | 12/12 | Result conditional on the reviewed subset |
| Unscored claims | 8 | Unknown, with a recorded reason for each |
| Scoring coverage | 60% | Share of the identified inventory judged |
Ragas faithfulness calls for checking each response claim against retrieved context. FActScore defines factual precision using atomic facts supported by a reliable knowledge source. The table above is our reporting recommendation for incomplete review; it is not a claim that either package implements this exact missing-result policy.
Treat an empty model reply, a refusal, a parser failure and an inaccessible source as different states. Preserve the raw result and the attempted score before retrying. If a later run scores the missing claims, publish its own coverage and result, retaining the earlier incomplete evaluation. Use the claim-and-abstention example for answer-level denominators and the source-review comparison for the separate difference between selection and completed review.
Who supplied the claim label?
A label is an evaluation result with a producer and a scope. Keep both. If a model says “I verified every citation,” the sentence does not supply the citations, passages or check results needed to verify that assurance. Treat it as a factual claim about work performed.
FActScore separates atomic facts and assesses support against a knowledge source. Ragas Faithfulness checks whether claims follow from retrieved context. Neither description makes an arbitrary model’s self-assessment independent evidence of correctness. Record the reference version, extracted claim, passage, evaluator and rubric used in your test.
Our proposed review adds five fields beside each label: producer, evidence passage, evidence version, evaluation rule and unresolved disagreement. If an evaluator and a reviewer disagree, preserve both judgments with their reasons. Apply the declared adjudication rule; do not silently select whichever verdict improves the score.
| Evidence presented | Narrow inference | Next check |
|---|---|---|
| Answer says all checks passed | The answer contains that assertion | Retrieve each actual check and its result |
| Judge says a claim is supported | That judge assigned that label under its inputs | Inspect the passage, rubric and disputed cases |
| Log tag says approved | The caller supplied that tag, if it is caller-controlled | Recover the trusted approval for the exact request |
The last distinction is concrete in Amazon Bedrock’s logging documentation: service-populated identity fields differ from caller-supplied request metadata. Our inference is that a tag recording an approval claim cannot, by itself, establish who granted that approval. Likewise, a stored score cannot establish that its reference was authoritative or current.
Use the evidence-origin worksheet: blank CSV / JSON, fictional filled CSV / JSON, or complete pack. Five cases separate caller tags, service identity, generated assurances, destination receipts and evaluator labels. All production control outcomes are untested; the completed file demonstrates review wording only.
For a real example of a false work-completion assertion, read the OverclaimBench record, retaining its controlled-study label and researcher-reported trace limits. For action evidence, use the Checklist review. Keep these checks separate from the numerical claim and answer denominators below.
What exactly are you measuring?
Choose a property before choosing a score. FActScore divides generated text into atomic facts and measures the percentage supported by a reliable knowledge source. Its reported human evaluation concerns biographies; adopting the general idea for business workflows requires your own evidence and labeling rules. Read the paper abstract.
For this guide, use supported, contradicted and unresolved as distinct claim labels. These are our proposed reporting labels, not an assertion that every benchmark uses them. State whether a missing source counts as a failure, an unresolved result, or an exclusion; do not silently remove it from the denominator.
Which denominators should you report?
- Claim support. Proposed calculation: Supported claims ÷ all evaluated factual claims. What it helps you see: How much of the answer has evidence.
- Answer error rate. Proposed calculation: Substantive answers containing at least one defined error ÷ all evaluated substantive answers. What it helps you see: How often an answer includes a failure.
- Abstention rate. Proposed calculation: Requests declined without a substantive answer ÷ all requests. What it helps you see: How often the system does not answer.
- Unresolved claim rate. Proposed calculation: Claims that cannot be adjudicated ÷ all evaluated factual claims. What it helps you see: Gaps in evidence or evaluation.
- Action outcome. Proposed calculation: Confirmed, failed and unresolved actions, with counts. What it helps you see: Whether reported work matches the workflow record.
An answer may combine supported and unsupported claims; that is the motivation for the atomic-fact approach described in FActScore. Answer quality and responsiveness also differ across systems in the legal-tool study. FActScore · Legal-tool study.
What does a worked example look like?
Synthetic example, executed October 24, 2026; no AI model tested. Six invented requests produce four substantive answers and two abstentions. Human-written labels identify six supported claims, one contradicted claim and two unresolved claims. The script counts those supplied judgments; it does not judge factuality.
Download the six requests and toy reference, Python scorer, result, validation record and instructions.
| Measure | Calculation | Result |
|---|---|---|
| Claim support | 6 supported / 9 factual claims | 66.7% |
| Claim contradiction | 1 contradicted / 9 factual claims | 11.1% |
| Unresolved claims | 2 unresolved / 9 factual claims | 22.2% |
| Answer error | 1 substantive answer with a contradicted claim / 4 substantive answers | 25% |
| Answers with unresolved claims | 1 / 4 substantive answers | 25% |
| Abstention | 2 / 6 requests | 33.3% |
These percentages answer different questions. Claim labels are mutually exclusive in this fixture; answer error and unresolved-answer measures need not be mutually exclusive in another dataset. Our example defines an answer error as at least one contradicted claim and reports unresolved claims separately. If your rubric treats an unsupported claim as an error, declare that rule and recompute. This is our teaching rubric, not an implementation of FActScore or Ragas.
What does the refusal hide?
Request R4 declines to answer while claiming that an archive has been unavailable since Monday. The invented reference establishes nothing about archive availability, so that claim is unresolved. It stays in the nine-claim denominator even though R4 counts as an abstention. Request R3 makes no factual claim and contributes none.
Dropping both refusals from claim review would omit R4’s assertion. Calling every refusal successful would also assume that declining the request was appropriate; this fixture does not test that. For a real evaluation, separately decide whether the request should have been answerable.
How can you reproduce the arithmetic?
Place the scorer and requests in one folder, inspect them, then run:
python3 score.py requests.json > reproduced.json
Compare with the published result. Two fresh local processes produced identical outputs. Checks also covered empty inputs, a contradicted claim inside an all-abstention set, duplicate IDs and invalid labels/statuses. A zero denominator produces JSON null, not a perfect score. Executed validation.
Before adapting the file to real answers, record the source and applicability judgment behind each label, the reviewer and unresolved disagreements. The runnable example verifies arithmetic on a small supplied fixture; it supplies no evidence about a model’s accuracy, a judge’s reliability or a production action.
How to cite the example: Hallucination-Free. Measurement example, version 1, October 24, 2026. Link this guide and include your access date. Original text, code and fixtures are CC BY 4.0; identify adaptations.
Are you measuring context support or factual correctness?
Record what counts as the reference. Ragas faithfulness measures response claims supported by retrieved context divided by all claims in the response. This checks agreement with that context; it does not independently establish the context’s authority or applicability. Read the metric definition.
Hypothetical example: an answer repeats an old expense cap exactly. It can be supported by the retrieved document while failing a task that requires the current policy. Keep two review fields: support in the supplied context, and applicability of that source to this request. Label unavailable evidence unresolved rather than assuming either field passes.
Our recommended test record retains the claim, retrieved passage, source identifier, effective date or version, and separate judgments for support and applicability. Report retrieval failures separately from errors in generating an answer from the retrieved text. The RAG versus deterministic execution comparison shows how these checks connect to business decisions and actions.
What if a retry corrects an earlier answer?
Report the final outcome per request and the outcomes of all attempts separately. A final-answer score answers a different question from an audit of everything the system generated. Neither should silently replace the other.
Consider this invented teaching example. Each available answer contains one factual claim, judged against a fixed reference. Internal attempts are retained in the audit log; only the final answers reach the user.
| Request / attempt | Available claim | Delivery | Evaluation outcome |
|---|---|---|---|
| A / 1 | Contradicted | Internal | Error |
| A / 2 | Supported | Final answer | Supported |
| B / 1 | No output recovered after timeout | Unknown | Unevaluable |
| B / 2 | Supported | Final answer | Supported |
| C / 1 | Supported | Final answer | Supported |
There are three requests, five attempts and four evaluated claims. All three final answers are supported. Across available attempts, one of four claims is contradicted (25%); three of four are supported (75%). One of five attempts is unevaluable (20%). Calling the entire process error-free would hide A/1; counting B/1 as a correct answer would invent evidence. These are hand-checkable fixture counts, not observed model results.
A timeout tells you that the observer lacks a result; it does not establish that no text was generated or no action occurred. Record exposure separately. This example establishes no user-visible false claim because its one contradicted claim was internal, but it leaves B/1 exposure unresolved. In a real run, preserve the output, timing and delivery evidence behind those labels.
Our proposed reporting fields are request ID, attempt ID, status, output availability, delivery status, evaluator result and final request outcome. Define the retry policy and stopping rule before comparing systems. FActScore’s claim-level definition and Ragas’s context-support metric do not by themselves supply the missing attempt or delivery denominator.
A real evidence boundary appears in the grading episode: the original grading submissions failed, while a later host retry was accepted. Our updated companion analysis retains the linked records and source limits. Use the Checklist retry procedure to test whether your own reporting keeps those outcomes separate.
What if the logs omit an attempt?
Check evidence coverage before scoring the available answers. A scorer cannot evaluate output it never received. Our recommendation is to compare an independently justified list of expected attempts with captured records, then retain missing and unmatched IDs alongside the claim scores.
This boundary matters in real documentation. Amazon Bedrock invocation logging is disabled by default and covers supported calls through the bedrock-runtime endpoint; the documentation says calls through bedrock-mantle are not captured. A log search alone therefore cannot establish that no model call occurred. The exact behavior depends on the service, endpoint and configuration; this is not a test of a deployed account.
Our synthetic six-attempt example starts with expected IDs A1, A2, B1, B2, C1 and D1. Five observed records include A1, A2, B2, C1 and an unmatched X1. Each observed row carries one human-written claim label; the program performs accounting, not factual judging.
| Review question | Observed result in the fixture |
|---|---|
| How many expected attempts have records? | 4 of 6; B1 and D1 are missing |
| Does every observed record belong to this scope? | No; X1 needs separate investigation |
| What can be said about matched claims? | 3 supported and 1 contradicted out of 4 |
| Are the missing attempts true, false or harmless? | Unknown; no output or effect is established |
The 75% support result describes four available matched claims, not six expected attempts or every record found in the log. Do not add B1 and D1 to the successful-answer count. Do not label them hallucinations either. X1 could reveal a scope error or an unexpected invocation; its label alone cannot make it a successful expected attempt.
Download the fixture, reconciler, result or complete pack. Run python3 reconcile.py fixture.json and compare the result. Two fresh runs and an extracted-pack run matched. Duplicate IDs and invalid labels were rejected; deleting an observation created a gap; an empty denominator returned null; a complete positive control matched all six attempts. Executed checks.
The expected list is supplied in this teaching fixture. In production, explain where it comes from and what it can miss: reconstructing it from the same incomplete logs would make the check circular. Use a justified dispatch inventory, declared retry boundaries and the Checklist coverage review. The evidence packet must separately establish delivery and destination effects.
How to cite: Hallucination-Free and Deterministic AI. Evidence coverage example, v1, November 4, 2026. Link this guide, include your access date and identify changes. Original code and fixture: CC BY 4.0.
How should you build the test set?
Our recommended set includes common tasks, missing information, false premises, policy changes, conflicting documents and examples with consequential mistakes. Record the model, prompt, retrieval settings, source versions and date. Keep a held-out set separate from examples used to tune the system.
Have reviewers use a written rubric and record disagreements. For automated judging, compare a sample with human judgments before relying on the aggregate. Document the evaluator, exclusions and uncertainty; do not present its decisions as unquestionable ground truth.
Can you compare rates across studies?
Only make a direct comparison after checking task, models, dates, source access, labeling rules and denominators. FActScore’s biography evaluation and the legal-tool evaluation address different settings. Neither is a current universal model ranking. FActScore · Legal-tool study.
Use the prevention guide to turn observed errors into control tests. Start with the system-boundary definition if the claim being tested is unclear.
Can an incident collection supply an error rate?
A count of selected incidents has no denominator of all requests or claims. It cannot substitute for the task-level evaluation above. Our Tracker composition analysis supplies frozen data and calculations while retaining AI-involvement and record-type labels. Use its records to design test cases, not to infer population prevalence.
Reading scope
Rechecked on October 12, 2026. FActScore and the legal-tool study were readable as indexed abstracts and metadata; neither full paper was read. Ragas was readable as indexed definition, formula and example text. Direct page bodies were unavailable. The added source-boundary example and reporting fields are our recommendations, not benchmark results.
October 16 maintenance: fetched and read both research abstracts and Ragas’s metric definition, calculation steps and worked example. The research papers themselves were not read in full. The context-support and denominator distinctions above remain supported; no historical benchmark is presented as current product performance.
Can a filtered incident count be an evaluation denominator?
Use the denominator for the question it answers. The frozen Tracker example selects 23 of 113 records by two evidence labels. That fraction describes the archive selection; it says nothing about the share of generated claims that hallucinate. FActScore’s abstract instead defines a supported-atomic-fact proportion. Ragas faithfulness checks inferability from supplied context. State the unit, exclusions and reference evidence before presenting a percentage.
Source review, October 17, 2026: re-read the FActScore abstract and Ragas metric definition/example. These support the stated claim-level distinctions; no new performance estimate is asserted.
Does reproducing an incident table measure model accuracy?
No. The offline Tracker analysis reproduces counts of selected records. Its denominator is the named collection. A hallucination evaluation instead needs a defined set of requests or claims, reference evidence and an error rubric. FActScore counts supported atomic facts; Ragas faithfulness evaluates support in supplied context. Neither denominator can be recovered merely by counting incident reports.
When adapting an incident into a test, retain the original evidence qualifications, write an explicit expected result and include an ordinary successful case. Report which tests you actually ran. A proposed prevention control in the Tracker is a test idea, not an observed fix.
October 24 maintenance: recovered and reread the FActScore abstract and Ragas definition/example. Added the executed synthetic six-request example above; no published benchmark statistic changed. For decision-rule checks, use the companion boundary example.
Can a source-supported count still be wrong?
Yes: the source itself may be stale. In a synthetic test, the supplied summary says “12 records,” while the complete named dataset contains 13. An answer repeating 12 matches that summary but fails the independent count. This is a proposed teaching case, not a scored model run.
| Check | Evidence to use | Expected conclusion |
|---|---|---|
| Context support | The supplied summary | The answer repeats its stated count |
| Dataset correctness | Count all records in the exact version | The summary and answer undercount by one |
| Scope preservation | Inspect evidence labels | Thirteen selected records do not establish thirteen confirmed deployed harms |
| Correction | Retain old and new versions | Explain the discrepancy; do not overwrite the cited input |
Ragas faithfulness checks support against retrieved context. FActScore motivates checking atomic facts against a reliable knowledge source. Neither definition makes every supplied summary authoritative. Record which reference was used, which version it describes and whether it agrees with the underlying evidence.
Our November 1 release comparison documents an actual stale Tracker scope count and preserves the old file. That editorial correction is separate from the synthetic example above. Use the Checklist release review to retain the discrepancy and the checks still needed.
Frequently asked questions
Can a perfect similarity score match the wrong recipient?
Yes. A character-multiset comparison ignores order: ab@example.test and ba@example.test score1.0 but are different strings. Use the exact comparison required by the action and check permission and destination effects separately. This is a synthetic local example.
Does 100% support among scored claims establish zero hallucinations?
Only for the scored claims under the declared review. If twelve of twenty identified claims were scored and all passed, support among scored claims is 100% but coverage is 60%; the eight unscored claims remain unknown.
Do repeated evaluation results show that the model answered again?
Only if the relevant calls were fresh. Record result reuse and provider-call evidence per attempt. Repeating a cached evaluation can reproduce yesterday’s scores without generating new answers.
Is an unsupported claim necessarily false?
Not necessarily. In this proposed rubric, distinguish contradiction from inability to establish support. Report both instead of treating missing evidence as a proved falsehood.
Does a test with zero errors prove a system is hallucination-free?
Report zero observed errors for the stated test set, versions and rubric. The observation alone does not establish behavior on every other input.
Does groundedness measure whether the source is correct?
A context-faithfulness score checks whether the answer is supported by the supplied context. Separately verify that the context is authoritative, current and applicable to the task.
Can a refusal contain a factual error?
Yes. Review any factual assertions inside a refusal as claims, while separately recording the response as an abstention. An answer-only denominator can miss those claims.
Should I remove failed attempts when a retry succeeds?
Keep the attempts and the final request outcome separately. Declare which outputs reached the user, which remained internal and which could not be evaluated; later success does not erase earlier errors.
Can an answer faithfully repeat an incorrect source?
Yes. Context support and correctness against independent reference evidence are separate checks. Preserve the source version and report disagreement rather than silently changing the denominator.
Can missing logs be counted as correct answers?
No. Reconcile an independently justified attempt inventory with observed records. Score available claims, retain missing attempts as evidence gaps and report unmatched observations separately.
Does a model saying that it checked a claim count as verification?
Treat that statement as another claim. Keep the actual evidence passage, evaluation rubric and result separately, and review disagreements or missing checks. A generated assurance does not establish that a check ran.
The source record
Read the original evidence and the scope of our review.
- FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text GenerationAssociation for Computational Linguistics · 2023-12 · Accessed 2026-11-17Abstract and bibliography reread with read_page and fetch_page; full paper not read.
- Hallucination-Free? Assessing the Reliability of Leading AI Legal Research ToolsarXiv · 2024-05-30 · Accessed 2026-10-22Relevant source text reread October 22; FActScore and legal RAG at abstract level, other documentation/research bodies via fetch_page. No new general performance claim inferred.
- FaithfulnessRagas · Not stated · Accessed 2026-11-17Full substantive documentation reread with read_page and fetch_page; no evaluator executed. Footer dates do not unambiguously establish original publication.
- Damaging the task environment to trigger a resetOpenAI Alignment · 2026-10-09 · Accessed 2026-10-30Substantive source text read with fetch_page; no vendor system executed.
- Monitor model invocation using CloudWatch Logs and Amazon S3Amazon Web Services · Not stated · Accessed 2026-11-08Substantive primary text reread with fetch_page. FActScore access is abstract/bibliography. No model, cloud configuration or production control tested.
- CachingPromptfoo · Not stated · Accessed 2026-11-13Primary substantive documentation read in full with fetch_page after read_page DNS failure. No service or model executed; examples are explicitly fictional.
- Scaling Adaptive Prompt Injection Attacks with Agent SwarmsarXiv · 2026-11-09 · Accessed 2026-11-19Methods and results including section3.2 read with fetch_page; long extraction truncated. Submission date separately verified from abstract. No researcher code, model or production deployment executed.
- Faithfulness, version0.2.8Ragas · Not stated · Accessed 2026-11-19Full substantive documentation read with fetch_page and read_page; context-based denominator checked. No evaluator executed.