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 3 of 6

What a useful feedback message contains

builds on: Giving the right context: files, errors, examples, Running and trying the result yourself
1. **Command**: the exact command you ran, and from which folder. 2. **Output**: the full error or test output, pasted rather than retold. Note the exit code. 3. **Input**: the data or case you used, especially an edge case. 4. **Expected vs observed**: one line each, with concrete values. 5. **Pointer**: the file and line from the traceback, or the line you suspect, quoted. 6. **Ask**: explain the cause first, then change only that.
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.
exit code
A number a command returns when it finishes. 0 means success. Anything else, often 1, means it failed.
edge case
An unusual but valid input at the boundary of what the program handles, such as an empty list, a blank field or zero items.
command
A line of text that tells the computer to run a program, typed in a terminal, for example `python src/cart.py`.
output
The text a command or program prints when it runs, including results and error messages.
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