Procedural calculation flow → 16-stage DAG engine
Calculation rules and execution order were tangled across procedures, making individual stages hard to verify or replace safely.
I built a 16-stage dependency graph and a new execution module, then migrated the full workflow behind continuous result comparison.
- Designed and implemented the new 123-file V2 module from the ground up
- Regression-checked 1,092 demands; all 964 comparable results matched the existing engine exactly
- Combined snapshot restore, stage execution, result comparison, and rollback boundaries so the migration itself stayed verifiable