What question does this note answer?
How much checking does a converted estate need, and what does that depend on? The usual answer is the pass rate. This note shows why that answer is incomplete.
Method. This is an analytical model, not a study. It states its assumptions and works through the arithmetic with illustrative numbers. It uses no measurements and no Novuz customer data. Its purpose is to make a line of reasoning easy to check, and to say what would have to be measured to test it.
What does a pass rate tell you?
Take an estate of N objects converted at pass rate p. The expected number of wrong objects is N × (1 − p). At N = 1,500 and p = 90%, that is 150.
That number is the repair work. It is not the checking work. To repair 150 objects you first have to know which 150 they are, and the pass rate does not say.
How many objects have to be checked?
It depends on whether the wrong ones can be located without checking each one. If they cannot, every object is a candidate, and the number to check is N whatever the pass rate.
| Pass rate (illustrative) | Wrong objects, of 1,500 | To check if errors cannot be located | Checks per wrong object found |
|---|---|---|---|
| 90% | 150 | 1,500 | 10 |
| 95% | 75 | 1,500 | 20 |
| 99% | 15 | 1,500 | 100 |
Why does a better pass rate not reduce the checking?
Because the last column moves the wrong way. As the pass rate rises, the wrong objects become rarer and no easier to find, so each one costs more checks to locate. A team at 99% still inspects 1,500 objects, and now finds a problem once in every hundred.
This is also where human review weakens. People checking long runs of correct items miss the rare wrong one. A high pass rate makes manual review both more expensive per defect and less reliable.
What changes when errors are systematic?
A conversion rule that is wrong fails the same way on every object that matches its pattern. Those failures share a cause, so they are found together: the same mismatch, on the same kind of rows, across a set of objects that all use one rule.
Suppose, as an illustration, that the 150 wrong objects come from six faulty rules. The work is then six diagnoses and six fixes, after which all 150 are converted again and checked. With scattered errors the same 150 objects are 150 separate investigations.
| Scattered errors | Systematic errors | |
|---|---|---|
| How failures appear | One at a time, with no shared cause | In groups that share a cause |
| Diagnoses needed (illustration) | 150 | 6 |
| What a fix repairs | One object | Every object using the rule |
| Effect on the next estate | None | The corrected rule carries over |
What happens to the estate as a whole?
The per-object view understates the problem, because a migration needs every object right. If objects are converted correctly with probability p, independently, the probability that all N are correct is p raised to the power N. For N = 1,500 this is effectively zero at 90%, about 0.00003% at 99%, about 22% at 99.9% and about 86% at 99.99%.
Independence is an assumption, and a generous one for scattered errors. Its consequence is that no realistic pass rate makes checking optional. The remaining question is only what checking and repair cost.
How far does one wrong object reach?
Objects are not independent in their effects. An estate is a directed graph: each object reads from others. If an object is wrong, every object that reads from it, directly or through intermediaries, produces wrong results too, even when its own conversion is correct.
Write D(i) for the number of objects downstream of object i. A single wrong conversion yields 1 + D(i) objects with wrong output. Errors near the sources of the graph, in staging and conforming layers, have the largest D. The practical consequences are two. The number of objects that fail reconciliation exceeds the number that were converted wrongly, and each failure has to be traced upstream to its origin before it can be fixed.
Here the shape of the errors matters again. When failures share a cause, tracing one of them finds the origin for all. When they do not, each trace is separate.
Does automated reconciliation remove the difference?
It removes a large part of it, and that should be said plainly. If every object is reconciled automatically, by running the original and the converted version on the same inputs and comparing results, then checking 1,500 objects is machine time, not people’s time, for any conversion method. Any serious migration should do this.
Two differences remain. The first is the repair loop: reconciliation tells you which objects failed, and with scattered errors each failure is still its own investigation. The second is stability. If a conversion can give different output on a second run, then rerunning it, to pick up a fix or a changed source object, can alter objects that had already passed, and they must all be reconciled again.
What does unstable output cost?
Let r be the number of times all or part of the estate is converted again during the program, because the source changed, a fix was made or a domain was redone. Compare two cases.
| Output stable between runs | Output can change between runs | |
|---|---|---|
| Objects affected by a rerun | Only those whose source or rules changed | Potentially all of them |
| Objects to reconcile over the program | About N, plus the changed objects on each rerun | About N × (1 + r) |
| Status of earlier proof | Still valid for unchanged objects | Void for any object whose output changed |
| New failures after a rerun | Only among changed objects | Possible anywhere, including objects that had passed |
Why can sampling not replace full comparison?
Because rare defects are missed with high probability. If a fraction f of rows in a result is wrong and k rows are sampled, the probability that the sample contains no wrong row is (1 − f) raised to the power k. For f = 0.1% and k = 1,000 that is about 37%. Many dialect errors affect far fewer rows than that: a boundary-date difference may touch only rows dated 31 December.
Full comparison is therefore the baseline: totals for every column, and every row matched by key. It is affordable only when automated, and it is trustworthy across reruns only when unchanged input gives unchanged output.
Where does a language model fit in this model?
Where errors would be one-offs anyway. Some objects match no rule, because the right conversion depends on intent the code does not state. Each is unique, so there is no class of failure to fix once, and a model’s ability to read context and propose a conversion is useful.
The arithmetic is then favorable, provided the set is small. If rules settle about 95% of a 1,500-object estate, about 75 objects need a proposal. An engineer can read 75 proposals with care. Nobody can read 1,500. This is the design Novuz uses, stated here so readers can weigh this note accordingly: rules for the bulk, a resolver for the remainder with an engineer approving each proposal, and reconciliation for every object.
What would test this model?
Four measurements would confirm or refute it. We would welcome published data on any of them.
- Error clustering: on a real estate, what share of failed objects share a cause with at least one other failure, for each conversion method?
- Rerun stability: after a second run, how many previously passing objects change, and how many of those then fail?
- Repair effort: hours per failed object, by method, including the time to find the cause.
- Review reliability: how often does a human reviewer catch a seeded defect at different pass rates?
What are the limits of this note?
It is a model. The numbers are illustrations chosen to make the arithmetic easy to follow, not results. Real estates are messier: rule errors are not always cleanly grouped, and model errors are not always fully scattered, since a model can repeat a misunderstanding across similar objects.
It also treats the pass rate as fixed. Tools that add tests, retries and context can raise it, and automated reconciliation changes the cost of checking for everyone. The note’s claim is narrower than “rules are better”: it is that the location and clustering of errors, and the stability of output between runs, decide the effort after conversion, and that a pass rate alone describes none of them.
Sources
- Pan, R. and others, “Lost in Translation: A Study of Bugs Introduced by Large Language Models while Translating Code”, ICSE 2024, arXiv:2308.03109
- Atil, B. and others, “Non-Determinism of ‘Deterministic’ LLM Settings”, arXiv:2408.04667
- Novuz research note, “Why AI code conversion is hard to audit”, November 2026
- Novuz research note, “Validating a data migration: methods compared”
