CCAR-P practice › Developer Productivity & Operational Enablement · Question 109 of 110

Developer Productivity & Operational Enablement

An intermittent date-handling bug keeps returning. Claude Code has proposed three fixes in succession; each looked correct in review, and each time the bug recurred. What is the best next approach?

Show answer and explanation

Answer: C — Have Claude first write a failing test that reproduces the bug, then iterate until it and the full suite pass

Without an oracle, "looks right" is the only check; a reproducing test gives the fix a verifiable target (c). (a) and (b) keep judging by plausibility. (d) stacks unverified changes and makes the code harder to reason about.