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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The AI Code Review Disconnect: Why Your Tools Aren't Solving Your Real Problem

43 点作者 avikalp2 个月前

7 条评论

Legend24402 个月前
Man, I hate when I'm reading a blogpost and then I realize the whole thing is just an ad for a startup.
评论 #43222511 未加载
评论 #43223070 未加载
评论 #43223307 未加载
评论 #43225969 未加载
Herring2 个月前
AI is not good enough yet for anything requiring deep reasoning, mission-critical work, error detection at a human-expert level, or handling unpredictable edge cases.<p>It just talks like it&#x27;s very smart, and humans apparently have a bias for persuasive communication skills. It&#x27;s also very fast, which humans also think indicates general intelligence. But it&#x27;s not, and that&#x27;s why most LLM tools are author-focused, so that a human expert can catch errors.<p>The way you know fully autonomous driving is nowhere near ready is by noticing we don&#x27;t even trust robots to do fully autonomous cooking and cleaning. Similarly, let&#x27;s see it understand and refactor a massive codebase first.
评论 #43226056 未加载
评论 #43223279 未加载
评论 #43222618 未加载
lukaslalinsky2 个月前
Is the purpose of these tools really to spend less time? I think their main value is reducing mistakes through having one extra set of eyes, even if mechanical ones, looking at the code.<p>As a sole developer of a non-trivial open source project, I&#x27;ve recently started using CodeRabbit, very skeptical about it, but right on the first PR, it actually found a bug that my CI tests did not catch, decided to keep it after that.<p>Gemini Code Assist on the other hand, the first suggestion it did would actually lead to a bug, so that was out immediately.
评论 #43226092 未加载
评论 #43224038 未加载
CompoundEyes2 个月前
I put in a code reviewer that runs and comments when a pull request is created using Github actions and Microsoft GenAIScript. It&#x27;s pretty straightforward. The key thing is we have total control over the prompt to fit our repo and devs needs, can make it multi-stage and deterministic using Typescript code or use agents in GenAIScript to open adjacent files for more context. The value we&#x27;ve received is that a dev can look over the review to catch anything they might have missed and make changes all before another dev looks at it. That saves time. I&#x27;ve seen devs open draft pull requests to get preliminary feedback on work in progress. The reviewer script is versioned with the repo. Currently using a mix of gpt-4o and gpt-4o-mini in parts of the script to do smaller tasks.
评论 #43223766 未加载
评论 #43223204 未加载
mschild2 个月前
We didn&#x27;t purchase a tool, but instead built our own.<p>&gt; most AI code review tools on the market today are fundamentally author-focused, not reviewer-focused.<p>This pretty much describes our experience. Our engineers create a PR and now wait for the review bot to provide feedback. The author will any fix any actual issues the bot brings up and only then will they publish the PR to the rest of the team.<p>From our experience there are 4 things that make the bot valuable:<p>1. Any general logical issues in the code are caught with relative certainty (not evaluating a variable value properly or missing a potential edge case, etc).<p>2. Some of the comments the bot leaves are about the business logic in code and asking about it and having the author provide a clearer explanation helps reviewers to understand what&#x27;s going on as well if it wasn&#x27;t clear enough from the code itself.<p>3. We provide a frontend platform to other engineers in the company that our operations teams interact with. The engineers rarely implement more than 1-2 features a year. We gave the bot a list of coding and frontend guidelines that we enforce (capitalisation rules, title formatting, component spacing, etc) and it will remind reviewers about these requirements.<p>4. We told it to randomly change it&#x27;s way of talking from Yoda to Dr Seuss and some of the comments, while correct on a technical level, are absolutely hilarious and can give you a short giggle in an otherwise stressful day.
savanaly2 个月前
The thing is that inserting AI into the code reviewer side doesn&#x27;t make too much sense. Unless they have a different AI doing the reviewing than the one that helped to write it, there won&#x27;t be anything left to say at that stage. The AI was already involved in writing it and as they mention in the article there&#x27;s points in the writing-with-AI process where the AI editor will try to catch bugs, educate the developer, and so forth. If the reviewing AI can catch further bugs that&#x27;s just proof the writing AI needs to be tightened up, not that there&#x27;s a role for a reviewing AI.<p>The commentary given above is invalid if due to the preferences of the human developers or just weird protocol in their working relationship they end up with different AI&#x27;s in the two instances. But I think in the long term equilibrium this point applies.
评论 #43226139 未加载
shermantanktop2 个月前
An AI tool that told the author how to create a CR that was readable and changed the minimum amount of stuff in one go would actually be helpful. Multipage CRs are only ok if it’s a bulk reformat or file move operation.
评论 #43226147 未加载