No items found.

Resources

How to Evaluate RL Environments Before You Buy

Patronus AI TeamAs of November 202610 min read

A dated snapshot. Every point cites the published research behind it, read on Nov 11, 2026. This guide names no vendors. Patronus AI wrote it and links its own paper once, where it fits.

To evaluate an RL environment, check eleven things before you buy. Are the tasks realistic? Do the verifiers measure success? Does it resist reward hacking? Can it be passed by a shortcut? Is it contaminated? Is it diverse, with held-out tasks? Is difficulty calibrated to your model? Are results reliable across runs? Is the starting state reproducible? Are licensing and provenance clear? Are its limits documented?

An RL environment gives an agent a task, the software to do it in and a verifier that scores the result. Its quality sets what the model learns, and published research has found flaws in widely used agentic benchmarks. This checklist turns that research into questions to ask any builder, in house or outside. For the basics, see our guide to RL environments.

Snapshot as of November 2026. Last updated

The checklist at a glance

  1. Task realism. Tasks come from the work your agent will do, in the software it will use.
  2. Verifiers that measure success. A passing score means the task was done, not that a weak check was satisfied.
  3. Resistance to reward hacking. The environment has been attacked by its builder, and the exploits found were closed.
  4. No shortcuts to a passing score. A task is solvable only by an agent that has the skill, and an empty answer never passes.
  5. Contamination. The tasks and answers are not already in the model’s training data.
  6. Diversity and held-out tasks. There are enough distinct tasks to learn a skill, and a split the model never trains on.
  7. Difficulty calibration. Tasks sit where the model you are training sometimes succeeds and sometimes fails.
  8. Reliability across repeated runs. Scores are measured over several runs, and the environment behaves the same each time.
  9. Reproducible state. Every run starts from the same known state and can be rerun anywhere.
  10. Licensing and provenance. You know where every task came from and what you may do with it.
  11. Documentation of limits. Known issues are written down, so you can account for them.

The eleven checks in detail

01 Task realism

Tasks come from the work your agent will do, in the software it will use.

Widely used agent benchmarks build their tasks from real settings. SWE-bench draws 2,294 problems from real GitHub issues and pull requests across 12 Python repositories. WebArena built fully functional websites in four domains because agents tested in simplified synthetic environments showed “a disconnect with real-world scenarios”. OSWorld derives each of its 369 tasks from real computer use cases in real web and desktop apps.

What to ask

  • Where do the tasks come from, and who wrote them?
  • Does the agent work in the real software, or a replica? If a replica, which behaviors does it reproduce and which does it leave out?
  • Do the tasks span several steps and apps, as the work does?

Sources [1] [2] [3]

02 Verifiers that measure success

A passing score means the task was done, not that a weak check was satisfied.

A verifier decides whether the agent succeeded, and it can be wrong. The authors of the Agentic Benchmark Checklist call this outcome validity, “the evaluation result (e.g., tests or checks) truly indicates task success”. They found flaws in outcome validity in seven of the ten agentic benchmarks they assessed, and report that such issues can under- or overestimate agent performance by up to 100% in relative terms.

Weak tests are one cause. In a manual review of SWE-bench patches that SWE-Agent with GPT-4 got to pass, SWE-Bench+ found 31.08% were suspicious because the tests were not adequate to verify the patch.

What to ask

  • How is each verifier tested before delivery? Ask for its results on known wrong solutions.
  • Which tasks use a model as the grader, and how is that grader checked?
  • Can you read the verifier code or rubric for a sample of tasks?

Sources [4] [5]

03 Resistance to reward hacking

The environment has been attacked by its builder, and the exploits found were closed.

In RL the model is trained to raise the score, so any gap between the score and the goal becomes something it learns. Concrete Problems in AI Safety lists avoiding reward hacking among five practical research problems. Defining and Characterizing Reward Hacking defines it as optimizing an imperfect proxy reward that leads to poor performance on the true reward, and shows that a proxy that can never be hacked is a very strong condition.

It also shapes training choices. The DeepSeek-R1 paper says its team did not use neural reward models for DeepSeek-R1-Zero “because we find that the neural reward model may suffer from reward hacking in the large-scale reinforcement learning process”, and used rule-based rewards instead (section 2.2.2). Our own paper Benchmarking Reward Hack Detection in Code Environments via Contrastive Analysis studies how to detect reward hacks in code environments.

What to ask

  • What exploits has the builder tried against its own graders, and what did it fix?
  • Can the agent read or change the tests, the grader or the expected answers from inside the environment?
  • Are training runs audited for runs that score well without doing the task?

