Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which statement about concurrent.futures is correct?" on CodeWiki (https://codewiki.com/practice/mcq/python/checkpoint-5/checkpoint-5-future-results/).
Context (verbatim from the page):
"""
Which statement about concurrent.futures is correct?
as_completed() yields futures as they finish, and future.result() re-raises a worker exception
as_completed() preserves submission order, and result() converts failures to None
Calling submit() blocks until the function has returned
"""
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 Python. Where you are unsure, say so.