Three proposed memories arrived in one response. Two had short supporting quotes. The third quote ran to 2,001 characters, one character over the limit. The baseline rejected the entire response. What should happen to the two candidates that passed their individual checks?
One overlong quote
In a fresh deterministic rerun on revision f921058, the baseline returned a retryable invalid_output error and kept zero candidates. An experimental extractor checked candidates separately after the response failed validation. It kept two and recorded one drop under evidence.quote:string_too_long. The comparison printed counts and reasons. Identifying the dropped item as the middle candidate comes from inspecting the fixture order.
Twenty-seven valid candidates
The next input contained 27 copies of a valid candidate. The list limit was 25. The baseline rejected the whole response, losing all 27. The prototype kept the first 25 and counted two drops under over_list_cap. Those two items also appeared in its dropped_invalid total. A dashboard that shows only that total makes a capacity decision look like a content defect.
When the response shape breaks
Two more fixtures tested whether candidate-by-candidate recovery had a sensible stopping point. One supplied a bare JSON array. The other supplied an object whose candidates field contained a string. Both implementations returned invalid_output and kept zero in each case. The prototype preserved the retryable error and left the per-candidate drop count unset.
For a pipeline like this, I would record response failures separately from item drops, then break item drops down by reason. A quote-length violation points an engineer toward the evidence field. An overflow points toward the list limit. A malformed envelope means there may be no usable candidate list to count.
The engineering runner used synthetic fixtures and a mocked HTTP provider. Seven extraction tests and one comparison-harness test passed. These examples show how two implementations handled the same inputs. Measuring how often recovery helps requires observations from actual extractor output.
← All engineering articles