File size: 5,477 Bytes
d19e8c1
 
 
 
 
 
 
b8c31aa
d19e8c1
 
 
 
 
 
 
4bb0ddf
d19e8c1
 
f34379b
d19e8c1
 
 
 
 
 
f34379b
4bb0ddf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d19e8c1
 
 
 
 
2f78770
d19e8c1
 
 
 
2f78770
d19e8c1
 
 
 
 
 
 
 
2f78770
d19e8c1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
064be0c
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
license: other
license_name: mixed-source-licenses
license_link: https://huggingface.co/datasets/HuggingEnvs/repo2rlenv-r2e-gym/blob/main/LICENSES.md
language:
- en
tags:
- rl-environment
- reinforcement-learning
- coding
- harbor
- repo2rlenv
- r2e_gym
size_categories:
- n<1K
viewer: false
---

[![View tasks in Harbor Visualiser](https://img.shields.io/badge/%F0%9F%A4%97%20Harbor%20Visualiser-View%20tasks-FFD21F?style=for-the-badge)](https://huggingface.co/spaces/HuggingFaceH4/harbor-visualiser?dataset=FineEnvs/repo2rlenv-r2e-gym)
# Repo2RLEnv R2E-Gym / SWEGEN

Mine supported bug-fix commits, measure failing-to-passing and regression tests across revisions, and export the buggy starting state and deterministic verifier.

Contains **100 Harbor tasks** generated with the owned
`r2e_gym` recipe in [Repo2RLEnv](https://github.com/huggingface/Repo2RLEnv).
Browse the complete task bundles in [Harbor Visualiser](https://huggingface.co/spaces/HuggingFaceH4/harbor-visualiser?dataset=FineEnvs/repo2rlenv-r2e-gym) or
[open the task folders](https://huggingface.co/datasets/HuggingEnvs/repo2rlenv-r2e-gym/tree/main/tasks). Each folder is a runnable Harbor task:

```text
tasks/<task_id>/
├── task.toml                 # Harbor configuration and provenance
├── instruction.md            # Task shown to the coding agent
├── environment/Dockerfile    # Learner sandbox and its build context
├── solution/solve.sh         # Reference solution entry point
└── tests/
    ├── test.sh               # Verifier entry point; writes the reward
    └── Dockerfile            # Separate verifier sandbox, when configured
```

Example: [task.toml](https://huggingface.co/datasets/HuggingEnvs/repo2rlenv-r2e-gym/blob/main/tasks/r2e-gym-0b19371cfc9ec1a22a7a/task.toml) ·
[instruction](https://huggingface.co/datasets/HuggingEnvs/repo2rlenv-r2e-gym/blob/main/tasks/r2e-gym-0b19371cfc9ec1a22a7a/instruction.md) ·
[verifier](https://huggingface.co/datasets/HuggingEnvs/repo2rlenv-r2e-gym/blob/main/tasks/r2e-gym-0b19371cfc9ec1a22a7a/tests/test.sh) ·
[oracle](https://huggingface.co/datasets/HuggingEnvs/repo2rlenv-r2e-gym/blob/main/tasks/r2e-gym-0b19371cfc9ec1a22a7a/solution/solve.sh).

`data/tasks.jsonl` is an auxiliary metadata index. Download the task folders or
archive below to run the environments. `manifest.json` records source identity,
evidence, diagnostics and measured costs. The generic tabular Hub viewer is
disabled so it does not present the index as the task dataset.

## Generation

Mine supported bug-fix commits, measure failing-to-passing and regression tests across revisions, and export the buggy starting state and deterministic verifier. This is the owned implementation, with full method and deviations documented in the linked recipe RFC. Tasks retain their original source identity and quality labels.

Implementation revision: `d708355cec75638e208753beb82df74eec7eb054`. The exact recipe, source revision,
reward kinds and quality status remain in each original `task.toml`.

## Validation and limitations

Quality label counts: `{"unverified": 100}`.
An `exported` task is a generation artifact. Baseline/reference controls establish
only the behavior recorded in that task's evidence. They do not establish blind
solver success, difficulty, verifier completeness or resistance to reward hacking.
An LLM consistency review is separate from the deterministic task reward.

- Collection-level semantic quality and blind solver success have not been measured for all 100 tasks.
- Per-task controls and missing standalone evidence are recorded explicitly; an export is not an accepted-quality claim.
- Repository and seed license notices remain attached to their original materials.
- This annotation-only revision adds missing uniform evaluation blocks as unverified. Executable task identities and existing quality assessments are unchanged; no new independent quality acceptance is claimed.

## Download and run

`tasks.tar.gz` preserves executable file modes and the original bundle identities:

```bash
hf download HuggingEnvs/repo2rlenv-r2e-gym tasks.tar.gz --repo-type dataset --local-dir ./dataset
tar -xzf ./dataset/tasks.tar.gz -C ./dataset
harbor run --path ./dataset/tasks --agent oracle --env daytona
```

Configure Daytona credentials and Harbor's provider dependencies before execution.
The archive includes references and private tests for the harness; the solver
should receive only the instruction and learner environment. `registry.json`
pins the unpacked task paths to the immutable upload commit.

## Economics

`manifest.json` includes generation costs, failed-attempt costs and outstanding
reservations when available. Cloud lifetime estimates are labeled separately from
provider invoices. Retained task costs and new-generation costs use separate scopes.

## Credits and licensing

- https://github.com/R2E-Gym/R2E-Gym
- https://github.com/huggingface/Repo2RLEnv/blob/a9e6f88bb2ec1e7a929ab224c3b9318c53579d78/docs/rfcs/0024-r2e-gym-recipe.md

See [LICENSES.md](LICENSES.md), bundled notices and per-task provenance. These are
owned adaptations inspired by the credited methods, not an upstream benchmark
release or a claim of exact reproduction of its published results.

## Citation

```bibtex
@misc{fineenvs,
  author = {Kolavi, Adithya S},
  title  = {FineEnvs: Open Source RL Environments for LLM Agents},
  year   = {2026},
  url    = {https://github.com/adithya-s-k/FineEnvs}
}
```