Compare legacy vs modern
compare_implementationsRun an order through both legacy and modern invoice calculators and report whether they agree, so you can verify a refactor before switching MIGRATION_MODE to modern.
Instructions
Run the order through BOTH the legacy and the modern calculator and report whether they agree. Use this to verify a refactor before switching MIGRATION_MODE to modern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Order lines | |
| customerId | Yes | Customer id from list_customers |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | Yes | ||
| legacy | Yes | ||
| modern | Yes |