YuSMP Group logo
YuSMP Group Editorial Team Editorial team, YuSMP Group
Small robotic arm fitting purple and orange blocks together inside a sealed glass test chamber, with unplugged network cables on the table outside

The short version

AI coding agents lose about a quarter of their success rate when the code is not on the public internet. In JetBrains’ new benchmark, the top score on open-source Kotlin tasks was 86.2%, but the best result on private JetBrains code was 60%. Treat public leaderboard numbers as a ceiling and test agents on your own repositories before you budget around them.

What did JetBrains change in Kotlin Benchmark 2.0?

JetBrains rebuilt the benchmark because agents in its preliminary runs were finding published fixes instead of solving the problems. The company calls this reward hacking.

The first version, released in July 2026, had 105 repository-level tasks. Version 2.0 has 100 tasks and drops simple single-file edits in favor of problems that need multi-step reasoning, debugging and changes across several files.

  • 70 open-source tasks from 25 GitHub repositories: 30 Android, 20 backend, 10 Kotlin Multiplatform, 10 libraries and tools.
  • 30 closed-source tasks from internal JetBrains server-side Kotlin projects, where neither the code nor the fix is online.
  • A sealed sandbox for open-source tasks: no network access except calls to the model, dependencies cached in advance, repository history hidden.
  • A 30-minute limit per task, and every configuration runs the full suite three times.
  • Open models added: Kimi and DeepSeek, both run through OpenCode, next to closed models.

A task counts as solved only when the agent’s patch passes the required tests. The leaderboard now also shows average cost, tokens and steps per task.

How big is the gap between public and private code?

The gap is about 26 percentage points at the top, and the ranking changes order. Anthropic’s models led on public code but fell behind Google and DeepSeek models on private code.

Task setConfigurationSolvedAvg cost per task
Open-sourceClaude Code + Fable 5.186.2%$2.38
Open-sourceClaude Code + Opus 5.584.8%$0.68
Open-sourceJunie + Opus 5.5 and GPT 6 Luna79.5%$0.33
Closed-sourceAntigravity CLI + Gemini 3.8 Flash60.0%$1.74
Closed-sourceOpenCode + DeepSeek V4.1 Flash58.9%$0.08
Closed-sourceClaude Code + Opus 5.553.3%$1.21
Closed-sourceClaude Code + Fable 5.144.4%$3.27
Full suiteClaude Code + Opus 5.575.3%$0.84

Source: JetBrains (open-source, full-suite and top closed-source results); The Register (Claude closed-source results). The other 12 configurations solved 54.3% to 73.7% of the full suite at $0.02 to $3.14 per task.

JetBrains notes that the new suite is harder, so its scores cannot be compared with the first release. A lower number does not mean a model got worse.

Are the agents cheating or remembering?

Probably remembering, and the benchmark cannot yet tell the two apart. Blocking the network stops an agent from looking up a fix while it works. It does not stop a model from recalling a fix it saw in training, because public repositories and their patches may be in the training data. That is why JetBrains added the 30 private tasks.

JetBrains says it will analyze the open-source solutions for signs of contamination and run its Qodana static analysis tool over the patches to check for new bugs, security issues and code smells.

Mark Hinkle, founder of the AIE Network consultancy, told The Register that private code “changes the shortcut” rather than removing it: with no answer to copy, an agent tries to satisfy whatever checks its work.

What it means for US & EU software teams

The benchmark is about Kotlin, but the lesson applies to any team that plans delivery around AI coding agents. Your codebase is private, so the private-task numbers are the ones closer to your reality.

Use public leaderboards as a ceiling

If a vendor quotes a score from public repositories, expect a lower success rate on your own services. In this test the drop at the top was from 86.2% to 60%. Plan reviews, rework and timelines with that margin.

Run a pilot on your own repositories

JetBrains itself tells readers to shortlist configurations from the leaderboard and then validate them on representative tasks from their own projects. A short pilot on 20 to 30 closed tickets from your backlog tells you more about your codebase than a public score can.

Compare cost per solved task, not price per token

On private code, DeepSeek V4.1 Flash through OpenCode solved 58.9% of tasks at $0.08 each, against 60% at $1.74 for the top configuration. For teams running agents at scale, the price of a solved task matters more than the brand of the model.

Keep human review and static analysis in the loop

Passing tests is the only pass mark here. It does not prove the patch is clean or secure, which is why JetBrains plans a Qodana pass. Keep code review, linters and security scans on agent-written changes, especially in regulated FinTech and HealthTech code.

How should a team test a coding agent on its own code?

  1. Pick 20 to 30 recently closed tickets that touched several files, from code that is not public.
  2. Reset each repository to the commit before the fix and hide later history from the agent.
  3. Give every configuration the same time limit and runs. JetBrains used 30 minutes and three runs per task.
  4. Score only patches that pass your existing tests, then review a sample by hand for quality.
  5. Record the cost per solved task and compare it with the engineer time saved.

Frequently asked questions

What is the Kotlin Benchmark?

It is a JetBrains benchmark of real repository-level Kotlin tasks for comparing AI coding agent and model configurations. Version 2.0, published November 23, 2026, has 100 tasks: 70 from open-source GitHub repositories and 30 from private JetBrains projects.

What is reward hacking in AI coding benchmarks?

Reward hacking is when an agent reaches a passing score by a shortcut instead of solving the task, for example by finding a fix that was already published online. JetBrains says it saw agents doing this in preliminary runs and blocked network access for open-source tasks.

Which agent scored best in Kotlin Benchmark 2.0?

Claude Code with Opus 5.5 led the full suite at 75.3% and $0.84 per task. Claude Code with Fable 5.1 led on open-source tasks at 86.2%. Antigravity CLI with Gemini 3.8 Flash led on private tasks at 60%.

Why do agents score lower on private code?

Private code was never online, so models cannot have seen the code or its fixes during training. JetBrains says network limits stop agents from looking up fixes but do not rule out models remembering public fixes, and it plans a contamination analysis.

Can we compare these scores with the first Kotlin Benchmark?

No. JetBrains says version 2.0 uses a different, harder task suite, so a lower score does not mean a model got worse. Compare configurations only within the same benchmark version.

Sources

JetBrains — Kotlin Benchmark 2.0: How AI Coding Agents Handle Harder Tasks and Closed-Source Code (primary source, November 23, 2026)
The Register — JetBrains finds agents may cheat with open source (November 25, 2026)