CCAR-F practice › Prompt Engineering & Structured Output · Question 83 of 105
Prompt Engineering & Structured Output
A batch of 5,000 contract extractions completes with 120 failures. Most of the failed contracts were long enough to exceed the context limit. What is the best way to recover?
Show answer and explanation
Answer: D — Resubmit only the failed custom_ids, chunking the oversized contracts
Identify failures by custom_id and resubmit only those, modified for the reason they failed: oversized documents must be chunked or they'll fail the same way. Rerunning everything (a) pays again for 4,880 successes. Unchanged resubmission (b) repeats the context-limit failure. max_tokens (c) limits output length and doesn't make the input fit.
Keep going
More Prompt Engineering & Structured Output questions
- A team wants to move workloads to the Message Batches API for its 50% cost savings…
- A Claude session generates a database migration, then in the same session is asked to…
- A team moved its large pull request reviews to one pass per file, and review depth is…
- A review pipeline posts every finding directly to pull requests. The team wants to send…
- A CI review bot is told to "check that code comments are accurate." Developers dismiss…