Class-level code generation
ClassEval-Pro targets a gap between isolated function synthesis and repository repair: writing a complete Python class with shared state, method dependencies, and domain logic. The benchmark has 300 tasks across 11 domains, built partly from GitHub repositories created after January 1, 2025. Its tasks are larger and more connected than the older ClassEval set.
The results show that multi-method coordination is still hard. Across five large language models, holistic generation reaches only 27.9% to 45.6% class-level Pass@1. Bottom-up generation helps weaker models by up to 9.4 percentage points, while compositional generation can fall to 1.3%. In 500 manually labeled failures, logic errors account for 56.2% and dependency errors for 38.0%, making cross-method coordination the main measured failure mode.