Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "A test fails in `checkout()`, and the assertion concerns jurisdiction rounding. Which expansion is best?" on CodeWiki (https://codewiki.com/practice/mcq/ai-era/agent-context-management/choose-dependency-expansion/).
Context (verbatim from the page):
"""
A test fails in `checkout()`, and the assertion concerns jurisdiction rounding. Which expansion is best?
Trace from the test to `checkout()`, its tax dependency, jurisdiction configuration, and relevant callers and tests
Load every file whose name contains `checkout` and stop there
Read only the assertion because it already describes the expected value
Load the largest source files first because they contain more context
"""
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.