File size: 1,373 Bytes
677ffff 7789578 677ffff b2684c1 |
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 |
---
dataset_info:
features:
- name: repo
dtype: string
- name: commit
dtype: string
- name: path
dtype: string
- name: lang
dtype: string
- name: license
dtype: string
- name: message
dtype: string
- name: old_code
dtype: string
- name: new_code
dtype: string
- name: diff_string
dtype: string
- name: n_added
dtype: int64
- name: n_removed
dtype: int64
- name: n_hunks
dtype: int64
- name: change_kind
dtype: string
splits:
- name: test
num_bytes: 3425951
num_examples: 1000
download_size: 1664793
dataset_size: 3425951
configs:
- config_name: default
data_files:
- split: test
path: data/test-*
---
# diff-xyz-noisy
A noisy version of [diff-xyz](https://huggingface.co/datasets/JetBrains-Research/diff-xyz/) dataset.
This dataset is obtained from the original one by replacing alpha symbols with another alpha symbol using a random character mapping.
Components: the original file contents (`old_code`), the modified contents (`new_code`), and the unified diff between
them (`diff_string`).
This format enables evaluation of LLM capabilities on three code editing tasks:
- **Apply**: Given old code and diff, generate new code
- **Anti-Apply**: Given new code and diff, generate old code
- **Diff-Generation**: Given old and new code, generate the unified diff
|