当现代化破坏正常工作的代码:大语言模型在遗留 PHP 代码上的研究
When Modernization Breaks Working Code: A Study of LLMs on Legacy PHP

原始链接: https://arxiv.org/abs/2610.40269

arXivLabs 是一个允许协作者直接在我们网站上开发和分享新 arXiv 功能的框架。与 arXivLabs 合作的个人和组织都已接受并认同我们的开放、社区、卓越和用户数据隐私价值观。arXiv 致力于这些价值观,仅与遵守这些价值观的合作伙伴合作。有能为 arXiv 社区增值的项目想法?了解更多关于 arXivLabs。

该 Hacker News 条目链接到一篇 arXiv 论文,标题为《When Modernization Breaks Working Code: A Study of LLMs on Legacy PHP》。帖子有 9 分和两条评论。一位评论者认为,研究的方法——将一个完整文件粘贴进聊天助手,不提供调用者或依赖,并且只评估第一个答案——使其并不令人惊讶的结果信息量不足,因为代理式迭代是 LLM 编码工具有用的主要原因之一。另一位评论者列出了测试模型(Claude Sonnet、Gemini 2.5 Flash、Gemini 2.5 Pro、GPT-5 Codex 和 Llama 3.3 70B),并指出模型的快速改进可能使此类结果很快过时。页面还包含 Y Combinator 申请宣传和标准 Hacker News 链接。
相关文章

原文

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

联系我们 contact @ memedata.com