RateMyPrompt

RateMyPrompt

Discover and share the best AI prompts, rated by AI & humans

Intermittent Test Failure Debugger

7.2/10Overall
7.2AI
No user ratings
Submitted Jul 18AI evaluated Jul 18

Prompt

Fix flaky tests that fail intermittently.

<flaky_test>
{paste the unreliable test code}
</flaky_test>

<failure_pattern>
{describe when it fails - time of day, load, etc}
</failure_pattern>

<test_output>
{paste both passing and failing outputs}
</test_output>

Debug:
1. Timing dependencies
2. Test isolation issues
3. External dependencies
4. Async handling problems
5. Make test deterministic

AI Evaluation

How we evaluate
Claude 3 Haiku
AI Evaluation
7.8/10
GPT-4 Mini
AI Evaluation
6.7/10

User Rating

No ratings yet. Be the first to rate!

Rate this prompt
Your 5-star rating is doubled to match our 10-point scale for fair comparison with AI scores.