CCAR-F practice › Claude Code Configuration & Workflows · Question 60 of 105

Claude Code Configuration & Workflows

You asked Claude to convert legacy log lines into structured JSON events. Your prose description is detailed, but across runs it handles timestamps, missing user IDs, and multi-line stack traces differently. What is the most effective next step?

Show answer and explanation

Answer: C — Add 2-3 input/output examples covering timestamps, missing IDs, and stack traces

When a prose description is interpreted inconsistently, two or three concrete input/output examples are the most effective way to show the expected transformation. Pick examples that differ along the dimensions where the results varied. (A) makes the same ambiguous prose louder. (B) doesn't resolve the ambiguity. (D) accepts inconsistency instead of removing it.