rasdani commited on
Commit
6fe2932
·
verified ·
1 Parent(s): 6aec331

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +32 -162
README.md CHANGED
@@ -10,159 +10,6 @@ tags:
10
  - code
11
  - swe
12
  - rl
13
- configs:
14
- - config_name: default
15
- data_files:
16
- - split: train
17
- path: data/train-*
18
- dataset_info:
19
- features:
20
- - name: base_commit
21
- dtype: string
22
- - name: created_at
23
- dtype: string
24
- - name: image_name
25
- dtype: string
26
- - name: instance_id
27
- dtype: string
28
- - name: interface
29
- dtype: string
30
- - name: language
31
- dtype: string
32
- - name: license
33
- dtype: string
34
- - name: patch
35
- dtype: string
36
- - name: pr_description
37
- dtype: string
38
- - name: problem_statement
39
- dtype: string
40
- - name: repo
41
- dtype: string
42
- - name: test_patch
43
- dtype: string
44
- - name: FAIL_TO_PASS
45
- list: string
46
- - name: PASS_TO_PASS
47
- list: string
48
- - name: install_config
49
- struct:
50
- - name: base_image_name
51
- dtype: string
52
- - name: docker_specs
53
- struct:
54
- - name: _variant
55
- dtype: string
56
- - name: bazel_version
57
- dtype: string
58
- - name: bun_version
59
- dtype: string
60
- - name: cargo_version
61
- dtype: string
62
- - name: deno_version
63
- dtype: string
64
- - name: docker_version
65
- dtype: string
66
- - name: erlang_version
67
- dtype: string
68
- - name: gcc_version
69
- dtype: string
70
- - name: go_version
71
- dtype: string
72
- - name: helm_version
73
- dtype: string
74
- - name: java_version
75
- dtype: string
76
- - name: jdk_version
77
- dtype: string
78
- - name: llvm_version
79
- dtype: string
80
- - name: lua_version
81
- dtype: string
82
- - name: luajit_version
83
- dtype: string
84
- - name: neovim_version
85
- dtype: string
86
- - name: node_version
87
- dtype: string
88
- - name: npm_version
89
- dtype: string
90
- - name: nvim_version
91
- dtype: string
92
- - name: pnpm_version
93
- dtype: string
94
- - name: python_image
95
- dtype: string
96
- - name: python_version
97
- dtype: string
98
- - name: redis_version
99
- dtype: string
100
- - name: ruby_version
101
- dtype: string
102
- - name: rust_version
103
- dtype: string
104
- - name: rustc_version
105
- dtype: string
106
- - name: solana_version
107
- dtype: string
108
- - name: sqlite_version
109
- dtype: string
110
- - name: install
111
- list: string
112
- - name: log_parser
113
- dtype: string
114
- - name: test_cmd
115
- dtype: string
116
- - name: meta
117
- struct:
118
- - name: llm_metadata
119
- struct:
120
- - name: code
121
- dtype: string
122
- - name: confidence
123
- dtype: float64
124
- - name: detected_issues
125
- struct:
126
- - name: B1
127
- dtype: bool
128
- - name: B2
129
- dtype: bool
130
- - name: B3
131
- dtype: bool
132
- - name: B4
133
- dtype: bool
134
- - name: B5
135
- dtype: bool
136
- - name: B6
137
- dtype: bool
138
- - name: difficulty
139
- dtype: string
140
- - name: external_urls
141
- list: string
142
- - name: intent_completeness
143
- dtype: string
144
- - name: pr_categories
145
- list: string
146
- - name: reasoning
147
- dtype: string
148
- - name: test_alignment_issues
149
- list: string
150
- - name: num_modified_files
151
- dtype: int64
152
- - name: num_modified_lines
153
- dtype: int64
154
- - name: pr_author
155
- dtype: string
156
- - name: pr_labels
157
- list: string
158
- - name: pr_url
159
- dtype: string
160
- splits:
161
- - name: train
162
- num_bytes: 276334043
163
- num_examples: 6275
164
- download_size: 226440922
165
- dataset_size: 276334043
166
  ---
167
 
168
  # SWE-rebench-V2-Filtered-Verified
@@ -171,7 +18,7 @@ dataset_info:
171
 
172
  Filtered and gold-patch-verified subset of Nebius's
