1. Inventory
Every step, macro, dataset, title and footnote, plus a risk register naming the constructs in this program that behave differently on the new platform, with line numbers.
2. Specify
Input, filters, derivations in order, statistics and options, rounding rule and output layout, written down before any code.
3. Implement
R and Python, both. Two independent implementations agreeing is itself evidence.
4. Verify
Each regenerated table is compared with the original, cell by cell, at zero tolerance by default.
5. Attest
Independent re-derivation from the original source, then the gate. The traceability matrix is closed.