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.