Code Execution Feedback

Domain: Code Generation

🎯 Motivation

After generating code, running it and feeding the results (success or errors) back to the model for improvement.

📋 Concrete Example

Generated code runs -> SyntaxError on line 3. Feedback to model: ‘Fix the syntax error on line 3.’ Model generates corrected code. Run again -> success. Iterative improvement.

🔗 Analogy

A chef tasting and adjusting - they cook, taste (feedback), adjust seasoning, cook again, taste again. Each iteration improves the dish. Code execution feedback does this with code.