pngwn HF Staff commited on
Commit
ab417b9
·
verified ·
1 Parent(s): 67339cc

dataset card: provenance, label scheme, splits

Browse files
Files changed (1) hide show
  1. README.md +53 -26
README.md CHANGED
@@ -1,28 +1,55 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: string
6
- - name: label
7
- dtype: string
8
- - name: repo
9
- dtype: string
10
- - name: source
11
- dtype: string
12
- splits:
13
- - name: train
14
- num_bytes: 3154798
15
- num_examples: 1997
16
- - name: test
17
- num_bytes: 3189239
18
- num_examples: 1997
19
- download_size: 2748391
20
- dataset_size: 6344037
21
- configs:
22
- - config_name: default
23
- data_files:
24
- - split: train
25
- path: data/train-*
26
- - split: test
27
- path: data/test-*
28
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ task_categories:
3
+ - text-classification
4
+ language:
5
+ - en
6
+ tags:
7
+ - github-issues
8
+ - issue-classification
9
+ - setfit
10
+ - nlbse
11
+ - arxiv:2209.11055
12
+ pretty_name: GitHub Issues 4-Class (bug/feature/question/support)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
+
15
+ # GitHub Issues 4-Class
16
+
17
+ A balanced 4-class dataset for GitHub issue classification: `bug` / `feature` / `question` / `support`.
18
+
19
+ ## Splits
20
+
21
+ | Split | Rows | Per class |
22
+ |---|---|---|
23
+ | train | 1,997 | ~500 each (NLBSE rows failing a 15-char minimum-text filter dropped) |
24
+ | test | 1,997 | ~500 each |
25
+
26
+ ## Columns
27
+
28
+ - `text`: issue title + `\n\n` + body, whitespace-normalized, capped at 4,000 chars (models truncate to 256 tokens)
29
+ - `label`: one of `bug`, `feature`, `question`, `support`
30
+ - `repo`: source GitHub repository
31
+ - `source`: `nlbse2024` or `victor-betus`
32
+
33
+ ## Provenance
34
+
35
+ - **bug / feature / question**: the NLBSE'24 issue-report-classification benchmark (3,000 balanced issues from facebook/react, tensorflow/tensorflow, microsoft/vscode, bitcoin/bitcoin, opencv/opencv), raw CSVs from `github.com/nlbse2024/issue-report-classification`. Labels are maintainer-assigned GitHub labels mapped by the benchmark's synonym table.
36
+ - **support**: issues labeled `support`-family (`support`, `site-support-request`, `help wanted`, `type: support`, ...) filtered from [`victor-betus/github-issues-dataset`](https://huggingface.co/datasets/victor-betus/github-issues-dataset) (114k issues, top-100 GitHub repos). Issues that also carry a conflicting class label (bug/enhancement/feature/question) were excluded, and all rows were deduplicated against the NLBSE benchmark by (repo, normalized title) — zero overlap.
37
+
38
+ ## Known caveats
39
+
40
+ - GitHub label conventions vary per repo; cross-project label inconsistency is the dominant error source in this task (Izadi et al., MSR 2024).
41
+ - The `question` class is historically the hardest (F1 ~0.70 in our runs); `support` is easiest.
42
+ - `help wanted` is treated as a support-request synonym following GitHub convention in several large repos; it can also denote "contributors wanted" in others — some label noise in the support class is possible.
43
+
44
+ ## Baseline results (this dataset, test split)
45
+
46
+ | Model | macro-F1 (4-class) |
47
+ |---|---|
48
+ | SetFit all-MiniLM-L6-v2 (contrastive + logistic head) | 0.807 |
49
+ | DistilBERT fine-tune (lr 2e-5, 4 epochs, 256 tokens) | see model card |
50
+
51
+ ## References
52
+
53
+ - Colavito, Lanubile, Novielli, "Few-Shot Learning for Issue Report Classification", NLBSE 2023
54
+ - Kallis et al., "The NLBSE'24 Tool Competition" (issue report classification track)
55
+ - Tunstall et al., "Efficient Few-Shot Learning Without Prompts" (SetFit), arXiv:2209.11055