Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Giving useful feedback on a wrong result card 5 of 6

The reply, built from the checklist

builds on: Giving the right context: files, errors, examples, Running and trying the result yourself
Every line tells the agent something it could not see: the command, the pasted traceback, the input, expected vs observed, and where the fix went wrong. The last line asks it to explain the cause before it edits, so it can't just make another guess.
▸ You: Still crashes.
Ran (from project root):
  python stats.py data/orders.csv
Output (exit code 1):
Traceback (most recent call last):
  File "stats.py", line 58, in <module>
    print(average(orders))
  File "stats.py", line 42, in average
    return total / len(orders)
ZeroDivisionError: division by zero
Input: customer C-104 has no orders.
Expected: C-104 shows 0.00, no crash.
Observed: crash at line 42.
Your edit was in load_orders, not average.
Explain why line 42 still divides by 0,
then change only average.
Terms on this card
traceback
Python's name for a stack trace: the printed list of files, lines and functions that were running when an error happened. The actual error is on the last line.
command
A line of text that tells the computer to run a program, typed in a terminal, for example `python src/cart.py`.
agent
An AI tool that doesn't just chat. It reads your project's files, edits them and runs commands to carry out a task you give it.
Learn this step by step on Bytewise
Lesson goal: Respond to a wrong result with concrete evidence: the failing command and its output, the observed vs expected behaviour, and a pointer to the faulty line. Do not reply with 'still broken'. · the whole lesson