CodeSpecBench-Func: leaderboard

Metric: Pass rate (%), the share of generated executable pre/postcondition specifications that are both correct (accept every valid test) and complete (reject every invalid test), on CodeSpecBench-Func (2,494 LeetCode problems; 50 valid and 50 invalid inputs plus valid and model-generated buggy outputs per problem, validated by the online judge); higher is better. Source: arxiv.org. Saturation forecast: Around January 2027. 21 models tracked.

Top models

#ModelScore
1GPT-5 Mini47
2Gemini 2.5 Pro46.2
3GPT-OSS-120B42.5
4Claude Sonnet 4.5 (Thinking)40.5
5GPT-540.2
6GPT-OSS-20B37.7
7Gemini 2.5 Flash36.5
8QwQ-32B28.7
9Qwen 3 14B26.4
10Qwen 3 32B25.8
11DeepSeek V3.2 (Non-reasoning)24.3
12Qwen 3 32B (Non-reasoning)17.6
13Qwen 3 8B16.8
14Qwen 3 4B15.5
15Qwen 3 14B (Non-reasoning)13.5

Interactive version: theaggregate.ai/benchmark?slug=codespecbench-func · How It Works · Data refreshed daily, snapshot 2026-10-07.