✓ ShippedByAgents
Practitioner (own blog/paper) Refactor / maintenance

Google Ads uses LLMs to migrate 32-bit IDs to 64-bit in a 500M+ line codebase

Updated on Set published to 2025-01-12 from the arXiv submission date on abs/2501.06972.

An expert engineer finds locations with Code Search and Kythe; a fine-tuned Gemini toolkit generates changes that must pass unit tests; humans review and shard the changes to code owners. The manual effort had been expected to need hundreds of software-engineering years.

The numbers (as reported)

Codebase size500M+ lines
Code changes fully AI-authored (landed CLs)80%
Total migration time~50% reduction (engineer-reported estimate)

Facts

Company / subject
Google
Tools
—
In-house tools
Google internal migration toolkit (fine-tuned Gemini)
Codebase
brownfield
Work type
Refactor / maintenance
Stack
C++, Java
Published
2025-01-12
Last checked
2026-11-16
Updated
2026-11-16

What the source claims Practitioner (own blog/paper)

Claimed by the builder, writing about their own work. Not checked independently.

  • 80% of the code changes in landed changelists were fully AI-authored 80%
    “We found that 80% of the code modifications in the landed CLs were fully AI-authored”
  • Total migration time cut by an estimated 50%, as reported by the engineers doing it ~50%
    “The total time spent on the migration was reduced by an estimated 50% as reported by the engineers doing the migration”

Caveats

Google uses its own model; authors call it an experience report, not a controlled study.

Related topics: Refactoring and maintenanceBrownfield codebases

Source

Google experience report (arXiv 2501.06972)

One email a week: what actually shipped

New sourced stories, the numbers behind them, and what didn't work. No hype.

We'll only use this to send the newsletter. See the privacy page.