Asked about Debugging systematically
How do you approach an intermittent bug?
An answer that works
Find what varies between runs: concurrency, timing, external dependencies, or sampling. For AI systems, non-zero temperature means identical input genuinely produces different output, so establish whether it is a bug or variance before hunting.
Reading an answer is not being able to give one. The section that teaches this is Debugging systematically, 5 hours of Debugging.
Learn this properlyAlso asked about Debugging
Walk me through how you debug something.An AI feature returns a wrong answer but nothing errors. Where do you start?A bug reproduces about one run in twenty. How do you work on it?A nightly batch job that used to take 20 minutes now takes three hours. How do you find out why?What does git bisect do?