r/ProgrammerHumor • • 14h ago

Meme stateOfCodeReview

Post image
447 Upvotes

39 comments sorted by

17

u/TDSrock 12h ago

Out of curiousity; what is your main gripe with llm based reviews in PRs. At my company its a discussion right now if we do or do not want to implement this and then have 1 human reviewer. Both humans in the loop would be able to tell the llm review that its dumb if needed but it might point out things people forgot and arent xaught by linters, and other more traditional static anlysis.

7

u/PotentBeverage 11h ago • Heartwarming

We tried a few at ours and Coderabbit is kind of shit

Another tool though has been fairly helpful for a first pass, sometimes it spots stuff before human reviewers and sometimes it spots stuff people have missed. Healthy false positive rate though but its a nice to have in addition to proper human review

4

u/OldKaleidoscope7 10h ago

May be a dumb question but why pay for a review service. Your company already should be using another for coding, why not use the same for review?

3

u/PotentBeverage 9h ago

Because the automated github review integration is an extra charge on top of our plan anyway lol, and iirc it was found to be more expensive because it's pure API costs whilst we're small enough to use the delicious subsidised subscription tokens

-3

u/davvblack 9h ago

ehhh how recently did you test coderabbit?

1

u/Appropriate-Key-8271 6h ago

im using it actively, not liking it very actively

4

u/Wonderful-Habit-139 6h ago

Lmao. First we got “what’s the model you tried? The latest models are so good now” and now it’s how recently they tried coderabbit.

2

u/PotentBeverage 7h ago

like a couple weeks ago , not me, colleague of mine.

Edit I'm also being cagey about what automated pr tool we actually ended up using mostly because I like, actually don't like how deeply ai is shoved up our arses everywhere but I still need to eat so I must job

15

u/TombolaOfCincinnatus 9h ago

We use it, and the biggest drawback is that it changes developer behaviour. Instead of preparing a PR to be as good as possible to avoid getting flamed in the review, they start pushing garbage with the hope that the PR bot will tell them what to fix. Preferably with an code agent so you can just paste the pr comments directly into the prompt.

The reviews are powerful, and pretty good at catching logic errors, concurrency problems, missing test coverage and similar static analysis problems. It can sometimes be a bit nitpicky and complain about things that cannot realistic happen, or are acceptable tradeoffs but in general the actual false positive rate is very low. I don't think I've ever seen one comment that has been disprovably false. It will not catch everything though, just like a human reviewer it will occasionally miss things.

It's absolutely terrible at catching bad practices, bad architecture, bad features and so on. In essence it can evaluate if something is done right, but not if the right thing is done.

We use it as a supplement, and still require actual human reviews just as before. But it does find things the humans don't and the automated reviews are much faster than the rest of the CI pipeline anyway, so it's a decent bonus at not a very high cost.

1

u/Jemnite 4h ago

Why is the PR LLM better than the LLM the developer is using?

1

u/BoBoBearDev 3h ago

I have seen this. The generated interferences is not 100% perfect when I asked the same AI to review it. I don't know the reason. But it doesn't really matter IMO. Because it doesn't change the job, which is making code that pass the gate.

•

u/TombolaOfCincinnatus 4m ago

It's not, the LLM the developer is using probably would have caught this if you asked it.

0

u/Paesano2000 6h ago

The change in dev behaviour is palpable, the automatic behaviour is they let AI review it. A human is still looking but the first look is always through the lens of some agent, where they spit out 20 comments on it. How am I supposed to parse all this WITHOUT an LLM organizing it all? What the tool finds isn’t the problem, but just this disconnected reviewer.

2

u/SuitableDragonfly 4h ago

If a human reviewer had given you 20 comments on a PR before LLMs existed, would you have considered responding to the feedback to be impossible? Honestly, this is the worst legacy of LLMs, that they've made people decide that it's impossible to read and understand 20 sentences without a robot summarizing them for you. 

-1

u/flamingspew 8h ago

We have a review bot that uses our architecture guidance. Knows our testing patterns. Coderabbit seems like trash

•

u/TombolaOfCincinnatus 6m ago

Ours does too, but that only catches the more static things from above. Things like library usage, certain patterns and so on. There's no guidance for "the purpose of the code must be right".

It's very hard to put into words what bad architecture is, but I know it when I see it. Just as an example, I recently reviewed a junior PR where he'd introduced a new class to a package that required a whole bunch of boilerplate code to set up what he was trying to do. Instead of making use of already existing classes and code within that package, he (or his LLM) just rewrote it all in his new class. The automated review didn't flag this, as none of it were bad per say, but a human with knowledge of the codebase would easily say that he should instead make use of what already exists instead of duplicating logic.

22

u/roodammy44 9h ago • Regret

