
A reconciliation that returns only a matched total has hidden its most important work. Clean pairs are the easy rows. The rows with a duplicate identifier, a missing amount, a conflicting value or no counterpart are where the business decision remains. Treating those rows as leftovers encourages an assistant to smooth them away. A better workflow makes the exception register the main review artifact and treats the clean matches as supporting evidence.
Consider a synthetic exercise with four orders and six receipt rows. Order O-301 is 64.00, O-302 is 64.00, O-303 is 18.50 and O-304 is 29.00. Receipt R-401 names O-301 for 64.00. R-402 names O-302 for 61.00. R-403 has no order reference and an amount of 18.50. Two different source rows both use receipt identifier R-404; one names O-304 for 29.00 and the other names nonexistent order O-399 for 29.00. R-405 names nonexistent order O-999 for 12.00. Every value and identifier is invented.
The workflow preserves both source snapshots and assigns a stable row reference to every row before classification. It does not delete a repeated identifier, fill a blank reference from a matching amount or change a source amount. The output has two views tied to the same snapshot and rule revision: a resolved-match view and an exception register. A row must appear in exactly one disposition, while one exception may reference several rows that need one decision.
Duplicate detection happens before the join. The current pandas DataFrame.duplicated documentation says keep=False marks every occurrence in a duplicate group, rather than preserving the first as if it were authoritative. That behavior supports a useful boundary for this fixture: both R-404 rows leave the eligible set together. The tool can identify the collision. It cannot decide whether the pair represents a copied row, a correction or two events that were given the same identifier.
Only unique, complete references enter the exact-match pass. Pandas DataFrame.merge can validate a one-to-one key relationship and add an indicator that distinguishes keys found on the left, right or both sides. Its documentation also warns that null keys can match one another, unlike typical SQL behavior. This design removes blank references before the join, requires one-to-one keys and treats the indicator as evidence for classification, not as permission to alter either source.
Discussion Topic:
Which exception should reach a human first in your workflow: a duplicate identity, a conflicting value, or a missing reference?
The exact pass resolves O-301 with R-401 because the reference and amount agree under the fixture rule. That pair remains traceable to both original rows. The 64.00 amount does not help R-402 pass. Its reference points to O-302, but 61.00 conflicts with the order amount, so the register creates a conflicting-value exception with both row references, the observed values and one question: which source, if either, is correct?
R-403 becomes an incomplete exception because its required reference is blank. The unmatched order O-303 receives its own disposition. Their shared amount of 18.50 can be shown as candidate context, but it cannot collapse the two records into an accepted match. R-405 becomes an unmatched-reference exception because O-999 does not exist in the frozen order snapshot. The register records whether the snapshot might be incomplete instead of inventing the missing order.
The two R-404 rows form one duplicate-identity exception that retains both source rows and the affected order O-304. The question is not “which duplicate should we drop?” It is “are these separate events, a correction or an accidental copy, and what evidence would distinguish them?” O-304 stays held rather than resolved because one member of the duplicate group happens to agree with it. A convenient match cannot outrank an unresolved identity collision.
Coverage is the first completion check. This fixture has ten source rows. Two rows belong to the resolved pair, two belong to the amount conflict, two remain incomplete or unmatched around the 18.50 candidate, three belong to the duplicate group and its affected order, and one is the unmatched R-405 receipt. The counts reconcile to ten without discarding a row or counting one twice. A tidy accepted total without that coverage proof is an incomplete result.
Each exception entry needs enough structure for a person to decide it without reconstructing the entire run. Record an exception identifier, class, source snapshot and row references, observed evidence, conflicting or missing evidence, the exact question, required owner, current status and final resolution evidence. Keep the model’s explanation separate from the source facts. Confidence may help order an investigation, but it cannot replace a missing reference or choose which business record is true.
Priority should follow the consequence of waiting, the decision deadline, reversibility and blocked downstream work. It should not follow whichever row produced the most confident prose. The duplicate R-404 group might come first if it blocks a time-sensitive close, while an unmatched low-value receipt might wait under the owner’s policy. Those are owner choices, not recommendations hidden inside a score. The register should show the policy and the reason for each priority.
The owner field is equally important. NIST’s voluntary AI Risk Management Framework calls for clear roles and responsibilities and for differentiated human-AI oversight. The framework does not prescribe this reconciliation sheet. Applying its governance principle here means naming who may resolve each exception and keeping the assistant’s classification distinct from that person’s business decision.
AI can still do useful work around the register. It can propose a class, summarize the visible evidence, draft the question, identify rows with no disposition and flag an exception that lacks an owner. A deterministic check can verify source coverage, unique accepted use of each row and agreement between accepted values. Neither step should turn an unresolved case into a match merely to make the totals look complete.
Resolution also needs a boundary. If the owner confirms that the R-404 rows are separate transactions, the register records that decision and the evidence supporting it. Creating a new identifier or correcting a source record belongs to the authorized business process outside this sheet. If the evidence is insufficient, the exception remains unresolved or deferred with a review condition. Closing the register is not authority to rewrite history.
An exception queue can sound like extra work. The work already exists whenever the sources disagree. A spreadsheet with five explicit fields may be enough for a small, low-risk exercise. A repeated workflow may need durable identities, assignment, ageing and audit history. The size of the mechanism should be proportional, while the basic rule stays constant: uncertainty must have a visible disposition and a person who can decide what it means.
The useful result is not the percentage of rows that disappeared from view. It is a resolved set whose rule can be reproduced and an exception register that preserves every row the rule could not settle. The reconciliation earns trust when unresolved records become easier to decide without becoming easier to erase.
If this was useful, forward it to one engineer who needs less noise in their feed.

