Diagnoses why tests pass inconsistently and suggests fixes for timing, ordering, and state isolation issues.