|
|
--- |
|
|
dataset_info: |
|
|
- config_name: default |
|
|
features: |
|
|
- name: task_id |
|
|
dtype: string |
|
|
- name: question_id |
|
|
dtype: int64 |
|
|
- name: difficulty |
|
|
dtype: string |
|
|
- name: problem_description |
|
|
dtype: string |
|
|
- name: starter_code |
|
|
dtype: string |
|
|
- name: test |
|
|
dtype: string |
|
|
- name: input_output |
|
|
list: |
|
|
- name: input |
|
|
list: string |
|
|
- name: output |
|
|
dtype: string |
|
|
- name: query |
|
|
dtype: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 14991318 |
|
|
num_examples: 2103 |
|
|
- name: test |
|
|
num_bytes: 1499958 |
|
|
num_examples: 202 |
|
|
download_size: 4437377 |
|
|
dataset_size: 16491276 |
|
|
- config_name: easy |
|
|
features: |
|
|
- name: task_id |
|
|
dtype: string |
|
|
- name: question_id |
|
|
dtype: int64 |
|
|
- name: difficulty |
|
|
dtype: string |
|
|
- name: problem_description |
|
|
dtype: string |
|
|
- name: starter_code |
|
|
dtype: string |
|
|
- name: test |
|
|
dtype: string |
|
|
- name: input_output |
|
|
list: |
|
|
- name: input |
|
|
list: string |
|
|
- name: output |
|
|
dtype: string |
|
|
- name: query |
|
|
dtype: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 3428827.369472183 |
|
|
num_examples: 481 |
|
|
- name: test |
|
|
num_bytes: 311872.45544554456 |
|
|
num_examples: 42 |
|
|
download_size: 877673 |
|
|
dataset_size: 3740699.824917727 |
|
|
- config_name: hard |
|
|
features: |
|
|
- name: task_id |
|
|
dtype: string |
|
|
- name: question_id |
|
|
dtype: int64 |
|
|
- name: difficulty |
|
|
dtype: string |
|
|
- name: problem_description |
|
|
dtype: string |
|
|
- name: starter_code |
|
|
dtype: string |
|
|
- name: test |
|
|
dtype: string |
|
|
- name: input_output |
|
|
list: |
|
|
- name: input |
|
|
list: string |
|
|
- name: output |
|
|
dtype: string |
|
|
- name: query |
|
|
dtype: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 3721097.4778887304 |
|
|
num_examples: 522 |
|
|
- name: test |
|
|
num_bytes: 497510.82178217825 |
|
|
num_examples: 67 |
|
|
download_size: 1260568 |
|
|
dataset_size: 4218608.299670909 |
|
|
- config_name: medium |
|
|
features: |
|
|
- name: task_id |
|
|
dtype: string |
|
|
- name: question_id |
|
|
dtype: int64 |
|
|
- name: difficulty |
|
|
dtype: string |
|
|
- name: problem_description |
|
|
dtype: string |
|
|
- name: starter_code |
|
|
dtype: string |
|
|
- name: test |
|
|
dtype: string |
|
|
- name: input_output |
|
|
list: |
|
|
- name: input |
|
|
list: string |
|
|
- name: output |
|
|
dtype: string |
|
|
- name: query |
|
|
dtype: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 7841393.152639087 |
|
|
num_examples: 1100 |
|
|
- name: test |
|
|
num_bytes: 690574.7227722772 |
|
|
num_examples: 93 |
|
|
download_size: 2460335 |
|
|
dataset_size: 8531967.875411365 |
|
|
configs: |
|
|
- config_name: default |
|
|
data_files: |
|
|
- split: train |
|
|
path: data/train-* |
|
|
- split: test |
|
|
path: data/test-* |
|
|
- config_name: easy |
|
|
data_files: |
|
|
- split: train |
|
|
path: easy/train-* |
|
|
- split: test |
|
|
path: easy/test-* |
|
|
- config_name: hard |
|
|
data_files: |
|
|
- split: train |
|
|
path: hard/train-* |
|
|
- split: test |
|
|
path: hard/test-* |
|
|
- config_name: medium |
|
|
data_files: |
|
|
- split: train |
|
|
path: medium/train-* |
|
|
- split: test |
|
|
path: medium/test-* |
|
|
license: cc-by-nc-4.0 |
|
|
--- |
|
|
## Licensing |
|
|
|
|
|
This dataset is based on newfacade/LeetCodeDataset © Yunhui Xia et. al. and licensed under the Apache License 2.0. |
|
|
A copy of the Apache License 2.0 is included in LICENSE-APACHE-2.0.md. |
|
|
|
|
|
Modifications and additions made by Antoine Angert are licensed under |
|
|
the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). |
|
|
A copy of the CC BY-NC 4.0 license is included in LICENSE-CC-BY-NC-4.0.txt. |
|
|
|
|
|
Summary: |
|
|
- Original portions: Apache 2.0 → Free for commercial and non-commercial use (with attribution). |
|
|
- Modified portions: CC BY-NC 4.0 → Non-commercial use only (with attribution). |
|
|
|
|
|
Changes from original: |
|
|
- deleted columns: tags, estimated_date, prompt, completion, entry_point, response |
|
|
- starter_code, input_output: full conversion from python to IEC 61131-3 ST |
|
|
- test: newly written test code in IEC 61131-3 ST |
|
|
- query: full conversion from python to IEC 61131-3 ST and change of task description |
|
|
- subsets: added subsets easy, medium and hard including the respective tasks |