IN
EditableSource code
Original implementation
Loading Monaco editor...
Referee
Behavior-preserving refactoring workspace
AI refactoring workspace
Describe the improvement you want, then review a focused plan and generated code side by side.
Review workspace
JavaScript ยท input, output, and plan
Original implementation
Generated implementation
Your refactored code will appear here
Submit a focused request to generate a behavior-preserving implementation.
Proposed actions and behavior-preservation guidance
A focused plan will appear here
Referee explains the structural changes before presenting the generated code.