|
--- |
|
license: afl-3.0 |
|
size_categories: |
|
- 10K<n<100K |
|
tags: |
|
- Python |
|
- Code |
|
--- |
|
Splits: 80% train, 10% validation, 10% test. |
|
|
|
--- |
|
|
|
📦 Method-Level Change / Code Review Suggestion Dataset |
|
📝 Overview |
|
This dataset is designed for training or fine-tuning large language models (LLMs) on the task of automated code suggestion generation at the method level. |
|
Each entry in the dataset contains: |
|
An original Python method extracted from a GitHub pull request |
|
A revised version of the same method, incorporating code review suggestions |
|
|
|
🎯 Purpose |
|
To enable models to learn fine-grained, real-world code changes suggested during pull request reviews. Ideal for: |
|
- Method-level code generation |
|
- Code completion |
|
- Refactoring suggestions |
|
- Review automation |
|
|
|
🔍 Source |
|
Mined from public GitHub repositories using GraphQL and REST APIs. Pull request review suggestions were extracted and aligned with method-level changes. |
|
For more on how suggestions work in GitHub PRs, see: |
|
Incorporating Feedback in Your Pull Request |
|
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request |