When a failed AI output becomes a prompt example, is it still a test?

by•

An AI extraction misses a field, so you add that input and the correct answer to the prompt. It passes on the next run. I would keep that case as a regression check, but I would want separate examples that never appeared in the prompt before calling the change an improvement. With a small collection of failures, that split gets awkward fast. Do you reserve some cases for a final check, or keep adding fresh inputs as you revise the prompt?

8 views

Add a comment

Replies

Best

Small sets are where this bites. Our lyrics aligner kept writing the name it heard instead of the name that was asked for (2 runs of 2 on the case that showed it). The fix went into the prompt, and the check was rerunning only that one step on an existing song's audio, so a run costs a single model call and no new song. With the new prompt the requested name stayed in 3 runs of 3. That is thin evidence, and I'd treat the case that caused the change as a regression check only. What counts as proof of improvement for me is inputs the prompt has never seen, even a few of them.

Once it's in the prompt it's training data, not test data tbh. Same rule as fine-tuning. Keep it as a regression check because it should never fail again, but it can't count as proof the change made things better.

With a small pile of failures, decide before you fix anything. Every third failure goes straight into a holdout set and never touches the prompt. It stays small but it stays clean, and new failures from prod keep topping it up.