BasedAGIBasedAGI
Developer

Refactoring assistant

Refactor code safely while preserving behavior and improving clarity.

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

Provisional leader

claude-sonnet-4

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

31.2%

Best benchmark score

43.8%

Confidence

Ranked Models

30

Evidence Quality

82%

Evidence Points

27

Top Signal

SWE-bench Verified Leaderboard: swe_verified_resolved_pct

All Ranked Models

30 of 30 models
RankModelScore
๐Ÿฅ‡claude-sonnet-4

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

31.2%
๐Ÿฅˆgpt-5-2025-08-07

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

27.3%
#4Kimi K2 Thinking

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

24.5%
#5gpt-4o-2024-05-13

Strong on RepoQA Official Results overall_average_pass_at_1_pct and SWE-bench Verified Leaderboard swe_verified_resolved_pct

23.6%
#7gemini-3-pro-preview

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

20.9%
#8gemini-2.5-pro

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

20.9%
#9gpt-5.2-2025-12-11

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

20.8%
#10o3-20250416

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

19.9%
#11gpt-5-mini-2025-08-07

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

18.8%
#12glm-4.7

Strong on Sonar Java Quality Leaderboard functional_skill_pct and Vals LiveCodeBench overall_accuracy_pct

18.4%
#13deepseek-r1

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

18.1%
#15claude-opus-4-5-20251101

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

18.0%
#16gpt-4.1-20250414

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

17.8%
#17minimax-m2.1

Strong on Sonar Java Quality Leaderboard functional_skill_pct and Vals SWE-bench overall_accuracy_pct

17.7%
#18gpt-4o-20241120

Strong on Aider Code Editing Leaderboard percent_correct_pct and BigCodeBench Official bigcodebench_complete_pct

17.4%
#19gemini-3.1-pro-preview

Strong on Vals SWE-bench overall_accuracy_pct and Vals Terminal-Bench 2 overall_accuracy_pct

16.9%
#20claude-opus-4

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

16.5%
#21o4-mini

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

15.9%
#24qwen-2.5-72b-instruct

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

15.3%
#25gpt-4.1

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

15.2%
#26Grok-4-0709

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

14.9%
#27gpt-4o

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

14.6%
#30gemini-3-flash-preview

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

14.2%
#32gpt-5.4-2026-03-05

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

14.1%
#33claude-sonnet-4.6

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

13.8%
#34claude-opus-4-6-thinking

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

13.5%
#37GLM-5

Strong on Sonar Java Quality Leaderboard functional_skill_pct and Sonar Java Quality Leaderboard issue_density_error_per_kloc

13.3%
#38gpt-5.1-2025-11-13

Strong on Vals LiveCodeBench overall_accuracy_pct and Vals SWE-bench overall_accuracy_pct

13.0%
#39claude-opus-4-5-20251101-thinking

Strong on Vals SWE-bench overall_accuracy_pct and Vals LiveCodeBench overall_accuracy_pct

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

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

11.9%

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

39 rows ยท 0.2% avg lift

Vals Tax Eval v2

36 rows ยท 0.2% avg lift

Vals MedQA

34 rows ยท 0.2% avg lift

Missing frontier models

No obvious gaps right now.

โ–ถTaxonomy & task details

Core tasks

task.code_refactortask.code_review

Required modes

none

Domains

domain.software_engineering

Related in Developer