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

> At a previous job I made the mistake of letting it write some repository methods that leveraged SQLAlchemy. Even though I (along with my colleague via PR) reviewed the generated code we ended up with a preprod bug because the LLM used session.flush() instead of session.commit() in exactly one spot for no apparent reason.

Ive had ChatGPT do the same thing with code involving SQLAlchemy.



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

Search: