Core concepts
Fidelity checks
How numbers, units, dates and links are checked in code, names and claims by a model review, how changes are flagged, and why strict mode fails closed.
Rewriting tools change facts. When we ran one of our drafts through another humanizer, it changed 4 facts. A change like “14 days” becoming “14 weeks” in a support policy is easy to miss in a skim.
Every rewrite here extracts the protected facts from your source, finds them in the output and compares them in code, and a model review then compares the meaning sentence by sentence. By default (fidelity: "standard") the rewrite comes back with any changed fact flagged next to the original, so you can fix it. With fidelity: "strict" a changed fact makes the job fail closed: you get an error, not a confident-sounding wrong answer.
What gets checked
Checked in code, every time, and listed one by one in fidelity.checks with a status of kept, changed or missing:
| Check | Examples | Rule |
|---|---|---|
number_unit | 14 days, $49, 3.5%, 2,000 words, twelve | Value and unit must match. 14 days ≠ 2 weeks: we don't let the model convert units. A number in the rewrite that isn't in the source is also flagged. |
date | August 2, 2026, March 2026 | Dates written with a month name must match. |
link | https://example.com/returns, example.io/docs | Same address. Compared without the scheme, www, a trailing slash or letter case. |
preserve | your preserve list | Each string must appear verbatim in the output. |
Checked by the model review (a second vote confirms each finding): names, quotes, qualifiers such as “only” or “may”, conditions, negations and claims that were added or dropped. These appear in changed_facts with type: "claim" and a plain-language explanation. fidelity.review says whether the review completed and how many changes it confirmed.
Strict and standard modes
| fidelity | If a fact changes | Words used |
|---|---|---|
standard (default) | The rewrite is returned with fidelity.status: "warn" and each changed fact listed in changed_facts next to the original. | 1 per input word |
strict | The job fails with fidelity_failed (HTTP 422 on a synchronous request, or the job's error on an async job). No text is returned. | None if it fails. 1.5 per input word, rounded up, if it passes. |
standard is the default. Use it when a person reviews the result and would rather fix one fact than re-run. Use strict for API pipelines that publish without a human reading every line.
A strict rewrite that passes uses 1.5 words of allowance per input word, rounded up, because strict runs extra repairs and checks. A 1,000-word draft uses 1,500 words. A strict run that fails is free.
Fail closed: the 14 days example
This section applies under strict. Here is what the “14 days → 14 weeks” change looks like when it happens inside a strict rewrite. Under the default standard mode, the same change comes back in fidelity.changed_facts with the rewrite instead:
{
"error": {
"type": "fidelity_error",
"code": "fidelity_failed",
"message": "A protected fact changed in the rewrite and strict fidelity is on. Nothing was billed.",
"request_id": "job_01JD4QC7",
"doc_url": "https://intactvoice.com/docs/errors#fidelity_failed",
"changed_facts": [
{
"type": "number_unit",
"source": "14 days",
"output": "14 weeks",
"position": {
"start": 118,
"end": 126
},
"explanation": "\"14 days\" in your text became \"14 weeks\" in the rewrite."
},
{
"type": "claim",
"source": "the writer receives only a topic",
"output": "the writer gets a topic",
"explanation": "The rewrite drops \"only\", which changes the claim."
}
]
}
}The right response is to retry once (a fresh generation usually keeps the fact), then route the draft to a person. Don't loosen to standard automatically.
Reading the fidelity report
Successful rewrites list every check performed, so you can show reviewers what was verified. The same counts are in summary.facts_checked, facts_kept and facts_changed; add include: ["spans"] for each fact's position in your text and in the rewrite.
{
"status": "pass",
"checks": [
{
"type": "number_unit",
"source": "14 days",
"output": "14 days",
"ok": true,
"status": "kept"
},
{
"type": "link",
"source": "https://example.com/returns",
"output": "https://example.com/returns",
"ok": true,
"status": "kept"
}
],
"changed_facts": [],
"review": {
"status": "completed",
"material_changes": 0,
"minor_differences": 0,
"repaired": false
}
}Protecting extra strings
Some things aren't facts we can detect but still mustn't change: a legal sentence, a product tagline, a price written in words. Add them to preserve:
{
"text": "…",
"fidelity": "strict",
"preserve": [
"Terms apply.",
"Pro plan",
"free for 30 days"
]
}What fidelity checks don't do
Warning:
Fidelity checks compare the output with the source; they don't check that the source is true. Qualitative wording (“most” vs “many”) is judged by the model review rather than in code, and a review can miss a subtle change, so read rewrites of sensitive claims before publishing.