How to check whether PDF comparison found the changes you planted
3 November 2026
Write the expected changes down before running the comparison. Then account for each expected change and each alert separately. Five alerts do not mean five edits were found: several alerts can point to one change, a layout shift can attract an alert of its own, and an important edit can still be missed.
Give each expected change an identity
For a fictional exercise, take a clean copy of an equipment schedule and make exactly three agreed changes. Keep the unchanged source and the revised copy. Give the person running the comparison the two documents, and give the person checking the result the sealed list of expected edits.
| Seed | Original | Revision | Evidence that counts as a match |
|---|---|---|---|
| Quantity | 20 boxes | 200 boxes | The flag locates the same item in both sources and exposes the changed digit. |
| Date | 21 March | 24 March | The reviewer can identify the old and new dates in the scheduled delivery field. |
| Deleted instruction | A sentence requiring owner review | Sentence absent | The reviewer locates the original clause and verifies its absence from the revised section. |
The quantities and the type of deleted instruction have counterparts in the existing synthetic revision corpus. That corpus also has a separate change to a deadline duration, which moves from five working days to three. The change to a calendar date in the table above belongs to this proposed three-seed exercise. None of the three combined rows reports an observed result for a product. Revision corpus
Count the alerts and the misses
Imagine a comparison returns four alerts. Two identify the quantity and deletion, and two highlight presentation changes. If the reviewer confirms those two presentation differences are immaterial to the defined task, the tally is two of three seeds matched, one missed, two spurious alerts. Four is the number of candidate alerts, not the denominator for the fraction of expected changes detected. This tally illustrates the method.
Use the review register to save the seed ID, candidate flag ID, both document locations, the reviewer’s finding and the outstanding action. If one flag highlights a broad paragraph containing the date, check whether it actually helps a reader identify the changed date before counting a match. If a flag identifies an unplanned real edit, investigate the preparation of the pair. A legitimate unexpected change is different from a false alert. Change review log
Keep the run open until every seed has a disposition, including an explicit miss, and every alert has been accounted for. Report the names of the tested files, the comparison settings and the unresolved cases with the tally. A result from this pair tells the buyer what happened on this pair; wider claims need a representative set and further independent checks.
Part of the How to compare two PDFs for changes in text and layout guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
