Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty much. Someone on our team put out a code review for some new feature and then bounced for a 2 week vacation. One of our junior engineers approved it. Despite the fact that it was in a section of dead code that wasn’t supposed to even be enabled yet, it managed to break our test environment. Took senior engineers a day to figure out how that was even possible before reverting. We had another couple engineers take a look to see what needs to be done to fix the bug. All of them came away with the conclusion that it was 1,000 lines of pure AI-generated slop with no redeemable value. Trying to fix it would take more work than just re-implenting from scratch.


> One of our junior engineers approved it.

pretty sure the process I've seen most places is more like: one junior approves, one senior approves, then the owner manually merges.

so your process seems inadequate to me, agents or not.

also, was it tagged as generated? that seems like an obvious safety feature. As a junior, I might be thinking: 'my senior colleague sure knows lots of this stuff', but all it would take to dispel my illusion is an agent tag on the PR.


> pretty sure the process I've seen most places is more like: one junior approves, one senior approves, then the owner manually merges.

Yeah that’s what I think we need to enforce. To answer your question, it was not tagged as AI generated. Frankly, I think we should ban AI-generated code outright, though labeling it as such would be a good compromise.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: