Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which pair best specifies the phrase “standard shipping is free at €50 or more”?" on CodeWiki (https://codewiki.com/practice/mcq/ai-era/executable-specifications/choose-decisive-acceptance-examples/).
Context (verbatim from the page):
"""
Which pair best specifies the phrase “standard shipping is free at €50 or more”?
4,999 cents costs 500 cents; 5,000 cents costs 0 cents
6,000 cents costs 0 cents; 7,000 cents costs 0 cents
A large order is cheap; a small order is expensive
The implementation contains a variable named threshold
"""
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.