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.
Keep going
More Claude Code Configuration & Workflows questions
- A Claude-written migration script mostly works, but it writes the string "null" when a…
- A developer with no caching experience asks Claude to put a cache in front of a slow…
- Review of a Claude-generated payment module finds three problems: retries re-send…
- Your CI job invokes Claude Code to review pull requests. The job sometimes hangs until…
- Your CI review runs on every push to a pull request. Developers complain that each push…