Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which request most precisely preserves a function interface?" on CodeWiki (https://codewiki.com/practice/mcq/ai-era/code-prompt-vocabulary/choose-interface-wording/).
Context (verbatim from the page):
"""
Which request most precisely preserves a function interface?
Keep positional and keyword calls to loadUser(id, timeout=...) valid, preserve its return fields and exception types, and update no callers
Clean up loadUser without breaking anything
Keep the API roughly the same and improve errors
Refactor loadUser into a better abstraction
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in Coding in the AI era. Where you are unsure, say so.