Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -32,9 +32,9 @@ This provides a natural signal for training models to:
|
|
| 32 |
|
| 33 |
### Key Features
|
| 34 |
|
| 35 |
-
- **
|
| 36 |
-
- **
|
| 37 |
-
- **
|
| 38 |
- **Quality-filtered**: bot comments, noise ("LGTM", "+1"), and auto-generated content removed
|
| 39 |
- **Chunk-focused**: ~50 lines of context around the reviewed code, not entire files
|
| 40 |
- **Permissive licenses only**: all source repos use MIT, Apache-2.0, BSD, or similar licenses
|
|
@@ -106,7 +106,7 @@ negatives = ds["train"].filter(lambda x: x["is_negative"])
|
|
| 106 |
|
| 107 |
## Collection Methodology
|
| 108 |
|
| 109 |
-
1. **Repo selection**: Top
|
| 110 |
2. **PR discovery**: Paginate merged PRs, filter bot authors, fetch inline review comments
|
| 111 |
3. **Comment filtering**: Remove bots, noise patterns, auto-generated comments, non-English text, non-code files, reply comments
|
| 112 |
4. **Triplet extraction**: Fetch file contents at the review commit (before) and PR head (after), extract focused chunks around the comment line
|
|
|
|
| 32 |
|
| 33 |
### Key Features
|
| 34 |
|
| 35 |
+
- **142K+ positive triplets** from 617 top GitHub repositories
|
| 36 |
+
- **40K+ negative examples** (~22% of dataset) of clean code labeled "No issues found."
|
| 37 |
+
- **36 programming languages** (Python, TypeScript, Go, Rust, C++, JavaScript, C#, Java, Kotlin, Swift, and more)
|
| 38 |
- **Quality-filtered**: bot comments, noise ("LGTM", "+1"), and auto-generated content removed
|
| 39 |
- **Chunk-focused**: ~50 lines of context around the reviewed code, not entire files
|
| 40 |
- **Permissive licenses only**: all source repos use MIT, Apache-2.0, BSD, or similar licenses
|
|
|
|
| 106 |
|
| 107 |
## Collection Methodology
|
| 108 |
|
| 109 |
+
1. **Repo selection**: Top GitHub repos by stars with permissive licenses, sourced from [ronantakizawa/github-top-projects](https://huggingface.co/datasets/ronantakizawa/github-top-projects) and curated additions
|
| 110 |
2. **PR discovery**: Paginate merged PRs, filter bot authors, fetch inline review comments
|
| 111 |
3. **Comment filtering**: Remove bots, noise patterns, auto-generated comments, non-English text, non-code files, reply comments
|
| 112 |
4. **Triplet extraction**: Fetch file contents at the review commit (before) and PR head (after), extract focused chunks around the comment line
|