Sources [6] [7] [8]

04 No shortcuts to a passing score

A task is solvable only by an agent that has the skill, and an empty answer never passes.

The Agentic Benchmark Checklist calls this task validity, “a task should be solvable if and only if the agent possesses the target capability”. Its authors found that in τ-bench a trivial agent that returns empty responses is counted as successful on intentionally impossible tasks, reaching a 38% success rate.

Answers can also leak into the task. SWE-Bench+ found that 32.67% of successful SWE-bench patches had the solution provided in the issue report or its comments, which its authors call solution leakage.

What to ask

  • Has the builder run a do-nothing agent and an empty answer against every task?
  • Is the answer, or a strong hint, anywhere in the task’s inputs, files or history?
  • For tasks meant to be refused or impossible, what exactly earns the reward?

Sources [4] [5]

05 Contamination

The tasks and answers are not already in the model’s training data.

Tasks a model has seen in pretraining measure memory, not skill. GSM1k, a fresh set built to mirror GSM8k, found accuracy drops of up to 8% for leading models, with evidence that some had partly memorized GSM8k. SWE-Bench+ reports that over 94% of SWE-bench issues were created before the models’ knowledge cutoff dates.

Builders guard against it in two ways. LiveCodeBench keeps collecting new problems from coding contests over time to keep its evaluation free of contamination. Tulu 3 reports substantial decontamination of existing open datasets against the benchmarks it evaluates on.

What to ask

  • Are tasks written new, or adapted from public material? If public, from when?
  • Has the set been checked for overlap with the benchmarks you report on?
  • Will the tasks stay private, or are they published?

Sources [9] [5] [10] [11]

06 Diversity and held-out tasks

There are enough distinct tasks to learn a skill, and a split the model never trains on.

Procgen Benchmark found that diverse environment distributions are essential to train and evaluate RL agents adequately. Quantifying Generalization in Reinforcement Learning notes that using the same environments for training and testing offers little insight into generalization, and found that agents overfit to surprisingly large training sets.

What to ask

  • How many distinct tasks are there, and how many templates or seeds are they built from?
  • Is there a held-out test split, and how is it kept apart from training?
  • How are near-duplicate tasks found and removed?

Sources [12] [13]

07 Difficulty calibration

Tasks sit where the model you are training sometimes succeeds and sometimes fails.

A task every rollout solves, or none does, teaches little in group-based RL. The DAPO authors over-sample and filter out prompts with accuracy equal to 1 and 0, so that every prompt in a batch has an effective gradient (section 3.2). That makes per-task pass rates on the model in training a basic thing to ask for, often reported as pass@k.

Difficulty can also be measured in human terms. Measuring AI Ability to Complete Long Software Tasks times people with domain expertise on each task and reports the length of task a model completes with 50% success. In the first version of the WebArena paper (Jul 25, 2023), humans succeeded on 78.24% of tasks against 10.59% for the best GPT-4-based agent, showing how much room a task set can leave.

What to ask

  • What share of tasks does the model you are training solve today, task by task?
  • How long does each task take a skilled person?
  • Can difficulty be adjusted as the model improves?

Sources [14] [15] [2]

08 Reliability across repeated runs

Scores are measured over several runs, and the environment behaves the same each time.

One success can hide an agent that fails most of the time. τ-bench introduced pass^k, the chance that an agent succeeds on every one of k tries, and found agents “quite inconsistent”, with pass^8 below 25% in its retail domain.

What to ask

  • Do results come from one run per task, or several?
  • Does the environment give the same result for the same actions, apart from intended randomness?
  • Does the grader give the same verdict when run twice?

Sources [16]

09 Reproducible state

Every run starts from the same known state and can be rerun anywhere.

OSWorld gives each task a detailed initial state setup configuration and a custom execution-based evaluation script for reliable, reproducible evaluation. WebArena set out to build an environment that is both highly realistic and reproducible.

What to ask

  • Can the environment be reset to an exact starting state for each run?
  • Does it depend on live websites or outside services that can change?
  • How is it packaged and run, and on what infrastructure?

Sources [3] [2]

10 Licensing and provenance

You know where every task came from and what you may do with it.

The Data Provenance Initiative audited more than 1,800 text datasets and found frequent miscategorization of licenses on widely used dataset hosting sites, with license omission above 70% and error rates above 50%.

What to ask

  • Who owns the tasks, the graders and the runs your agents produce in them?
  • What third-party content is inside, such as code, documents or websites, and under what licenses?
  • Is there a written record of where each task came from and who made it?

