Alex-cpu0814 commited on
Commit
4e278eb
·
verified ·
1 Parent(s): 04bb084

Publish CLB SWE-bench 72-task test split

Browse files
Files changed (2) hide show
  1. README.md +48 -0
  2. test.jsonl +0 -0
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: CLB SWE-bench
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - text-generation
7
+ tags:
8
+ - software-engineering
9
+ - automated-program-repair
10
+ configs:
11
+ - config_name: default
12
+ data_files:
13
+ - split: test
14
+ path: test.jsonl
15
+ ---
16
+
17
+ # CLB SWE-bench
18
+
19
+ CLB SWE-bench measures software repair on 72 cross-language bugs. The `test` split contains 50 Python–C cases, 11 Java–C cases with upstream-derived tests, and 11 Java–C cases with tests written by the CLB authors.
20
+
21
+ ## Fields
22
+
23
+ | Field | Description |
24
+ | --- | --- |
25
+ | `instance_id` | Stable CLB identifier in the form `clb-pyc-NNN` or `clb-javac-NNN`. |
26
+ | `repo` | Upstream repository in `owner/name` format. |
27
+ | `base_commit` | Source revision at which the repair starts. |
28
+ | `problem_statement` | Bug description provided to the repair agent. |
29
+ | `image` | Object with the Docker `pull_reference` pinned by digest and its expected `image_id`. |
30
+ | `cohort` | One of `python50`, `java_upstream11`, and `java_author11`. |
31
+ | `patch` | Reference repair, stored as a Git diff. |
32
+ | `test_patch` | Git diff applied by the evaluator to add or modify tests. |
33
+ | `FAIL_TO_PASS` | Target tests that a successful repair must pass. |
34
+ | `PASS_TO_PASS` | Regression tests that must pass after applying the candidate. |
35
+
36
+ ## Evaluation protocol
37
+
38
+ For candidate generation, provide the selected `problem_statement` and an isolated checkout at `base_commit`. The evaluator starts from the pinned image, applies the candidate and `test_patch`, then checks both test lists. The `patch` field provides the reference repair for Gold controls.
39
+
40
+ To load the local data before publishing the dataset, run the following from this directory.
41
+
42
+ ```python
43
+ from datasets import load_dataset
44
+
45
+ tasks = load_dataset("json", data_files={"test": "test.jsonl"}, split="test")
46
+ ```
47
+
48
+ The release exposes the reference and test patches for reproducibility. Use the generation input projection above when running a benchmark whose agent must work from the problem statement and Base.
test.jsonl ADDED
The diff for this file is too large to render. See raw diff