🔥 3-day streak
GitHub Copilot155 / 190
Question 155 of 190

A developer writes this comment prompt in a Python file that already contains a `User` class and an `Order` class: `# validate it before saving`. Copilot generates validation logic for the `Order` class, but the developer actually wanted validation for the `User` class. According to prompt engineering best practices, what is the most effective fix?

Reviewed for accuracy · Report an issueNext question