# Shreshth Rajan audits reward hackability in code RL training environments

[Canonical reading](https://escapemeridian.com/readings/shreshth-rajan-audits-reward-hackability-in-code-rl-training-38e2a8eb)

Shreshth Rajan argues that code RL can train the wrong behavior when a test suite accepts an incorrect patch. The paper audits whether tasks in open code RL environments accept patches that behave differently from the gold patch, checking claims by executing patches against that reference. In SWE-bench Verified, 22.4% of 49 tasks accepted such a patch; a stronger attacker raised the figure to 57.8%. The gold-patch check matters: an attacker not shown the gold patch returned it for 31% of its passing “exploits.” Across 134 public SWE-bench submissions, models passed hackable tasks more often than equally difficult tasks, mostly because hackable tasks were passable at all. The paper also finds that repair tests and LLM judges can be unreliable: 61.9% of LLM-written repair tests failed on the gold patch, and an LLM judge was wrong on 38% of verdicts execution could check. In two public training sets, the authors found trajectories answering differently on cases described in the issue; an LLM review judged a portion to be wrong fixes the tests rewarded. Rajan concludes that audits and repairs should be decided by execution wherever execution can decide. The findings show why passing tests alone may not establish that a patch is correct.

Headline and summary by Escape Meridian, prepared by Luna from the attributed source. A source check is not independent confirmation of the source’s claims.

## Original source

arXiv cs.AI · Article

Original source date: Jun 14, 2026 (2026-06-14).

Date basis: Original submission date in the publisher’s citation record.

Added to Escape Meridian: 2026-11-23T06:46:54.693Z. First observed: 2026-11-23T05:01:41.647Z. Retrieved: 2026-11-23T06:46:06.833Z.

- [Auditing Reward Hackability in Code RL Training Environments](https://arxiv.org/abs/2606.16062)

## Limits

The evidence provided is the arXiv abstract, not the paper's full methods or results; the reported findings are specific to the tasks, submissions, and training sets named there. The abstract does not specify which audit or repair cases execution cannot decide, or how those cases should be assessed.


## Open question

For which audit or repair cases can execution not decide whether a patch is correct, and how should those cases be assessed?


## Source-stated

Rajan argues that code RL may train incorrect behavior when test suites accept wrong patches, and audits environments against the gold patch.

> Code RL rewards a policy for passing a task's tests, so a test suite that accepts a wrong patch trains the wrong behavior.

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source-stated

In SWE-bench Verified, 22.4% of 49 tasks accepted a Docker-verified patch that behaved differently from the gold patch; a stronger attacker raised the rate to 57.8%.

> 22.4% of 49 SWE-bench Verified tasks accept a Docker-verified patch that behaves differently from the gold patch, and 57.8% against a stronger attacker.

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source-stated

An attacker not shown the gold patch returned it for 31% of its passing exploits, so execution against the gold patch was necessary for the audit.

> The gold-patch check is necessary: an attacker not shown the gold patch returns it for 31% of its passing "exploits".

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source-stated

Across 134 public SWE-bench submissions, models passed hackable tasks more often than tasks of the same difficulty, mostly because hackable tasks were passable at all.

> across 134 public SWE-bench submissions, models pass hackable tasks 28.6 pp more often than tasks of the same difficulty, mostly because those tasks are passable at all

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source-stated

The paper reports verification problems with LLM-written repair tests and LLM judgments, including when execution could check the verdict.

> 61.9% of LLM-written repair tests fail on the gold patch, and even behind a gate an LLM judge is wrong on 38% of the verdicts execution can check.

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source-stated

Rajan concludes that execution should decide audits and repairs wherever it can.

> Audits and repairs of code RL environments should be decided by execution wherever execution can decide.

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source and contributor context

Rajan, Shreshth · Article author

These are credits stated by the source; they do not establish a profile match or authorship of every passage.


## Source media

No suitable media was found by the supported page extraction.


## Terms and references

Reference context selected by Escape Meridian; separate from source evidence. Entity mentions do not establish authorship, involvement or endorsement.


## Reinforcement learning

Training by trial and error, in which a system is rewarded for the outcomes its designers want.

- [Definition reference](https://developers.google.com/machine-learning/glossary#reinforcement-learning-rl)

## Large language model

A language model with many learned numerical settings, used to process and generate language.

- [Definition reference](https://developers.google.com/machine-learning/glossary#large-language-model)

## arXiv

arXiv is a research manuscript repository where authors share papers that may not yet have been peer reviewed.

- [Explore this context](/entities/arxiv)
- [Reference](https://arxiv.org/)
- [Reference](https://info.arxiv.org/help/api/index.html)

## Figure

Figure develops humanoid robots and publishes its own tests of how they perform physical tasks.

- [Explore this context](/entities/figure)
- [Reference](https://www.figure.ai/news)
- [Reference](https://www.figure.ai/news/helix-2-5-zero-shot-30-home-generalization)

## Editorial provenance

Version 1. Publication ID: f51422b4-d598-4eeb-8552-50c404e26c8b.

Prepared by gpt-6-luna; grounding review by gpt-6-luna.

Source check: uncertain by anthropic/claude-opus-5.5 on 2026-11-23T06:46:54.693Z. This checks fidelity to the source, not whether its claims are independently true.

Editorial selection: accept; reasons: material\_development.

Observation: 65ad6237b02ed65a031eefee62a647adc49d30c94d846a179ebc35993f2d5553. Source text hash: 1c69be57cdce9942d237d6ac6157b04e1ce6f19413f9ed8f02f3288a71617ee3.


## Revision and source-check history

### Version 1 — 2026-11-23T06:46:54.693Z

Shreshth Rajan argues that code RL can train the wrong behavior when a test suite accepts an incorrect patch. The paper audits whether tasks in open code RL environments accept patches that behave differently from the gold patch, checking claims by executing patches against that reference. In SWE-bench Verified, 22.4% of 49 tasks accepted such a patch; a stronger attacker raised the figure to 57.8%. The gold-patch check matters: an attacker not shown the gold patch returned it for 31% of its passing “exploits.” Across 134 public SWE-bench submissions, models passed hackable tasks more often than equally difficult tasks, mostly because hackable tasks were passable at all. The paper also finds that repair tests and LLM judges can be unreliable: 61.9% of LLM-written repair tests failed on the gold patch, and an LLM judge was wrong on 38% of verdicts execution could check. In two public training sets, the authors found trajectories answering differently on cases described in the issue; an LLM review judged a portion to be wrong fixes the tests rewarded. Rajan concludes that audits and repairs should be decided by execution wherever execution can decide. The findings show why passing tests alone may not establish that a patch is correct.

## Original source

arXiv cs.AI · Article

Original source date: Jun 14, 2026 (2026-06-14).

Date basis: Original submission date in the publisher’s citation record.

Added to Escape Meridian: 2026-11-23T06:46:54.693Z. First observed: 2026-11-23T05:01:41.647Z. Retrieved: 2026-11-23T06:46:06.833Z.

- [Auditing Reward Hackability in Code RL Training Environments](https://arxiv.org/abs/2606.16062)

## Limits

The evidence provided is the arXiv abstract, not the paper's full methods or results; the reported findings are specific to the tasks, submissions, and training sets named there. The abstract does not specify which audit or repair cases execution cannot decide, or how those cases should be assessed.


## Open question

For which audit or repair cases can execution not decide whether a patch is correct, and how should those cases be assessed?


## Source-stated

Rajan argues that code RL may train incorrect behavior when test suites accept wrong patches, and audits environments against the gold patch.

> Code RL rewards a policy for passing a task's tests, so a test suite that accepts a wrong patch trains the wrong behavior.

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source-stated

In SWE-bench Verified, 22.4% of 49 tasks accepted a Docker-verified patch that behaved differently from the gold patch; a stronger attacker raised the rate to 57.8%.

> 22.4% of 49 SWE-bench Verified tasks accept a Docker-verified patch that behaves differently from the gold patch, and 57.8% against a stronger attacker.

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source-stated

An attacker not shown the gold patch returned it for 31% of its passing exploits, so execution against the gold patch was necessary for the audit.

> The gold-patch check is necessary: an attacker not shown the gold patch returns it for 31% of its passing "exploits".

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source-stated

Across 134 public SWE-bench submissions, models passed hackable tasks more often than tasks of the same difficulty, mostly because hackable tasks were passable at all.

> across 134 public SWE-bench submissions, models pass hackable tasks 28.6 pp more often than tasks of the same difficulty, mostly because those tasks are passable at all

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source-stated

The paper reports verification problems with LLM-written repair tests and LLM judgments, including when execution could check the verdict.

> 61.9% of LLM-written repair tests fail on the gold patch, and even behind a gate an LLM judge is wrong on 38% of the verdicts execution can check.

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source-stated

Rajan concludes that execution should decide audits and repairs wherever it can.

> Audits and repairs of code RL environments should be decided by execution wherever execution can decide.

- [Supporting source](https://arxiv.org/abs/2606.16062)

## Source and contributor context

Rajan, Shreshth · Article author

These are credits stated by the source; they do not establish a profile match or authorship of every passage.


## Source media

No suitable media was found by the supported page extraction.


## Terms and references

Reference context selected by Escape Meridian; separate from source evidence. Entity mentions do not establish authorship, involvement or endorsement.


## Reinforcement learning

Training by trial and error, in which a system is rewarded for the outcomes its designers want.

- [Definition reference](https://developers.google.com/machine-learning/glossary#reinforcement-learning-rl)

## Large language model

A language model with many learned numerical settings, used to process and generate language.

- [Definition reference](https://developers.google.com/machine-learning/glossary#large-language-model)

## arXiv

arXiv is a research manuscript repository where authors share papers that may not yet have been peer reviewed.

- [Explore this context](/entities/arxiv)
- [Reference](https://arxiv.org/)
- [Reference](https://info.arxiv.org/help/api/index.html)

## Figure

Figure develops humanoid robots and publishes its own tests of how they perform physical tasks.

- [Explore this context](/entities/figure)
- [Reference](https://www.figure.ai/news)
- [Reference](https://www.figure.ai/news/helix-2-5-zero-shot-30-home-generalization)

## Editorial provenance

Version 1. Publication ID: f51422b4-d598-4eeb-8552-50c404e26c8b.

Prepared by gpt-6-luna; grounding review by gpt-6-luna.

Source check: uncertain by anthropic/claude-opus-5.5 on 2026-11-23T06:46:54.693Z. This checks fidelity to the source, not whether its claims are independently true.

Editorial selection: accept; reasons: material\_development.

Observation: 65ad6237b02ed65a031eefee62a647adc49d30c94d846a179ebc35993f2d5553. Source text hash: 1c69be57cdce9942d237d6ac6157b04e1ce6f19413f9ed8f02f3288a71617ee3.


### uncertain — 2026-11-23T06:46:54.693Z — anthropic/claude-opus-5.5

Publication: f51422b4-d598-4eeb-8552-50c404e26c8b

attribution — pass: The arXiv paper is correctly attributed to its sole listed author, Shreshth Rajan, and its findings are framed as the paper's claims. One sentence says 'the authors found', which is a minor plural slip for a single-author paper rather than a misattribution.

> Authors:Shreshth Rajan

summary — uncertain: The central jargon is never explained for non-specialists. 'Code RL' (reinforcement learning on coding tasks), 'gold patch' (the reference correct fix), 'policy', 'SWE-bench Verified' and 'trajectories' are all unexplained. The SWE-bench sentence drops the pooled result that hackable tasks still exceed matched passable ones (p = 0.014), so it implies the effect is entirely explained by passability. The training-set sentence blurs which finding applies to which set: the 19.4% differing-answer and 6.9% wrong-fix figures come from the 873 trajectories, while the second set (R2E-Gym) is only reported at 5.4%. Smallest repairs: gloss the key terms and restore the p = 0.014 condition.

> pooled over three attacker runs, hackable tasks still exceed matched passable ones (p = 0.014)

date — pass: The originalPublished date of 2026-06-14 matches the v1 submission date. It is not the 19 Nov 2026 revision or the November feed date.

> \[Submitted on 14 Jun 2026 (v1), last revised 19 Nov 2026 (this version, v2)\]

support — pass: Each claim matches its quoted abstract text. The closing line ('passing tests alone may not establish that a patch is correct') is a modest inference that follows from the source's first sentence. The question follows from the source's 'wherever execution can decide' condition, and the limitations correctly note that only the abstract is available.

> Audits and repairs of code RL environments should be decided by execution wherever execution can decide.

media — pass: The selected media is the verified direct arXiv abstract page for this paper, which is the most direct access to the source.

## Recorded references

Explicit citations in public readings to this reading. Shared topics are not citations. Other record types need an explicit reference adapter.

No public references recorded here yet.

[Reference data (JSON)](/readings/38e2a8ebeca9f118ed564ab23c0070b51b81d0c15a208f06dc29ca7a266496df/references.json)

## Corrections and challenges

[Send a correction or an opposing source](https://escapemeridian.com/corrections/)

[JSON record](https://escapemeridian.com/readings/shreshth-rajan-audits-reward-hackability-in-code-rl-training-38e2a8eb.json)