We have no AI code reviews at my place. We have many PRs into the hundreds of thousands of lines without a single comment, because obviously it’s impossible for a human to review that. There was a single PR that doubled the amount of code for a 10 year old app.

I’m very interested in whether my company will be around in a couple of years. It’s like an experiment to watch it.

10

u/Sensitivity_Craft 9h ago

That's just the state of coding in 2026 unfortunately, soon enough codebases will be so bad there'll be a reset with a focus on human coders.

3

u/Dreadmaker 8h ago

Yeah this is the thing - it’s between a rock and a hard place here right, because if there’s “no ai reviews” (and I mean, there probably are, because you can just check out the branch and tell Claude to review your local branch and then put its comments on GitHub manually, paraphrased or not, if you want to be stealthy about it), then your reviewers are more or less forced to not review everything. As you said it’s just too much volume. So either you slow down to a crawl, or much more likely, the reviewers scan it real fast, throw down a LGTM, and move on with their lives, which works just fine because the bug fixes come nice and fast.

or, you do ai reviews and potentially catch issues you wouldn’t otherwise because the human reviewers are checked out due to overwhelming volume. So most people are now doing ai reviews if they work in a place with ai code gen. It just is kinda the way of things right now.

Not saying that’s a good thing (at all) but it is the real thing that’s happening out there in the world right now. I’m living through it - we’ve gone though all the stages in between and now rely on coderabbit and Claude code reviews and humans more or less don’t read the code at all on my specific project. It’s pretty wild.

0

u/Western-Anteater-492 9h ago

Use two real reviewers. I can tell you from experience in other fields a) the supervisors should never be equal to the ones manufacturing and b) even one supervisor ain't failsafe and usually, as we learn from experience, the will have different approaches and focuses.

That's kind of the issue with LLM guided and agentic coding. It's like a 3D printed house: You can get one quick and easy and, if we're honest, you probably could assemble it yourself; but it's designed for the ideal case with zero on site factors and final responsibility

0

u/VergilPrime 9h ago

I'm not griping with llm based code reviews, I just .. can already ask Claude or whatever to do that. Why would I need to pay for a separate service?

-1

u/TDSrock 8h ago

I get this and honestly i do every so often. The main benefit would be that its automated and therefor enforced. But the threath there I see is if devs get forced to address each llm review fully we can get into a pedantic nonsensical state.

I like asking models every so often to for example give me a grade. In our case the pr review models use the same budget/service as we use to have agents in the first place so there isnt an additional cost there (beyond the additional prompts ofcourse)

9

u/gandalfx 13h ago

#ad

21

u/Appropriate-Key-8271 12h ago • Regret

no screw coderabbit, this is an anti ad. Couldve used the claude logo or whatever, its just what is used at my company and I hate it

9

u/bobbymoonshine 11h ago

Genuinely this could be a coderabbit ad. Like they’re running ads on the London tube right now that specifically point out how reviewers and the bots that write the code just shrug and go “LGTM” so you need to buy coderabbit for your team to enforce quality

7

u/gandalfx 11h ago

"The only bad marketing is no marketing."

82

u/PunkBoa 14h ago

coderabbit is just spam

52

u/dumbasPL 14h ago

*scam

Same shit tbh

6

u/NeKon69 10h ago

Please no😭😭 don't take away the most social and human part of programming and optimize it away. God I actually hate this. If by the time I become an actual programmer and I'll have to talk to a robot during code reviews.. idk if I would want to work this job anymore

13

u/jnmtx 9h ago
  1. your AI writes the code
  2. your AI writes a Pull Request
  3. you company’s AI reads and reviews the Pull Request
  4. your AI responds to the pull request

in this loop, you are just the meat condom.

7

u/NeKon69 8h ago • Regret

That's what I'm saying.. like what is even the point of this anymore?

-1

u/VergilPrime 7h ago

Middle project manager

1

u/SuitableDragonfly 4h ago

Most PRs I made before LLMs were a thing were also automatically reviewed by SonarQube, this doesn't seem that different, just in terms of human versus computer interaction. If people treated it the same way, I don't think it'd be an issue. The actual problem is that they probably aren't. 

2

u/gerbosan 6h ago

We've been failing at interacting for along time. It is not just the people that want robo maids or the alpha males. Perhaps will have a war against Skynet, a Butlerian Jihad, or a Cybernetic revolt. 🤔 Man, so many scifi books that mention the war against the machines.

2

u/ceilingscorpion 7h ago

Same but Greptile

1

u/Important_Grab3544 5h ago

Just let Claude to pull the comments... after all that think is just another Claude based tool.

1

u/VergilPrime 9h ago

Is this an ad?

-5

u/Hioneqpls 14h ago

😂😂