Coding agent
Step through read → locate → edit → test → review for a failing test.
step 3/5
- 1. Read the failing testdone
tests/test_refund.py::test_annual_window expects 14 days.
- 2. Locate the implementationdone
pricing/refund.py:32 returns a hard-coded 30.
- 3. Edit the constant + add a regression testcurrent
- REFUND_DAYS = 30 + REFUND_DAYS = 14
A patch is not done when the edit applies; it is done when the target test passes, the regression suite stays green, and the diff is reviewable.
Related: Coding agent architecture