dcloud347 commited on
Commit
d232418
·
verified ·
1 Parent(s): 5a83bb7

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +56 -3
  2. data/selected_SWE-Gym_train.jsonl +0 -0
README.md CHANGED
@@ -1,3 +1,56 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 🔧 Selected SWE-Gym Subset
2
+
3
+ A curated subset of 100 program repair instances from the [SWE-Gym](https://huggingface.co/datasets/SWE-Gym/SWE-Gym) dataset, selected for lightweight evaluation and rapid prototyping.
4
+
5
+ ## 📦 Dataset Description
6
+
7
+ This dataset contains 100 program repair tasks selected from the full SWE-Gym benchmark. Each instance represents a realistic software bug scenario, including the following fields:
8
+
9
+ * `instance_id`: Unique identifier
10
+ * `repo`: GitHub repository
11
+ * `commit`: Bug-inducing commit hash
12
+ * `test_setup`: Test setup instructions
13
+ * `test_commands`: How to run the test
14
+ * `relevant_files`: Files to be considered
15
+ * `expected_output`: Expected behavior
16
+ * `language`: Programming language
17
+ * `difficulty`: (if available) Estimated difficulty
18
+ * `summary`: Natural language bug description
19
+
20
+ All instances are formatted in JSONL (`.jsonl`) for compatibility with LLM pipelines and benchmarking scripts.
21
+
22
+ ## ✅ Usage
23
+
24
+ You can load the dataset using the `datasets` library:
25
+
26
+ ```python
27
+ from datasets import load_dataset
28
+
29
+ dataset = load_dataset("dcloud347/Selected_SWE-Gym")
30
+ print(dataset["train"])
31
+ ```
32
+
33
+ ## 💡 Motivation
34
+
35
+ Evaluating automatic program repair systems on the full SWE-Gym benchmark can be resource-intensive. This curated 100-instance subset enables:
36
+
37
+ * Fast debugging of repair pipelines
38
+ * Lightweight academic comparisons
39
+ * Evaluation of few-shot LLM repair models
40
+ * Quick iteration on toolchain design
41
+
42
+ ## 📁 Dataset Structure
43
+
44
+ ```
45
+ data.jsonl
46
+ ├─ {"instance_id": ..., "repo": ..., "commit": ..., ...}
47
+ ├─ ...
48
+ ```
49
+
50
+ ## 📜 License
51
+
52
+ This subset follows the same license as the original SWE-Gym dataset (MIT). Please credit the original authors when using this dataset in your research.
53
+
54
+ ## 🙏 Acknowledgements
55
+
56
+ * Original dataset: [SWE-Gym](https://huggingface.co/datasets/SWE-Gym/SWE-Gym)
data/selected_SWE-Gym_train.jsonl ADDED
The diff for this file is too large to render. See raw diff