Re:Ask HN: How to deal with shipping AI-written code you don...
by whysosuresh on Tuesday October 20, 2026 @07:20AM
(#50164571)
Yes, this is exactly the problem that used to worry me. Most of my current repo is written by Claude, and I need to have a method to tests the tests.
I've started using Stryker. We have a CI job that mutates the code before running the tests. In the first run, it has returned hundreds of code changes confirming that the tests are biased. I haven't yet fixed those issues, but for now i am banking on this approach.
I've started using Stryker. We have a CI job that mutates the code before running the tests. In the first run, it has returned hundreds of code changes confirming that the tests are biased. I haven't yet fixed those issues, but for now i am banking on this approach.