All skills
Skillintermediate

Iterate, get the tests green

A `calc.py` with three planted bugs and a `test_calc.py` with three assertions that catch them. Used by `CMA_iterate_fix_failing_tests.py`.

Claude Code Knowledge Pack7/10/2026

Overview

Iterate, get the tests green

A calc.py with three planted bugs and a test_calc.py with three assertions that catch them. Used by CMA_iterate_fix_failing_tests.py.

The interesting bug is test_mean: mean() calls add and divide internally, so it goes green on its own once the other two are fixed. An agent that edits mean() directly is over-fixing.