2 ms·
Not even just flaky tests, but tests that don't specify enough to stop a paperclip maximizer; consider an AI told to stop the 500 errors, which blocks all users
by yjftsjthsd-h 3y ago
Not even just flaky tests, but tests that don't specify enough to stop a paperclip maximizer; consider an AI told to stop the 500 errors, which blocks all users, thereby stopping the 500 errors. (Prior art: Consider the tetris-playing AI that was told to maximize how long it could go without losing, and which "won" by hitting the pause button.)
- faangsticle 3y agoPrompt: Prevent our webapp from returning 500 http status errors AI: Sure! Just replace your handler method with `(req, res) => res.status(200).send("OK")`