# Hybrid LLM-Deterministic Pipelines for Enterprise-Scale Code Migration at Bloomberg

arXiv: https://arxiv.org/abs/2611.05457 · HTML: https://mlsanity.com/paper/2611.05457/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 16 of its 24 references that are in the map.
- Submitted 3 Nov 2026.

## Builds on (most cited first, 16 of 16)

- [Migrating Code At Scale With LLMs At Google](https://mlsanity.com/paper/2504.09691/) (2025)
- [MigrationBench: Repository-Level Code Migration Benchmark from Java 8](https://mlsanity.com/paper/2505.09569/) (2025)
- [RustMap: Towards Project-Scale C-to-Rust Migration via Program Analysis and LLM](https://mlsanity.com/paper/2503.17741/) (2025)
- [How is Google using AI for internal code migrations?](https://mlsanity.com/paper/2501.06972/) (2025)
- [LLMigrate: Transforming "Lazy" Large Language Models into Efficient Source Code Migrators](https://mlsanity.com/paper/2503.23791/) (2025)
- [RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing](https://mlsanity.com/paper/2602.22518/) (2026)
- [Continuous Benchmark Generation for Evaluating Enterprise-scale LLM Agents](https://mlsanity.com/paper/2511.10049/) (2025)
- [User-Centric Deployment of Automated Program Repair at Bloomberg](https://mlsanity.com/paper/2311.10516/) (2023)
- [ORBIT: Guided Agentic Orchestration for Autonomous C-to-Rust Transpilation](https://mlsanity.com/paper/2604.12048/) (2026)
- [SPELL: Synthesis of Programmatic Edits using LLMs](https://mlsanity.com/paper/2602.01107/) (2026)
- [Environment-in-the-Loop: Rethinking Code Migration with LLM-based Agents](https://mlsanity.com/paper/2602.09944/) (2026)
- [C2RustXW: Program-Structure-Aware C-to-Rust Translation via Program Analysis and LLM](https://mlsanity.com/paper/2603.28686/) (2026)
- [MigrateLib: a tool for end-to-end Python library migration](https://mlsanity.com/paper/2510.08810/) (2025)
- [What a diff makes: automating code migration with large language models](https://mlsanity.com/paper/2511.00160/) (2025)
- [Beyond Blind Spots: Analytic Hints for Mitigating LLM-Based Evaluation Pitfalls](https://mlsanity.com/paper/2512.16272/) (2025)
- [Pomona: Continuous Code Quality Improvement via Small, Agentic Pull Requests at Bloomberg](https://mlsanity.com/paper/2606.06752/) (2026)

## Abstract (arXiv)

Large organizations carry a long tail of infrastructure migrations that are worth doing but rarely urgent enough to compete with feature work, because each one costs significant engineering time per repository. This paper reports on our industrial experience from Automated Uplift, a multi-month initiative applying LLM-assisted migration pipelines across thousands of Bloomberg repositories. We examine two distinct production campaigns: a heterogeneous Python packaging migration (approx. 1,900 candidate repositories) and a uniform C++ build system migration (approx. 6,700 candidate repositories). Together, these campaigns generated 2,333 pull requests, resulting in 729 successful migrations. We detail our hybrid architectural solution which maximizes deterministic processing, confines the LLM to bounded file transformations within a pre-computed context, and incorporates runtime production telemetry (such as execution logs and usage traces). Our findings show that generating migrations turned out to be the easier part; the bottleneck was the cost, for owning teams, of reviewing, testing, and deploying them. These costs were lowered when changes could be verified directly in the pipeline before opening a PR (as with C++ compilation and test validation), and when the population was uniform enough for fixes to carry over from one repository to the next. We conclude by distilling our experience and findings into actionable, transferable patterns for architecting hybrid LLM-deterministic pipelines and scaling code migrations across the enterprise