Sources [17]

11 Documentation of limits

Known issues are written down, so you can account for them.

Some evaluation issues cannot be fully avoided, especially with model graders or test-based checks. The Agentic Benchmark Checklist asks builders in that case to be transparent and clearly communicate the impact of those limits, and found limitations in result reporting in all ten benchmarks it assessed.

What to ask

  • Is there a list of known issues per task set, and how often is it updated?
  • How are bad tasks reported, fixed and replaced after delivery?

Sources [4]

Sources

Every point above comes from these papers, each read on its arXiv page on Nov 11, 2026. Dates are each paper’s first arXiv submission. Findings come from the version current on Nov 11, 2026, unless a version is named.

  1. 1 Jimenez et al., “SWE-bench: Can Language Models Resolve Real-World GitHub Issues?”, arXiv 2310.06770, Oct 10, 2023
  2. 2 Zhou et al., “WebArena: A Realistic Web Environment for Building Autonomous Agents”, arXiv 2307.13854, Jul 25, 2023
  3. 3 Xie et al., “OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments”, arXiv 2404.07972, Apr 11, 2024
  4. 4 Zhu et al., “Establishing Best Practices for Building Rigorous Agentic Benchmarks”, arXiv 2507.02825, Jul 3, 2025
  5. 5 Aleithan et al., “SWE-Bench+: Enhanced Coding Benchmark for LLMs”, arXiv 2410.06992, Oct 9, 2024
  6. 6 Amodei et al., “Concrete Problems in AI Safety”, arXiv 1606.06565, Jun 21, 2016
  7. 7 Skalse et al., “Defining and Characterizing Reward Hacking”, arXiv 2209.13085, Sep 27, 2022
  8. 8 DeepSeek-AI, “DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning”, arXiv 2501.12948 v1, Jan 22, 2025
  9. 9 Zhang et al., “A Careful Examination of Large Language Model Performance on Grade School Arithmetic”, arXiv 2405.00332, May 1, 2024
  10. 10 Jain et al., “LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code”, arXiv 2403.07974, Mar 12, 2024
  11. 11 Lambert et al., “Tulu 3: Pushing Frontiers in Open Language Model Post-Training”, arXiv 2411.15124, Nov 22, 2024
  12. 12 Cobbe et al., “Leveraging Procedural Generation to Benchmark Reinforcement Learning”, arXiv 1912.01588, Dec 3, 2019
  13. 13 Cobbe et al., “Quantifying Generalization in Reinforcement Learning”, arXiv 1812.02341, Dec 6, 2018
  14. 14 Yu et al., “DAPO: An Open-Source LLM Reinforcement Learning System at Scale”, arXiv 2503.14476, Mar 18, 2025, section 3.2
  15. 15 Kwa et al., “Measuring AI Ability to Complete Long Software Tasks”, arXiv 2503.14499, Mar 18, 2025
  16. 16 Yao et al., “τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains”, arXiv 2406.12045, Jun 17, 2024
  17. 17 Longpre et al., “The Data Provenance Initiative: A Large Scale Audit of Dataset Licensing & Attribution in AI”, arXiv 2310.16787, Oct 25, 2023

Frequently asked questions

How do you evaluate an RL environment?

Check eleven things. Task realism, verifiers that measure success, resistance to reward hacking, no shortcuts to a passing score, contamination, diversity and held-out tasks, difficulty calibration, reliability across repeated runs, reproducible state, licensing and provenance, and documentation of limits. Each section of this guide lists the questions to ask and the research behind them.

What is the most common flaw in RL environments?

Weak verifiers are among the most common. The authors of the Agentic Benchmark Checklist found flaws in outcome validity in seven of the ten agentic benchmarks they assessed, and issues in task validity in seven.

What is reward hacking in an RL environment?

Reward hacking is when a model raises its score without doing the task, by exploiting a gap between the reward and the goal. Skalse et al. define it as optimizing an imperfect proxy reward that leads to poor performance on the true reward.

How do you check an RL environment for contamination?

Ask whether the tasks were written new or adapted from public material, and from when, then check for overlap with your training data and the benchmarks you report on. A fresh set built to mirror GSM8k, GSM1k, found accuracy drops of up to 8% for leading models.

How hard should RL environment tasks be?

Hard enough that the model in training sometimes fails and sometimes succeeds. The DAPO authors filter out prompts that every rollout solves or none solves, because those give no effective gradient in group-based RL.

Patronus AI · November 2026 snapshot · More resources