Linux 基金会调研:生成式 AI 虽缩短编码时间,却导致开源社区低质量 PR 泛滥
AI cuts coding time, but it's also filling open source's inbox with crap
Linux 基金会最新调查显示,生成式 AI 平均缩短了开发者 52% 的代码编写时间,但也导致开源项目收到的 Pull Request 中约 25% 沦为低质量垃圾代码。在大型项目中该比例升至 31%,curl 等项目更因海量 AI 辅助的漏洞报告而不堪重负。目前仅有 35% 的开源项目制定了允许使用生成式 AI 的规范,多数社区仍缺乏明确的准入政策与维护工具。

Generative AI is saving open source developers time while giving maintainers more rubbish to sift through, according to a Linux Foundation survey. Respondents estimated that a quarter of incoming pull requests – proposed code changes – were low-quality "AI slop." Open source projects have spent the past year grappling with AI-generated contributions, useful vulnerability discoveries, false positives, and duplicate reports. Linus Torvalds has warmed to the tools, while remaining critical of low-quality submissions. The foundation argues that projects need clearer policies and better tools to handle the influx. Almost three-quarters (71 percent) of maintainers reckon GenAI has lowered the barriers to contributing to open source, but just over half (53 percent) disagree that the technology has improved community trust. Respondents estimated that AI cut code-authoring time by 52 percent on average. But for highly complex tasks, 21 percent reported taking longer. Then there is governance. Only 35 percent of projects have a formal policy permitting GenAI use, while 32 percent have no policy and no plans for one, leaving expectations unclear across much of the community. Hilary Carter, SVP of Research at the Linux Foundation, said: "Open source projects need to design for a growing AI-generated contributor base, not simply react to it. That means setting clear expectations for GenAI, putting responsibility for testing and disclosure on contributors and giving maintainers better tools to manage incoming pull requests." Among large projects, the estimated share of incoming pull requests classified as AI slop rises to 31 percent. The workload extends beyond proposed code changes. The curl project announced this week it will move low and medium severity severity flaws to public view to protect a security team almost overwhelmed by AI-assisted reports. Project maintainer Daniel Stenberg said: "We are struggling as a project as all key maintainers feel strained, overloaded and brought to the brink of what we can muster." On the need for better tools for maintainers, Carter said: "If we get those fundamentals right, AI can expand participation without overburdening and increasing costs for maintainers." ®
来源:The Register AI · theregister.com