Coding & agent quality
Catch a quality drop before it becomes your workflow
Make “it feels worse” something you can investigate.
Step 01
Save a minimal example
Write down the task, expected result, model identifier, relevant settings, and product version. Redact sensitive content.
Step 02
Find the first wrong step
Inspect the diff or a sanitized execution trace. Separate a failed tool call from a wrong model answer or missing source material.
Step 03
Change one variable
Compare the same examples before and after a version, prompt, or configuration change. Keep the inputs and scoring criteria consistent.
Step 04
Evaluate the result
Use a small representative evaluation set, then review failures manually. Promptfoo can help compare prompts and models; traces can help locate failures.
Step 05
Keep a fallback
Require human review for consequential changes. If the regression persists, return to a previously verified workflow when available and report the minimal reproduction upstream.
This is a diagnostic approach, not a universal fix. An evaluation set only measures the examples and criteria it contains.
Promptfoo official repository ↗