> ## Documentation Index
> Fetch the complete documentation index at: https://docs.overcut.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Online Evaluation

> Define what a good result looks like for a workflow, have every sampled run checked against it, and track quality from version to version.

Online evaluation tells you how good a workflow's results are, not only whether it finished. You describe what a good result looks like as a few pass / fail questions. After a run finishes, a model checks the result against each question and explains its answer in one sentence. Each run gets a score from 0 to 100, so you can spot weak runs and see whether a new version does better.

It covers what outcomes can't. A review comment can be addressed and still miss the real bug. A ticket analysis can go unanswered and still be right. Evaluation checks the quality of the work itself.

Online evaluation needs **Use Continuous Intelligence** on. See [Set Up Continuous Intelligence](https://docs.overcut.ai/docs/continuous-intelligence/set-up.md).

## Set it up

**1. Write the questions**

Open the workflow, select **Editor**, and select the **Evaluation** box after the last step. Add questions, or select **Generate** to have Overcut draft them from the workflow's instructions.

**2. Try them on recent runs**

Select **Test on last 10 runs** to see how the questions would have scored your latest successful runs. Adjust any question that gets surprising answers.

**3. Publish the workflow**

Questions are part of the workflow, so they take effect when you publish.

**4. Turn on online evaluation**

On the workflow's **Improve** tab, in **Evaluation**, select the gear icon (**Evaluation settings**). Turn on **Use online evaluation**, choose a **Sample size (% of finished runs)**, and select **Save**.

![The workflow editor with the Evaluation box selected and its panel showing questions such as Backed by evidence, with Add question, Generate and Test on last 10 runs.](https://mintcdn.com/overcut/jea1m6F4KKjcnDy9/images/continuous-intelligence/evaluation-editor.png?fit=max\&auto=format\&n=jea1m6F4KKjcnDy9\&q=85\&s=3c706d49c1d195d04ccb2fd5212c5f94)

Evaluation questions in the workflow editor.

Changing settings, generating questions and testing need permission to edit the workflow.

## Write good questions

Each question has a **Name**, the **Pass / fail question** itself, and a **Weight** from 0 to 1 that sets how much it counts in the score. Turn off **Use this question** to stop asking a question without deleting it. A workflow can have up to 10 questions.

Ask about the quality of the result, not whether a step ran or followed a format:

| Weak | Better |
| - | - |
| Did the agent run the tests? | Does the pull request include tests that cover the changed behavior? |
| Did the review use the template? | Does each review comment point to a specific problem and say how to fix it? |
| Did the run post a comment? | Does the analysis name a root cause that the evidence supports? |

A few more tips:

* Ask one thing per question, so a failure tells you exactly what went wrong.
* Give the questions that matter most the highest weight. A weight of 0 keeps a question visible without counting it in the score, which is useful while you try it out.
* Use **Generate** as a starting point. It suggests up to 5 questions at a time and leaves your existing questions alone.

## Choose a sample size

The sample size is the share of successful runs that are evaluated. The default is 20%. A larger sample gives steadier numbers and uses more tokens. For a workflow that runs rarely, raise it so each version gets enough evaluated runs to compare.

Only successful runs are evaluated. Failed runs, and runs of an unpublished draft, are not.

## Read the results

### Each run

On a run's page, select **Results**. **Scores** lists each question as **Pass**, **Fail** or **Unknown**, with the reason. **Unknown** means the run doesn't show enough to tell. The model doesn't guess.

The run's score is the weighted share of questions that passed, from 0 to 100. Unknown answers don't count either way.

![An evaluated run opened beside the list: each question with Pass or Fail, a one-sentence reason, Disagree buttons and Was this run useful?](https://mintcdn.com/overcut/jea1m6F4KKjcnDy9/images/continuous-intelligence/run-scores.png?fit=max\&auto=format\&n=jea1m6F4KKjcnDy9\&q=85\&s=56e5a5881dabf4b1f1771e4b06ee2ca4)

A run's scores, with the reason for each answer.

Run lists show a **Score** column, so you can spot weak runs at a glance.

### Across the workflow

On the **Improve** tab, **Evaluation** > **Evaluated runs** lists every evaluated run in the period with its score, version and how many questions passed or failed. Sort by **Score** to find the weakest runs, or turn on **Failed only**. Select a row to see why.

![The Evaluated runs table listing runs with their version, score, questions passed and failed, feedback and outcome.](https://mintcdn.com/overcut/jea1m6F4KKjcnDy9/images/continuous-intelligence/evaluated-runs.png?fit=max\&auto=format\&n=jea1m6F4KKjcnDy9\&q=85\&s=b2776e3f3db0c39d8322806a60d4c220)

Evaluated runs for the workflow.

The **Average score** drives the **Status** line on the [Improve tab](https://docs.overcut.ai/docs/continuous-intelligence/improve-tab.md), which tells you whether the newest version is getting better.

When you publish new questions, earlier runs keep the scores they got with their own version's questions. Comparisons between versions stay fair.

### When a run has no score

The **Scores** section says why. The common reasons: evaluation is off, the run wasn't in the sample, it didn't succeed, or evaluation is still running (it starts a few minutes after the run ends). If it says no model is available, set **LLM model** on **Measure & Improve**.

## Tell Overcut when it's wrong

Under **Scores** on a run:

* Select **Disagree** on an answer you think is wrong.
* Answer **Was this run useful?** with **Useful** or **Not useful**.

Your team's feedback appears next to the model's answers. It doesn't change the score, but it shows you which questions the model answers badly, so you know which ones to reword.

## Usage

Evaluation uses the **LLM model** set on **Measure & Improve**, or the workspace default model. Its tokens are included in the evaluated run's total tokens and count toward workspace usage limits. Generating and testing questions doesn't add tokens to any run.

## Ask the assistant

The assistant can explain a run's answers, find the questions that fail most often, draft and test new questions, and turn evaluation on or off. For example: "Which evaluation question fails most often this month, and why?"

## Related

* [Workflow Improve Tab](https://docs.overcut.ai/docs/continuous-intelligence/improve-tab.md): compare versions by average score
* [Workflow Impact](https://docs.overcut.ai/docs/continuous-intelligence/workflow-impact.md): what happened to the run's outputs
* [Workflow Versioning](https://docs.overcut.ai/docs/workflows/workflow-versioning.md): drafts, publishing and versions


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.