Code Repair
Domain: Code Generation
π― Motivation
When code has bugs, the model can analyze the error and generate a fix. Like having a debugging partner.
π Concrete Example
Broken code: βdef add(a, b) return a + bβ (missing colon). Model: βMissing colon after the function definition. Fixed: def add(a, b): return a + bβ
π Analogy
A mechanic diagnosing a car - they hear the engine sputter, identify the problem (bad spark plug), and fix it. Code repair is the model diagnosing and fixing code bugs.