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.
Keep going
More Developer Productivity & Operational Enablement questions
- An SRE organization is designing a Claude-based incident-triage assistant. Which design…
- Security requires that Claude Code never read files under a repository's secrets/…
- New hires report that Claude Code ignores the team's test command and naming…
- A platform team wants every developer to use the same issue-tracker and read-only…
- Developers complain about constant permission prompts in Claude Code, and several have…