AmareshHebbar's picture
Upload dataset
1aa9e02 verified
|
Raw
History Blame
1.15 kB
---
license: mit
task_categories:
- text-generation
language:
- en
tags:
- code
- python
- leetcode
- algorithms
dataset_info:
features:
- name: slug
dtype: string
- name: solution_id
dtype: string
- name: primary_algorithm
dtype: string
- name: verified
dtype: bool
- name: messages
list:
- name: role
dtype: string
- name: content
dtype: string
splits:
- name: train
num_bytes: 3515696
num_examples: 2522
download_size: 3368124
dataset_size: 3515696
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
---
# LeetCode Code-Gen Dataset — Python
Problem statement + examples + required algorithm/technique -> Python solution.
2517 rows. Sourced from doocs/leetcode.
Every row execution-verified against the problem's own examples.
## Fields
- `slug`: LeetCode problem slug
- `solution_id`: unique id, problem + approach index + language
- `primary_algorithm`: normalized algorithm/technique label
- `verified`: true/false for Python (execution-checked), null for other languages
- `messages`: chat-format (system/user/assistant), ready for SFT