Renaissance Labs · Code
Benchmark · 2023-08

ClassEval

Manually crafted class-level generation tasks (multiple interdependent methods), about 500 person-hours to build.

How to use it

Occasional check on multi-method coherence; cheap. Also in inspect_evals (class_eval).

Caveats

Execution-based. Tiny (100 tasks), so noisy. The paper found LLMs do much worse on class-level than HumanEval-style method-level tasks.

load
from datasets import load_dataset
ds = load_dataset("FudanSELab/ClassEval", split="test")

Related

  • APPS: Interview-level and competition Python problems with solutions and test...
  • BigCodeBench: Python tasks requiring calls into many libraries with complex instructions,...
  • BigCodeBench-Hard: Harder 148-task subset of BigCodeBench selected for lower solve rates, cheaper to...
  • CanItEdit: Hand-crafted instructional code editing problems with descriptive and lazy instruction variants, tested by...
  • Commit0: Agent must implement a library from its spec using interactive unit tests; measures long-form spec...
  • DS-1000: StackOverflow-derived NumPy, Pandas, etc. problems with multi-criteria execution plus surface-form checks,...