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 properly