Metraipolis › archive › dc_6caa2ac1442f
CROCODIL: Cross-Model Code Editing with LLMs — arXiv:2609.03894
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.03894
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T01:40:47.388Z
- SHA-256 of the archived text
7856297aa9382d4b105f66e2c4f3cef425e152603599a8df78eaa453a60fe927- Stable URL of this page
https://metraipolis.com/documento/dc_6caa2ac1442f
How to cite
CROCODIL: Cross-Model Code Editing with LLMs — arXiv:2609.03894 — arXiv (en), https://arxiv.org/abs/2609.03894 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6caa2ac1442f (Metraipolis archive dc_6caa2ac1442f, sha256 7856297aa9382d4b105f66e2c4f3cef425e152603599a8df78eaa453a60fe927)
BibTeX
@misc{dc6caa2ac1442f,
title = {CROCODIL: Cross-Model Code Editing with LLMs — arXiv:2609.03894},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.03894},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6caa2ac1442f; sha256 7856297aa9382d4b105f66e2c4f3cef425e152603599a8df78eaa453a60fe927},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.03894. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large language models (LLMs) have become ubiquitous tools for code generation and editing. However, development teams often use multiple LLM assistants. Different developers may prefer different models, and individual developers may switch between models across different coding sessions. Because of this, the edits any one model makes are frequently applied to foreign code originally generated by another model. These LLMs are often trained on different datasets, and as a result have different stylistic preferences. Do LLMs behave differently when they edit foreign code originally written by a different LLM with a different coding style? We find that models tend to make more, and often excessive, edits on foreign code. We introduce CROCODIL (Cross-model Code Editing with LLMs), a post-training framework for reducing excessive edits while preserving functional correctness. CROCODIL's similarity reward penalizes large changes, while its execution reward scores build and test success. We use the product of these two rewards to encourage the policy to decrease the edit size without decreasing the edit task success rate. CROCODIL is available at this https URL . Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-04 in cs.CL). Categorie arXiv: Computation and Language (cs.CL) ; Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.03894 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T01:11:43.561Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-04?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).