173
  [SWE-rebench-V2](https://huggingface.co/datasets/nebius/SWE-rebench-V2)
174
- ([paper](https://arxiv.org/abs/2602.23866)): **6,275 / 32,079** freshly-mined GitHub PR tasks
175
  across 17 languages. Default dataset of the `swerebench_v2_v1` taskset.
176
 
177
  ## Changes vs upstream
@@ -193,9 +40,13 @@ across 17 languages. Default dataset of the `swerebench_v2_v1` taskset.
193
  * Gold-patch validation pass 1 via SolveEnv — reward 1.0 required.
194
  * Independent pass 2 — flaky rows removed.
195
  * No-edit pass — rows solvable with zero edits removed.
 
 
 
196
 
197
  Per-row outcomes ship with this repo (`swe-rebench-v2-validation.jsonl`,
198
- `swe-rebench-v2-flaky-instances.json`, `swe-rebench-v2-no-edit-pass-exclusions.jsonl`).
 
199
  `image_name` is rewritten to the public Prime image registry (`prime/primeintellect/...`) so
200
  sandbox rollouts avoid Docker Hub rate limits and get fast pulls. Schema is otherwise unchanged.
201
 
@@ -205,7 +56,7 @@ License mirrors upstream: CC-BY-4.0.
205
 
206
  | Split | Rows |
207
  |---|---:|
208
- | `train` | 6,275 |
209
 
210
  ## How to use
211
 
@@ -295,6 +146,16 @@ Plus a no-edit pass blocklist at
295
  ``swe-rebench-v2-no-edit-pass-exclusions.jsonl``: instances where the no-edit
296
  debugger got reward 1.0, meaning the tests pass without applying any agent edit.
297
 
 
 
 
 
 
 
 
 
 
 
298
  After filtering, ``image_name`` is rewritten from
299
  ``docker.io/swerebenchv2/<name>:<tag>`` to the public Prime image registry at
300
  ``prime/primeintellect/<name>:<tag>`` (the ``swerebenchv2/`` namespace is
@@ -366,6 +227,12 @@ _NO_EDIT_PASSING = frozenset(
366
  json.loads(line)["instance_id"] for line in _NO_EDIT_PASS_PATH.read_text(encoding="utf-8").splitlines() if line
367
  )
368
 
 
 
 
 
 
 
369
  # statamic/cms rows add PHP tests but run unrelated JS suites, so base +
370
  # test_patch can score reward 1.0 without the issue fix.
371
  _DROP_REPOS = frozenset({"statamic/cms"})
@@ -427,6 +294,8 @@ def _passes_filter(example: dict, min_confidence: float) -> bool:
427
  return False
428
  if example.get("instance_id") in _NO_EDIT_PASSING:
429
  return False
 
 
430
  if (example.get("repo") or "").lower() in _DROP_REPOS:
431
  return False
432
  return True
@@ -485,12 +354,13 @@ def main(repo_name: str, push_to_hub: bool, private: bool, min_confidence: float
485
  create_repo(repo_name, private=private, repo_type="dataset", exist_ok=True)
486
  push_card_to_hub(repo_name, push_to_hub)
487
  dataset.push_to_hub(repo_name, private=private)
488
- upload_file(
489
- path_or_fileobj=str(_NO_EDIT_PASS_PATH),
490
- path_in_repo=_NO_EDIT_PASS_PATH.name,
491
- repo_id=repo_name,
492
- repo_type="dataset",
493
- )
 
494
  print(f"✅ Pushed dataset to https://huggingface.co/datasets/{repo_name}")
495
 
496
 
 
10
  - code
11
  - swe
12
  - rl
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
  # SWE-rebench-V2-Filtered-Verified
 
18
 
19
  Filtered and gold-patch-verified subset of Nebius's
20
  [SWE-rebench-V2](https://huggingface.co/datasets/nebius/SWE-rebench-V2)
21
+ ([paper](https://arxiv.org/abs/2602.23866)): **6,272 / 32,079** freshly-mined GitHub PR tasks
22
  across 17 languages. Default dataset of the `swerebench_v2_v1` taskset.
23
 
24
  ## Changes vs upstream
 
40
  * Gold-patch validation pass 1 via SolveEnv — reward 1.0 required.
41
  * Independent pass 2 — flaky rows removed.
42
  * No-edit pass — rows solvable with zero edits removed.
43
+ * RL always-fail audit (2026-07) — instances that scored 0.0 in every 16-rollout group across
44
+ independent GLM-5.2 RL samplings were re-gold-validated twice; 2 deterministically
45
+ unresolvable + 1 flaky removed.
46
 
47
  Per-row outcomes ship with this repo (`swe-rebench-v2-validation.jsonl`,
48
+ `swe-rebench-v2-flaky-instances.json`, `swe-rebench-v2-no-edit-pass-exclusions.jsonl`,
49
+ `swe-rebench-v2-rl-alwaysfail-exclusions.json`).
50
  `image_name` is rewritten to the public Prime image registry (`prime/primeintellect/...`) so
51
  sandbox rollouts avoid Docker Hub rate limits and get fast pulls. Schema is otherwise unchanged.
52
 
 
56
 
57
  | Split | Rows |
58
  |---|---:|
59
+ | `train` | 6,272 |
60
 
61
  ## How to use
62
 
 
146
  ``swe-rebench-v2-no-edit-pass-exclusions.jsonl``: instances where the no-edit
147
  debugger got reward 1.0, meaning the tests pass without applying any agent edit.
148
 
149
+ Plus an RL always-fail audit blocklist at
150
+ ``swe-rebench-v2-rl-alwaysfail-exclusions.json``: instances flagged during
151
+ GLM-5.2 RL training (every 16-rollout group scored 0.0 across independent
152
+ samplings) and then gold-validated twice via the ``swerebench_v2_v1`` taskset's
153
+ ``validate`` hook (2026-07-17). Two are deterministically unresolvable under
154
+ the current verifier (graded FAIL_TO_PASS tests the row's ``test_cmd`` never
155
+ runs, or tests needing JDK toolchains absent from the image) and one is flaky
156
+ (2,422 all-or-nothing tests spawning servers/ports). Per-row verdicts and
157
+ reasons live in the file.
158
+
159
  After filtering, ``image_name`` is rewritten from
160
  ``docker.io/swerebenchv2/<name>:<tag>`` to the public Prime image registry at
161
  ``prime/primeintellect/<name>:<tag>`` (the ``swerebenchv2/`` namespace is
 
227
  json.loads(line)["instance_id"] for line in _NO_EDIT_PASS_PATH.read_text(encoding="utf-8").splitlines() if line
228
  )
229
 
230
+ # RL always-fail audit exclusions: instances whose reward was 0.0 in every
231
+ # 16-rollout group across independent GLM-5.2 RL samplings, then gold-validated
232
+ # twice (2026-07-17) — two deterministically unresolvable, one flaky.
233
+ _RL_ALWAYSFAIL_PATH = Path(__file__).parent / "swe-rebench-v2-rl-alwaysfail-exclusions.json"
234
+ _RL_ALWAYSFAIL = frozenset(entry["instance_id"] for entry in json.loads(_RL_ALWAYSFAIL_PATH.read_text()))
235
+
236
  # statamic/cms rows add PHP tests but run unrelated JS suites, so base +
237
  # test_patch can score reward 1.0 without the issue fix.
238
  _DROP_REPOS = frozenset({"statamic/cms"})
 
294
  return False
295
  if example.get("instance_id") in _NO_EDIT_PASSING:
296
  return False
297
+ if example.get("instance_id") in _RL_ALWAYSFAIL:
298
+ return False
299
  if (example.get("repo") or "").lower() in _DROP_REPOS:
300
  return False
301
  return True
 
354
  create_repo(repo_name, private=private, repo_type="dataset", exist_ok=True)
355
  push_card_to_hub(repo_name, push_to_hub)
356
  dataset.push_to_hub(repo_name, private=private)
357
+ for sidecar in (_NO_EDIT_PASS_PATH, _RL_ALWAYSFAIL_PATH):
358
+ upload_file(
359
+ path_or_fileobj=str(sidecar),
360
+ path_in_repo=sidecar.name,
361
+ repo_id=repo_name,
362
+ repo_type="dataset",
363
+ )
364
  print(f"✅ Pushed dataset to https://huggingface.co/datasets/{repo_name}")
365
 
366