TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: AI-generated spam pull requests?

65 点作者 sudo_navendu大约 2 年前
Are you seeing pull requests in open source projects that are clearly AI-generated?<p>We recently had someone open a pull request to our open source project and the code and the explanation of the code was clearly AI generated. It was obvious that the code doesn&#x27;t work and the person had not tested the code. We do not know what the end goal of the person was but we confronted the person and closed the pull requests.<p>Has any other open source projects experienced this? What did you do?

11 条评论

fishtoaster大约 2 年前
Relatedly, the Rails codebase recently received a (clearly marked) AI-generated pull request: <a href="https:&#x2F;&#x2F;github.com&#x2F;rails&#x2F;rails&#x2F;pull&#x2F;47708">https:&#x2F;&#x2F;github.com&#x2F;rails&#x2F;rails&#x2F;pull&#x2F;47708</a><p>At a glance, it looks like it&#x27;s been mostly well-received and has not yet been immediately closed as spam.
评论 #35359358 未加载
评论 #35359298 未加载
sudo_navendu大约 2 年前
I wrote more about what actually happened here: <a href="https:&#x2F;&#x2F;navendu.me&#x2F;posts&#x2F;ai-generated-spam-prs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;navendu.me&#x2F;posts&#x2F;ai-generated-spam-prs&#x2F;</a><p>It can help set some context to the discussions.<p>TLDR:<p>Recently, a person has been using AI tools to generate code and open pull requests to open source projects I contribute to.<p>The code is entirely wrong and doesn’t work, and it is evident that the person making these pull requests doesn’t understand the code.<p>The person also copied explanations (which was an obvious giveaway as it sounded like a typical &lt;popular AI tool&gt; response) into the pull request and attempted to explain the code and answer questions from the reviewers.<p>We were polite and when it didn’t work, reported the person to GitHub.<p>I don’t want to shame the person publicly. But I want to make other open source maintainers aware that this is a thing and prevent them from wasting time and effort chasing such people down.
enumjorge大约 2 年前
&gt; We do not know what the end goal of the person was but we confronted the person and closed the pull requests.<p>Maybe this was a naïve attempt at inflating their GitHub numbers? Some people use those as a credibility measure when applying to jobs or getting clients.
评论 #35359177 未加载
评论 #35359382 未加载
sergiotapia大约 2 年前
We&#x27;ve seen a guy create thousands of spam NPM packages for is-even, is-odd, is-red, etc. I don&#x27;t doubt we&#x27;ll see many people try to &quot;contribute&quot; to many projects via AI to make a name for himself.
tonsky大约 2 年前
I got one too <a href="https:&#x2F;&#x2F;github.com&#x2F;tonsky&#x2F;FiraCode&#x2F;pull&#x2F;1518">https:&#x2F;&#x2F;github.com&#x2F;tonsky&#x2F;FiraCode&#x2F;pull&#x2F;1518</a>
kypro大约 2 年前
I&#x27;ve said this before, but in the very near future AI will a consume your Jira board, write code, compile it, test it, then raise a PR all without you. In fact, it might not even bother with a PR because the output will be so good it will be comparable to a human trying to critique the moves of stockfish in Chess.<p>Devs who think they&#x27;re &quot;optimising their workflow&quot; with AI are in lala land. Understand that soon you&#x27;re not going to be needed to prompt ChatGPT to do your work for you. You&#x27;re not going to be a 10x engineer, you&#x27;re going to be an unemployed one. You&#x27;re current workflow of copying ACs into ChatGPT then copying the output into VSCode will also be automated soon, obviously.<p>Learn hard skills now as it will buy you a few years. We have all been given a death sentence and most people are still yet to understand this. It&#x27;s unlikely that in the future we&#x27;re building humans will be needed, let alone our inefficient labour.
liopun大约 2 年前
As a developer, it&#x27;s important to pay attention how we are using these tools to co-exist, not to be replaced by them. In addition to using these tools, problem solving skills and creativity are going to be the most important parts of software development jobs in the future. Keep your problem solving skills sharp with ChatGPT help and guidance folks: <a href="https:&#x2F;&#x2F;github.com&#x2F;Liopun&#x2F;leet-chatgpt-extension">https:&#x2F;&#x2F;github.com&#x2F;Liopun&#x2F;leet-chatgpt-extension</a>
Shindi大约 2 年前
This is a good example of bad use of AI. If your developer wrote code and tried to open a PR without talking to anyone, without testing, without an observability plan, without even running the code to make sure there are no errors, that would be crazy!<p>Good AI systems will do all the above.<p>Sorry to plug, but if you&#x27;re a developer interested in building on top of langchain and building similar tech, please email me (in my profile). I&#x27;m a senior developer looking to collab.
评论 #35366990 未加载
georgel大约 2 年前
Don&#x27;t other projects have automated tests that check that the PR will actually compile&#x2F;work? And if the tests fail, the PR is rejected.
评论 #35358757 未加载
评论 #35359431 未加载
xpe大约 2 年前
If the AI PR covered the bases within one standard deviation of your other (human) PRs, would you care?<p>Formerly &quot;hand wavy&quot; questions about humanity, cognition, awareness are now showing up right in front of us. They are transforming into things like (a) is this PR worth my time? (b) does it introduce legal &#x2F; license risk? (c) what principles were considered during its creation and so on.
评论 #35359230 未加载
crop_rotation大约 2 年前
It is the new reality though. Soon AI generated PRs will look human enough to require a good amount of time of the repo maintainers to review.
评论 #35359589 未加载
评论 #35359647 未加载