Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "A candidate delta is -1 percentage point, the allowed regression is -2 points, and the confidence interval is [-4, +2]. What should the gate report?" on CodeWiki (https://codewiki.com/practice/mcq/ai-era/llm-application-evals/choose-inconclusive-regression/).
Context (verbatim from the page):
"""
A candidate delta is -1 percentage point, the allowed regression is -2 points, and the confidence interval is [-4, +2]. What should the gate report?
Inconclusive, because the interval includes both allowed and forbidden changes
Pass, because the point estimate is above -2 points
Fail, because the interval includes -4 points
Pass, because the interval also includes an improvement
"""
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.