File size: 2,092 Bytes
1b5a4f9 71a9b16 1b5a4f9 71a9b16 1b5a4f9 2ce2e89 9850465 |
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
---
dataset_info:
features:
- name: code_before
dtype: string
- name: edits
dtype: string
- name: next_edit
dtype: string
- name: code_after
dtype: string
- name: label_window
sequence: string
- name: instruction
dtype: string
- name: html_url
dtype: string
- name: file_name
dtype: string
splits:
- name: train
num_bytes: 12415666705
num_examples: 2633966
- name: validation
num_bytes: 1314363212
num_examples: 376282
- name: test
num_bytes: 2432871766
num_examples: 752565
download_size: 2729492743
dataset_size: 16162901683
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: validation
path: data/validation-*
- split: test
path: data/test-*
---
# Dataset Card for Dataset Name
<!-- Provide a quick summary of the dataset. -->
Processed version of the [code-philia/CoEdPilot-generator](https://huggingface.co/datasets/code-philia/CoEdPilot-generator) for the next edit prediction task from the paper [CoEdPilot](https://chenyan1999.github.io/file/CoEdPilot.pdf).
## Dataset Structure
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
* **code_before** - initial code to be modified
* **edits** - previous edits
* **next_edit** - next edit to be done
* **code_after** - code after the edit
* **label_window** - labels of happened with each line in the code before. There are three options: keep (nothing changes), add (adds new content after the line), replace (replaces all lines with new content).
* **instruction** - presumably commit message from the commit that was used for a datapoint
* **html_url** - commit url
* **file_name** - changed file
## Reproduction script
[https://github.com/JetBrains-Research/comment_resolution/blob/main/notebooks/coedpilot_dataset.ipynb](https://github.com/JetBrains-Research/comment_resolution/blob/main/notebooks/coedpilot_dataset.ipynb)
|