BasedAGIBasedAGI
Developer

Unit test generation

Generate meaningful unit tests and edge cases.

task.test_generation_unit
Evidence quality is currently limited for this use case. Rankings below are useful for exploration, not a strong winner claim.

Provisional leader

gpt-4o-2024-05-13

Current leader based on limited benchmark evidence. Treat this ranking as directional until coverage improves.

24.2%

Best benchmark score

30.8%

Confidence

Ranked Models

30

Evidence Quality

81%

Evidence Points

13

Top Signal

RepoQA Official Results: overall_average_pass_at_1_pct

All Ranked Models

30 of 30 models
RankModelScore
๐Ÿฅˆgpt-4o-2024-05-13

Strong on RepoQA Official Results overall_average_pass_at_1_pct and RepoQA Official Results all_average_pass_at_1_pct

24.2%
๐Ÿฅ‰gpt-5-2025-08-07

Strong on Aider Polyglot Leaderboard percent_correct_pct and SWE-bench Verified Leaderboard swe_verified_resolved_pct

23.2%
#4claude-sonnet-4

Strong on Galileo Agent Leaderboard v2 Avg AC and SWE-bench Verified Leaderboard swe_verified_resolved_pct

23.2%
#7gemini-3-pro-preview

Strong on SWE-bench Verified Leaderboard swe_verified_resolved_pct and Vals SWE-bench overall_accuracy_pct

18.6%
#8gpt-5.2-2025-12-11

Strong on SWE-bench Verified Leaderboard swe_verified_resolved_pct and Vals SWE-bench overall_accuracy_pct

18.1%
#10gpt-4o-20241120

Strong on Aider Code Editing Leaderboard percent_correct_pct and BigCodeBench Official bigcodebench_complete_pct

17.5%
#11gpt-4.1-20250414

Strong on Galileo Agent Leaderboard v2 Avg AC and MMLongBench-Doc Leaderboard acc_score_pct

17.5%
#12o3-20250416

Strong on Aider Polyglot Leaderboard percent_correct_pct and SWE-bench Verified Leaderboard swe_verified_resolved_pct

17.0%
#13gemini-2.5-pro

Strong on SWE-bench Verified Leaderboard swe_verified_resolved_pct and Galileo Agent Leaderboard v2 Avg AC

16.8%
#14gemini-3.1-pro-preview

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

16.5%
#16Kimi K2 Thinking

Strong on SWE-bench Verified Leaderboard swe_verified_resolved_pct and Sonar Java Quality Leaderboard functional_skill_pct

15.7%
#17gpt-5-mini-2025-08-07

Strong on Vals LiveCodeBench overall_accuracy_pct and SWE-bench Verified Leaderboard swe_verified_resolved_pct

15.7%
#20Grok-4-0709

Strong on Vals LiveCodeBench overall_accuracy_pct and Galileo Agent Leaderboard v2 Avg AC

15.4%
#21qwen-2.5-72b-instruct

Strong on Galileo Agent Leaderboard v2 Avg AC and Aider Code Editing Leaderboard percent_correct_pct

15.0%
#22claude-opus-4-5-20251101

Strong on SWE-bench Verified Leaderboard swe_verified_resolved_pct and Vals Terminal-Bench 2 overall_accuracy_pct

14.2%
#25gemini-3-flash-preview

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

13.9%
#26o4-mini

Strong on Aider Polyglot Leaderboard percent_correct_pct and Vals LiveCodeBench overall_accuracy_pct

13.8%
#27gpt-5.4-2026-03-05

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

13.8%
#29claude-sonnet-4.6

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

13.5%
#30claude-opus-4-6-thinking

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

13.2%
#31glm-4.7

Strong on Vals LiveCodeBench overall_accuracy_pct and Vals SWE-bench overall_accuracy_pct

13.2%
#32minimax-m2.1

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

13.2%
#35deepseek-r1

Strong on Aider Polyglot Leaderboard percent_correct_pct and Sonar Java Quality Leaderboard functional_skill_pct

12.9%
#36claude-opus-4

Strong on SWE-bench Verified Leaderboard swe_verified_resolved_pct and Aider Polyglot Leaderboard percent_correct_pct

12.9%
#37gpt-5.1-2025-11-13

Strong on Vals LiveCodeBench overall_accuracy_pct and Vals SWE-bench overall_accuracy_pct

12.7%
#38claude-opus-4-5-20251101-thinking

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

12.7%
#39Phi-3-medium-128k-instruct

Strong on RepoQA Official Results overall_average_pass_at_1_pct and RepoQA Official Results all_average_pass_at_1_pct

12.3%
#43gpt-4o-2024-08-06

Strong on Aider Code Editing Leaderboard percent_correct_pct and Aider Code Editing Leaderboard correct_edit_format_pct

11.7%
#44kimi-k2.5-thinking

Strong on Vals LiveCodeBench overall_accuracy_pct and Vals SWE-bench overall_accuracy_pct

11.5%
#46gpt-4.1

Strong on SWE-bench Verified Leaderboard swe_verified_resolved_pct and Aider Polyglot Leaderboard percent_correct_pct

11.4%

Compare Models

Select two different models above to compare their evidence side by side.
โ–ถRanking diagnostics & missing models

Source lift

Ranked

56

Sources

8

Quality

Low

Vals LiveCodeBench

39 rows ยท 1.1% avg lift

Vals Legal Bench

37 rows ยท 0.2% avg lift

Vals Tax Eval v2

37 rows ยท 0.2% avg lift

Vals MedQA

35 rows ยท 0.2% avg lift

Missing frontier models

No obvious gaps right now.

โ–ถTaxonomy & task details

Core tasks

task.test_generation_unit

Required modes

none

Domains

domain.software_engineering

Related in Developer