# Improve (workflow)

Stage 5. With a baseline score in hand, **improve** by changing what you control: prompts, retrieval, model, judge rubrics. Then re-run.

## The question this stage answers

*"Can I make it better — and prove it?"*

## What to do

1. **Pick one variable.** Don't tune everything at once.
2. **Make the change.** New prompt, swap model, tweak temperature, add a retrieval re-ranker.
3. **Re-run the evaluation.** Same scorers, same judges.
4. **Compare to baseline.** Stratix shows per-dimension deltas.
5. **Iterate.** Keep what wins; revert what doesn't.
6. **Optimize the judges themselves.** GEPA tunes the judge rubric against labels.

## Two kinds of improvement

* **System under test** — the model, prompt, retrieval, etc.
* **Measurement system** — the scorers and judges themselves

Both deserve attention. Improving the measurement system (GEPA) often surfaces issues in the system under test you couldn't see before.

## Common pitfalls

* **Tuning to the eval, not the customer.** If your eval doesn't reflect customer reality, you'll over-fit.
* **Not retiring obsolete examples.** Your eval set should evolve as the product evolves.
* **Treating one improvement as final.** The frontier moves; revisit quarterly.

## Where to next

* [Govern →](/9.-improve-tune-the-system/workflow.md)
* [Tutorial: Optimize a judge with GEPA](/9.-improve-tune-the-system/05-gepa-optimize.md)
* [Stratix Premium — Judge optimization](/9.-improve-tune-the-system/judge-optimization.md)
* [Concept: Judges](/8.-evaluate-score-the-outputs/judges-1.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.layerlens.ai/9.-improve-tune-the-system/workflow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
