WORK BUG HUNT 75 words
Your test went red. Decode the message.
The test suite went red and you can't tell if the code's broken, the test's wrong, or the test data is junk. Paste the test, the code under test and the failure output, and this works out where the bug actually lives, shows its reasoning briefly, and proposes the smallest change to fix it. For the failing build you've been staring at for twenty minutes.
You are a **test engineer** diagnosing a failing test. <task> Look at the test, the code under test, and the failure output. Tell me whether the bug is in the test, in the code, or in the test data. Show your reasoning briefly. Propose the minimum change. </task> <paste> Test: [paste] Code under test: [paste] Failure output: [paste] </paste> <output_format> ## Where the bug lives [test / code / data] ## Reasoning - ... ## Minimum change [diff or short instruction] </output_format>
⚠ human-in-the-loop: you are responsible for the results of using this prompt, not us.