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.