Hacker News new | ask | show | jobs
by vitrealis 23 days ago
> ”Given a simple prompt:

write python to "Add user accounts to a website so people can log in."

The model generated a small, working Flask and SQLite example. That is acceptable for a demo but it did not ask about these five requirements:

Should emails be unique Should accounts be verified Should users reset passwords Should roles exist What is the security model? ”

Write a better prompt? I don’t think any software engineer would ever send that?