Views
No views yet
id (string): Unique identifiercode (string): Source code snippetcode_description (string): Natural language descriptionprogramming_language (string): Language (python, javascript, java, etc.)task_type (string): Type of taskdifficulty_level (string): Difficulty (beginner, intermediate, advanced, expert)quality_score (float): Quality score 0.0-1.0is_tested (bool): Code is testedhas_bugs (bool): Known bugs existlines_of_code (int): Number of linescollected_at (string): Collection timestamp1from datasets import load_dataset
2
3# Load dataset
4dataset = load_dataset("romcmu863/code-dataset")
5
6# Access splits
7train = dataset['train']
8validation = dataset['validation']
9test = dataset['test']
10
11# Get first example
12example = train[0]
13print(example['code_description'])
14print(example['code'])