Blog
AI Coding Benchmarks Must Cover Legacy Code
AI coding benchmarks reflect only part of the technology mix that many enterprises run in practice. OpenAI is therefore expanding its evaluations by ten programming languages and is releasing Exercism tasks for 19 languages, including COBOL and SQLite.
More languages are only the starting point
SWE-Lancer Polyglot evaluates real software tasks from a range of language ecosystems. According to OpenAI, the dataset contains more than 1,400 tasks from over 20 repositories, all of them derived from completed and paid freelance work. The accompanying repository documents how the evaluation is structured and makes the benchmark artifacts publicly inspectable.
This is relevant because production portfolios rarely consist of Python, JavaScript, and current frameworks alone. Core processes still run on COBOL, SQL dialects, C, Java, and integrations that have grown over time. A strong aggregate score on a popular coding benchmark tells you little about whether a system can safely analyse, test, or modify that specific estate.
Modernisation requires more than code generation
IBM describes mainframe modernisation as a multi-stage process that covers application analysis, planning, automated refactoring, and validation. That separation matters: a model can generate syntactically plausible target code and yet change business rules, data formats, transaction boundaries, or error paths.
A credible pilot should therefore draw on a representative sample of the organisation’s own portfolio instead of arbitrary demo tasks:
- Languages and runtimes: Which versions, compilers, and databases are in use today?
- Business logic: Which programs hold critical calculations, postings, or permissions?
- Test coverage: Which regression tests would catch semantic changes?
- Maintainability: Can the existing team understand and run the generated code?
- Approval: Who decides whether analysis, refactoring, or migration may go into production?
What enterprises should do next
The average solve rate alone is not a good yardstick for coding agents. It is better to build an internal evaluation suite from anonymised, realistic tasks: defect analysis, small changes, SQL migrations, interface adjustments, and tests covering the most important legacy systems. Measure correctness, rework, runtime, cost, and any unintended behavioural changes.
The new benchmark widens the view on underrepresented languages. The procurement decision still has to be made per organisation: a coding system is only as suitable as the tasks against which you tested it.