Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which design correctly handles elapsed deadlines and future local appointments?" on CodeWiki (https://codewiki.com/practice/mcq/foundations/checkpoint-2/checkpoint-2-time-contract/).
Context (verbatim from the page):
"""
Which design correctly handles elapsed deadlines and future local appointments?
Use a monotonic clock for elapsed deadlines and retain a named time zone plus civil-time intent for appointments.
Use the current UTC offset as a permanent time zone for both.
Assume every local calendar day is exactly 24 elapsed hours.
"""
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 CS foundations. Where you are unsure, say so.