How Do You Debug a Prompt That “Almost” Works?

Did you see:

which leads to

which notes

Evaluation, tuning, and shipping safely

Since the question did not note if this was just for ChatGPT and/or API, including all of the info.

Also check out

the noted tools AFAIK are not public but the ideas are valid.