# SYNTHETIC migration reconciliation report

Illustrative report template, not a customer result, production benchmark, or DataDios export.
All records and outcomes below belong to the downloadable PostgreSQL SQL lab.

## Contract

- Source: session-local migration_lab_source; target: migration_lab_target.
- Engine: PostgreSQL on both sides, in one disposable database session.
- Scope: all three rows per side, created in a single lab transaction; no concurrent writers.
- Key: order_id, integer primary key on each side.
- Compared values: amount (numeric(12,2)), currency (text); no excluded columns.
- Rule: exact PostgreSQL numeric and text equality with null-safe comparison.
- Cutoff: fixture creation within this transaction, not a real extraction watermark.
- Product execution: none. The SQL fixture does not invoke DataDios.

## Initial result

| Measure | Source | Target |
| --- | --- | --- |
| Rows | 3 | 3 |
| USD amount | 75.00 | 75.00 |

| Classification | Keys | Evidence |
| --- | --- | --- |
| Unchanged | 101 | 25.00 USD on both sides |
| Changed | 102 | 40.00 USD source; 39.00 USD target |
| Missing from target | 103 | 10.00 USD source; target absent |
| Unexpected in target | 104 | source absent; 11.00 USD target |

Distinct union keys: 4. Discrepant keys: 3. Equal counts and sums do not mean a pass.

## Repair rerun

The lab resets the temporary target to an exact copy of the source. Its SQL assertions then
require 3 unchanged rows and 0 discrepancies. Both counts remain 3 and both totals remain 75.00.
This is a fixture reset, not a production repair procedure. The transaction rolls back afterward.

## Decision and limits

Lab outcome: deliberate failures detected and repair assertions satisfied when the script completes.
Production cutover decision: NOT APPLICABLE. No cloud pair or product workflow was executed.
Coverage excludes timestamp conversions, high-precision decimals, large data, production access,
application correctness, performance and recovery.

For a real report, replace the synthetic fields with actual run identifiers, timestamps, snapshot
proof, partition manifest, product exports or SQL evidence, exception owners and named approval.
