Skip to content

Factories > Measure & improve

Configuring Scorers

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Configure an LLM-based evaluation that checks completed factory runs from selected agents against criteria you define.

A Scorer is an LLM-based evaluation that checks whether completed runs from selected agents meet criteria you define. For example, it can check, “Did the agent run the tests before opening a pull request?” A Scorer assigns a classification, not a numeric grade, so keep each one focused on a question its failures can point back to.

Every new factory starts with default Scorers: Code Quality for the implement agent, and Efficiency, Task Compliance, Procedure Compliance, and Verbosity for every agent. Each samples a tenth of the runs from its agents. Edit or delete them, or set their sample rate to 0, like any Scorer you create.

Create and edit Scorers on the factory dashboard’s Scorers page, which also holds each Scorer’s results. For Scorers defined as files in a factory definition, see the scorers/<name>/scorer.md syntax and the two scorers in 02-sdlc-issue-to-pr in the warp-factory-examples repository.

Each Scorer has these fields:

  • Agent(s) to evaluate - The agents this Scorer applies to. Select at least one.
  • Judge instructions - The criteria the judge checks for.
  • Judge model - The model that acts as the judge.
  • Classifications - The labels the judge can assign, each with a score.
  • Pass threshold - The score a run needs to pass.
  • Sample rate - The percentage of completed runs from selected agents to evaluate. For example, a 10% sample rate evaluates about one in ten runs.

With a sample rate above 0%, the Scorer automatically evaluates sampled runs after they complete and records a classification, score, and reasoning.

You can also score any single run on demand, which is useful for testing new judge instructions before raising the sample rate. Scoring a run again replaces its previous result from that Scorer.