Datasets:
File size: 1,168 Bytes
b42b832 40f016b b42b832 40f016b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
---
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 |