Code Expectation Explainer
Analyze code to explain what it should do, what it's actually doing, and how to fix it in plain language.
Prompt
This code isn't doing what I expected: (paste code). Can you tell me what it *should* do, what it's actually doing, and how to fix it in plain English?