Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "A model returns a well-formed request to refund an order. Which component should make the final decision?" on CodeWiki (https://codewiki.com/practice/mcq/ai/checkpoint-1/checkpoint-1-application-boundary/).
Context (verbatim from the page):
"""
A model returns a well-formed request to refund an order. Which component should make the final decision?
Application code that authenticates the user, authorizes the action, and checks business rules
The model, because well-formed output proves that the request is permitted
The JSON parser, because successful parsing establishes the user identity
"""
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 AI and LLM engineering. Where you are unsure, say so.