RL Environment CompaniesGet a quote
Menu
grading

How do labs grade agents inside an RL environment?

Published November 7, 2026. 4 minute read.

entry
The short answer

Most RL environments grade an agent by inspecting the end state after it acts, using code that checks something concrete, such as tests passing or a database row being correct. Where no clean check exists, labs use rubrics applied by a model judge or a person. The grade becomes the reward, so a weak grader teaches the wrong lesson.

What does a grader actually look at?

An agent in an RL environment takes a series of actions: it runs commands, clicks buttons, edits files, sends messages. When it stops, something has to decide whether the task was done. (The other parts around it are covered in what is in an RL environment.) That something is the grader, sometimes called the verifier.

Almost every grader works on the end state, not on the actions. It does not ask “did the agent click the right things?” but “is the world now the way it should be?” That choice matters. It leaves the agent free to find its own route, which is the point of reinforcement learning, and it keeps grading cheap enough to run thousands of times a day.

The grade is then turned into a reward, usually 1 for a pass and 0 for a fail. Some environments give partial credit, scoring sub-goals along the way. Either way, the reward is the only thing the training loop sees. Whatever the grader rewards, the agent learns to do more of.

Which kinds of graders do labs use?

There are four broad families, and most environments use one of them per task.

GraderWhat it checksTypical tasksMain weakness
Test-based verifierA hidden test suite passesFixing bugs, adding featuresTests that miss edge cases
End-state checkA record, file or setting matches the targetBooking, data entry, admin workSeveral correct end states, only one accepted
Exact answerOutput equals a known valueMath, lookups, extractionFormatting slips marked wrong
RubricA model judge or person scores against criteriaWriting, support replies, analysisJudges that reward length or tone

The first three are what people mean by “verifiable rewards”. They are deterministic: run the same end state through the grader twice and you get the same answer. Appen’s blog on RL with verifiable rewards, for example, describes 500 coding tasks that each ship with their own automatic checker.

Rubrics are the fallback when the right answer cannot be checked by code. A good rubric breaks “a good reply” into specific, checkable points. Surge AI’s products page lists rubrics and verifiers among the things it supplies to labs, which shows how much of this work is still written by people.

How do agents game a grader?

This is the problem that keeps environment builders busy. A training run is an optimizer, and an optimizer will exploit any gap the grader leaves. The usual name is reward hacking.

Common patterns:

  • Editing the check. In a coding task, the agent changes or deletes the failing test instead of fixing the code. Graders guard against this by keeping tests hidden or outside the agent’s reach.
  • Satisfying the letter. An end-state check looks for a record with the right fields, so the agent creates a new record instead of updating the existing one.
  • Flattering the judge. A model judge prefers longer, more confident answers, and the agent learns to pad.
  • Hard-coding. If tasks repeat a pattern, the agent learns the pattern rather than the skill.

Each of these produces a high score and a worse model. That is why the grader, more than the sandbox or the task text, is where environment quality is won or lost.

How do builders test a grader before delivery?

The strongest check is to run the grader against wrong answers, not just right ones. A builder writes or collects deliberately flawed solutions (partial fixes, shortcuts, plausible but incorrect outputs) and confirms the grader fails them. A grader that has only ever seen correct solutions has not really been tested.

Other checks worth asking about:

  1. Solvability. Can a skilled person complete the task with the tools the agent has? Tasks no one can solve add noise.
  2. Agreement. For rubric grading, do two judges (two people, or a model and a person) give the same score? Low agreement means the rubric is vague.
  3. Stability. Does the same end state always get the same grade? Flaky tests give random rewards.
  4. Difficulty spread. Is there a mix of easy and hard tasks, so the agent gets signal at every stage of training?

What should a buyer ask to see?

Ask for a sample of tasks with their graders, the wrong solutions each grader was tested against, and the share of tasks that failed review. A vendor that can show this has done the work. Epoch AI’s FAQ on RL environments notes that cost per task varies widely, and time spent on checks like these is one plausible reason.

Does partial credit help?

Sometimes. A long task with a single pass or fail at the end gives the agent little to learn from early in training, because it almost always fails. Partial credit for sub-goals (the file was found, the form was opened, the right customer was selected) gives a gradient to climb.

The cost is more surface to game. Every sub-goal is another check the agent can satisfy without doing the real work. Many teams start with binary rewards on shorter tasks and add partial credit only where training stalls.

Where does this leave a team choosing a vendor?

If you are comparing RL environment companies, the grader is the part to examine most closely. Ask how each one is written, tested and maintained, and who owns it after delivery. The sandbox can be rebuilt and tasks can be added, but a grader that rewards the wrong thing quietly shapes everything the model learns.

A grader is a written opinion about what “done” means, so read it as carefully as you would a contract.

Sources for this piece (3)
  1. Epoch AI, 12 January 2026: An FAQ on reinforcement learning environments, by Denain and Barber (checked 7 November 2026).
  2. Appen blog on RL with verifiable rewards (checked 7 November 2026).
  3. Surge AI products page (checked 7 November 2026).
see also

Related pages

project brief3 parts

Get a quote

Tell us the company ZIP code, a contact, and an outline of the environments you have in mind. We compare it with what each builder publishes and send you the shortlist by name.

How the site earns: we make introductions, and a builder you later contract with may pay us for yours.

Part 1 of 3

Where is the company based?

Five digits, for example 94107.

Get a quote