Skip to page content
SAVRN
Search Plan a project

Dataset · Text generation

R2E-Gym

by Loongsage loongsage/R2E-Gym

This repository contains three environment variants of Each variant contains the same 4,578 tasks in five Parquet shards, with the original 14-column schema and task order.

Rows13,734
Configurations3
Size797.7 MB
Licenseapache-2.0
AccessPublicly accessible
Monthly Downloads67

Dataset Card

By Loongsage, published under apache-2.0, revision fea0c964cce1.

R2E-Gym: OpenCode, Codex, and Claude Code environments

This repository contains three environment variants of R2E-Gym/R2E-Gym-Subset. Each variant contains the same 4,578 tasks in five Parquet shards, with the original 14-column schema and task order. Only docker_image is replaced with the corresponding public image containing the selected agent.

Configuration Files Docker image prefix
opencode opencode/data/*.parquet docker.io/loongsage/r2e-gym:opencode_
codex codex/data/*.parquet docker.io/loongsage/r2e-gym:codex_
claude_code claude_code/data/*.parquet docker.io/loongsage/r2e-gym:claude-code_

Images are hosted in loongsage/r2e-gym on Docker Hub. Choose one configuration for a run; combining configurations repeats the same tasks.

from datasets import load_dataset

opencode = load_dataset("loongsage/R2E-Gym", "opencode", split="train")
codex = load_dataset("loongsage/R2E-Gym", "codex", split="train")
claude_code = load_dataset("loongsage/R2E-Gym", "claude_code", split="train")

The task description is problem_statement. The original prompt column is the meta-prompt used to generate the task, and expected_output_json contains the original grading information. All original columns are retained, including commit contents, execution results, modified files and entity summaries.

For Coda, use the r2e_gym data preprocessor and reward, with input_key: prompt and metadata_key: metadata, and point prompt_data_path at the downloaded opencode/, codex/, or claude-code/ directory.

The opencode, codex, and claude_code configurations load only their respective folders. The older root-level prepared-format file is retained separately and is not included in these configurations.

Upstream dataset license: Apache-2.0.

Structure

opencode 4,578 rows

SplitRowsSize
train4,5783.7 GB
repo_namestringdocker_imagestringcommit_hashstringparsed_commit_contentstringexecution_result_contentstringmodified_fileslistmodified_entity_summarieslistrelevant_fileslistnum_non_test_filesint64num_non_test_func_methodsint64num_non_test_linesint64promptstringproblem_statementstringexpected_output_jsonstring

claude_code 4,578 rows

SplitRowsSize
train4,5783.7 GB
repo_namestringdocker_imagestringcommit_hashstringparsed_commit_contentstringexecution_result_contentstringmodified_fileslistmodified_entity_summarieslistrelevant_fileslistnum_non_test_filesint64num_non_test_func_methodsint64num_non_test_linesint64promptstringproblem_statementstringexpected_output_jsonstring

codex 4,578 rows

SplitRowsSize
train4,5783.7 GB
repo_namestringdocker_imagestringcommit_hashstringparsed_commit_contentstringexecution_result_contentstringmodified_fileslistmodified_entity_summarieslistrelevant_fileslistnum_non_test_filesint64num_non_test_func_methodsint64num_non_test_linesint64promptstringproblem_statementstringexpected_output_jsonstring

Details

Repository
loongsage/R2E-Gym
Publisher
Loongsage
Task category
Text generation
Tags
code, r2e-gym
Size category
Not stated by the source
Languages
en
Revision
fea0c964cce1fdab45c3a0ad5e5022d85a010c79
Last updated
2026-09-24

Files

18 files, 797.7 MB in total.

Data16 files · 797.7 MB
Documentation1 file · 2.4 KB
Repository1 file · 2.5 KB
Every file
FileTypeSizeSHA-256
R2E_Gym_Subset_opencode.parquetData4.3 MB26d698ad9728
claude_code/data/0000.parquetData55.8 MB5651d9046d32
claude_code/data/0001.parquetData43.4 MBd00a1e206c5a
claude_code/data/0002.parquetData50.2 MBd325e15f5913
claude_code/data/0003.parquetData57.9 MBc10cb4d763dd
claude_code/data/0004.parquetData57.7 MBc1c4a4381be9
codex/data/0000.parquetData55.9 MB368913691498
codex/data/0001.parquetData43.5 MBc156cdd8a96c
codex/data/0002.parquetData50.0 MB84c5686a315e
codex/data/0003.parquetData58.0 MB00a849783ae9
codex/data/0004.parquetData56.8 MBd6d41d12ce60
opencode/data/0000.parquetData55.9 MB6a277dcd8062
opencode/data/0001.parquetData43.5 MB1d9bc0dd0111
opencode/data/0002.parquetData50.0 MB6c62e4e5d0a2
opencode/data/0003.parquetData58.0 MB1df4bdcf3415
opencode/data/0004.parquetData56.8 MBe0c9cba7fdc4
README.mdDocumentation2.4 KB—
.gitattributesRepository2.5 KB—

License and Download

License
apache-2.0
Access
No access gate
Download from Loongsage

Released by Loongsage through its official repository on Hugging Face. Read the license.