Figure out why a test fails and fix the right thing.
Coding💾 0 savesby PromptChief Team
Help me debug a failing test.
THE TEST:
```
[[TEST_CODE]]
```
THE FAILURE OUTPUT:
```
[[FAILURE]]
```
CODE UNDER TEST (if relevant):
```
[[CODE]]
```
Walk me through:
1. What the failure actually tells us
2. Is the bug in the code or the test itself?
3. The most likely cause
4. The fix (and which file it belongs in)
5. Whether this points to other untested cases