Renaissance Labs · Code
Paper · 2026-06

Auditing Reward Hackability in Code RL Environments

Abstract reports 22.4% of 49 SWE-bench Verified tasks accept a patch that differs from the gold patch (57.8% with a stronger attacker).

How to use it

Audit and harden tests before using SWE tasks as RL rewards.

Caveats

49-task sample, single study, June 2026 preprint.

Related

  • CodeScope: Execution-based multilingual, multitask benchmark covering code understanding and generation across many...
  • Defects4J: Classic real-fault Java repair and testing database with infrastructure; used by repair benchmarks such as...
  • AceCoder: Automated test-case synthesis creates (question, tests) pairs for reward models and RL; best-of-32 gains of...
  • Agentless: A simple localize-repair-validate pipeline without autonomous agents that is competitive on...
  • Aider Polyglot benchmark: Hard Exercism exercises where the model must edit files in aider's format and pass tests, measuring...
  • CodeContests+: CodeContests with LLM-generated, validated test generators and checkers to raise test quality, built using...