# Why 82% first-pass parity still needs 9.7 hand fixes per 1,000 PHP lines

> Source: <https://dev.to/kuttyshal/why-82-first-pass-parity-still-needs-97-hand-fixes-per-1000-php-lines-211j>
> Published: 2026-12-02 14:12:39+00:00

**Recommendation:** Budget verification separately from code generation: replay real traffic and fixtures to catch the residual defects, since 82% first-pass parity still left 9.7 hand fixes per 1,000 lines.
More in the playbook "Evals and testing for LLM apps": <https://wpnews.pro/playbooks/evals-testing>

AI coding tools have changed the economics of rewriting legacy code, yet CTOs at 50-2,000 person enterprises in insurance, logistics, manufacturing, healthcare, education, retail and financial services quickly discover the real bottleneck: drafting Java 21 / Spring Boot classes is fast, while proving behavioural parity is slow.

On one benchmark wave inside [MigrateForge](https://migrateforge.com), first-pass parity reached **82%**. Closing the final 18% still required **9.7 hand fixes per 1,000 lines of PHP**.

The 82% that works on the first pass is usually straightforward route and CRUD mapping. The 9.7 hand fixes per 1,000 lines cluster around legacy behaviours nobody documented:

`sql_mode` edge cases.
If you rely on manual staging QA to hunt down 9.7 subtle defects per 1,000 lines across a 20-100k line plain PHP or CodeIgniter 3 monolith, cutover timelines slip and regressions reach production.

At MigrateForge, the translator never certifies its own work. Capture, replay and verification run on your own machines, covering plain PHP and CodeIgniter 3 today (Laravel is not supported today, not shipped yet).

All metrics come strictly from those two benchmarks (4 verified waves, 2,054 fixture rows, 100.00% Java-route and system parity, 0 write-effect, outgoing API or mail differences after fixes), with no paying clients yet.

Teams start with a free migration report (INR 0, no source code needed) at [migrateforge.com](https://migrateforge.com). Assessment bands are INR 0.8-1.5L (<20k lines), INR 1.5-3.5L (20-100k lines) and INR 3.5-8L (>100k lines); migration is INR 18-35k per 1,000 lines.

For CTOs and VPs Engineering: how are your teams finding the hidden 18% when modernising legacy PHP codebases?
