Skip to content

Dataset · FudanSELab

Class-level Python code generation benchmark

FudanSELab/ClassEval

A set of 100 class-level Python tasks with unit tests to evaluate neural networks' ability to write complex code.

What's inside

A manually curated benchmark featuring 100 English tasks covering 100 classes and 412 methods. On average, each class has 33.1 test cases. Tasks span various fields, from mathematical operations and database work to game development and natural language processing.

What you can do with it

  • Evaluating and comparing coding LLMs on full-class design tasks
  • Testing models' ability to understand the context of multiple methods within a single class
Languages
English
Size
up to 1K rows
Downloads this month
2.2K
Likes
13

How to load it

from datasets import load_dataset

ds = load_dataset("FudanSELab/ClassEval")