Workflowscore
Evaluator-optimizer
One call generates, another critiques against criteria, loop until it passes.
What it is and why it exists
Works when there are clear evaluation criteria and iteration measurably helps (translation nuance, code against tests, policy compliance). Expected cost = iterations × (generate + evaluate).
Quick prototype
Generate → “Rate 1–10 and suggest fixes” → regenerate.
In production, at scale
Concrete rubric or external checks, max iterations, stop when the score plateaus, and logs of how many loops each request needed.
Vendors and tools
| DSPy assertions / refine | Programmatic critique loops |
|---|
How it fails
- The evaluator always finds something, so it never stops
- Evaluator and generator share the same blind spots
What the interviewer asks next
When doesn’t evaluator-optimizer help?
When the evaluator can’t reliably tell better from worse — then you pay for loops that don’t move quality.