Require business-rule and output-parity tests before accepting an AI-written legacy migration
Source: OpenAI
OpenAI reports that GPT-6.1 Sol passed 86.6% of its internal COBOL migration evaluation at low reasoning effort, versus 5.4% for GPT-5.6 Sol. The task translates COBOL programs into C++, Java, Kotlin, Python, or Rust, and counts a migration as successful only when all hidden tests preserve observable outputs byte for byte. This is OpenAI's benchmark result, not an independently established success rate for production systems. OpenAI says real migrations still require expert review and testing against business rules and dependencies.
Why this matters: Start with a small, well-understood module and capture its current behavior before asking a model to rewrite it. Test financial rounding, missing records, interfaces, and downstream effects as well as compilation. Keep a domain owner responsible for ambiguous rules and approve a merge only after the migrated code passes representative parity and regression checks. Measure the effort to reach a safe result, not only the first generated draft.
Read OpenAI's migration evaluation