Two digits, 147 days: the COBOL migration bug that passed every test

runtimeverification.com12 min read

A historical COBOL migration bug at The New York Times, where a date calculation overflowed a two-digit field, highlights the limitations of traditional testing in identifying logic discrepancies during code translations. The author demonstrates how formal semantics and equivalence provers in the K Framework can mathematically prove program equivalence and uncover hidden preconditions across languages like COBOL and Rust. Open article →

More on this topic