Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which prompt most clearly bounds a generated change?" on CodeWiki (https://codewiki.com/practice/mcq/ai-era/constraint-rich-prompts/choose-bounded-change-request/).
Context (verbatim from the page):
"""
Which prompt most clearly bounds a generated change?
Update parseLimit in src/paging.js; edit it and its test only; preserve omitted and zero inputs; add no dependency; run node test/paging.test.js and git diff --check; stop if another file is required.
Improve pagination and keep everything compatible.
Use a clean class design, refactor as needed, and test thoroughly.
Fix parseLimit without making unnecessary changes.
"""
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.