Buddy, our AI helper, makes mistakes on purpose so you can practice catching them. The mistakes get sneakier as you climb. (Real AI tools make all of these mistakes by accident, too. Thatโs why this skill matters.)
| Level | Name | What Buddy does | How you catch it |
|---|---|---|---|
| L1 | Plain wrong | Gives an answer that is simply wrong. โโcatโ comes after โtheโ 7 times!โ | Check it yourself. Count, look it up, run it. |
| L2 | Confident fib | Mixes true facts with made-up ones and sounds 100% sure. | Check each part on its own. A sure voice is not evidence. |
| L3 | Runs but wrong | Writes code with no error messages that still gives the wrong answer. | Work out a small answer by hand, then write a test that compares. |
| L4 | Lazy test | Writes a test that passes, but checks almost nothing. | Ask โcould this test ever fail?โ Write a test with an exact expected answer. |
| L5 | Actually right | Buddy is correct! | Donโt just distrust Buddy. Prove itโs right with tests that would catch a mistake. |
A good test passes on correct code and fails on buggy code.
python3 -m bughunt test checks both for you. It runs your test on the correct code
AND on Buddyโs code:
| On correct code | On Buddyโs code | What it means |
|---|---|---|
| โ passes | โ fails | ๐ CAUGHT IT! Your test is a bug trap. |
| โ passes | โ passes | ๐๐จ The bug escaped (or, at L5, โ verified: Buddy was right). |
| โ fails | (anything) | ๐ค Your test flags correct code. Check your expectation. |
If you assume Buddy is always wrong, youโre not thinking. Youโre just guessing in the other direction. Bug hunters verify: they trust evidence, not feelings.
Something to think about (optional): honesty means our words match the truth. We check claims, including our own, before we repeat them.